Advertisement:
NameCheap

Author Topic: Converting from IPB 1.3 to SMF 2.0 RC3  (Read 7381 times)

Offline Goss

  • Jr. Member
  • **
  • Posts: 143
Converting from IPB 1.3 to SMF 2.0 RC3
« on: November 08, 2010, 01:33:41 AM »
Technically my forum is on RC4 at the moment, but the RC3 converter seems to be getting me farther along than the RC4 one. 

So far, the conversion has gone well.  I had an error with the polls but as was suggested in another thread I read, I just removed those lines from the invision_to_smf.sql file.  Now, however, I'm having an issue with permissions.

I'm getting the following errors:
Quote
Converting posts (this may take some time)...
Successful.
Converting personal messages (step 1)... Successful.
Converting personal messages (step 2)... Successful.
Converting topic notifications... Successful.
Converting board notifications... Successful.
Converting moderators... Successful.
Converting permissions...
Notice: Use of undefined constant id_group - assumed 'id_group' in /home/gossamer22/markedrp.com/forum/convert.php(1099) : eval()'d code on line 46

Notice: Use of undefined constant id_group - assumed 'id_group' in /home/gossamer22/markedrp.com/forum/convert.php(1099) : eval()'d code on line 46

Notice: Use of undefined constant id_group - assumed 'id_group' in /home/gossamer22/markedrp.com/forum/convert.php(1099) : eval()'d code on line 46

Notice: Use of undefined constant id_group - assumed 'id_group' in /home/gossamer22/markedrp.com/forum/convert.php(1099) : eval()'d code on line 46

Notice: Use of undefined constant id_group - assumed 'id_group' in /home/gossamer22/markedrp.com/forum/convert.php(1099) : eval()'d code on line 46

Notice: Use of undefined constant id_group - assumed 'id_group' in /home/gossamer22/markedrp.com/forum/convert.php(1099) : eval()'d code on line 46

Notice: Use of undefined constant id_group - assumed 'id_group' in /home/gossamer22/markedrp.com/forum/convert.php(1099) : eval()'d code on line 46

Notice: Use of undefined constant id_group - assumed 'id_group' in /home/gossamer22/markedrp.com/forum/convert.php(1099) : eval()'d code on line 46

Notice: Use of undefined constant id_group - assumed 'id_group' in /home/gossamer22/markedrp.com/forum/convert.php(1099) : eval()'d code on line 46
Successful.
Converting board permissions...Unknown column 'id_board' in 'field list'

Any ideas?

Offline Goss

  • Jr. Member
  • **
  • Posts: 143
Re: Converting from IPB 1.3 to SMF 2.0 RC3
« Reply #1 on: November 08, 2010, 10:20:12 AM »
So, I ended up switching back to the RC4 converter.  I had an error before with member birthdays, but I fixed that by adding this to the invision_to_smf.sql that I found referenced in another thread:
Code: [Select]
   IF ( (bday_year = 0 OR bday_year IS NULL) AND bday_month != 0 AND bday_day != 0,
      CONCAT('0004-', bday_month, '-', bday_day),
      CONCAT_WS('-',
         IF(bday_year <= 4 OR bday_year IS NULL, '0001', bday_year),
         IF(bday_month = 0 OR bday_month IS NULL, '01', bday_month),
         IF(bday_day = 0 OR bday_day IS NULL, '01', bday_day)
    )
   ) AS birthdate,

However, I still have the same issue as before.  I had to remove the poll sections entirely and now it gets stuck on board permissions as follows:
Quote
Converting permissions...
Notice: Use of undefined constant id_group - assumed 'id_group' in /home/gossamer22/markedrp.com/forum/convert.php(1101) : eval()'d code on line 46

Notice: Use of undefined constant id_group - assumed 'id_group' in /home/gossamer22/markedrp.com/forum/convert.php(1101) : eval()'d code on line 46

Notice: Use of undefined constant id_group - assumed 'id_group' in /home/gossamer22/markedrp.com/forum/convert.php(1101) : eval()'d code on line 46

Notice: Use of undefined constant id_group - assumed 'id_group' in /home/gossamer22/markedrp.com/forum/convert.php(1101) : eval()'d code on line 46

Notice: Use of undefined constant id_group - assumed 'id_group' in /home/gossamer22/markedrp.com/forum/convert.php(1101) : eval()'d code on line 46

Notice: Use of undefined constant id_group - assumed 'id_group' in /home/gossamer22/markedrp.com/forum/convert.php(1101) : eval()'d code on line 46

Notice: Use of undefined constant id_group - assumed 'id_group' in /home/gossamer22/markedrp.com/forum/convert.php(1101) : eval()'d code on line 46

Notice: Use of undefined constant id_group - assumed 'id_group' in /home/gossamer22/markedrp.com/forum/convert.php(1101) : eval()'d code on line 46

Notice: Use of undefined constant id_group - assumed 'id_group' in /home/gossamer22/markedrp.com/forum/convert.php(1101) : eval()'d code on line 46
Successful.
Converting board permissions...Unknown column 'id_board' in 'field list'

Offline maku

  • Newbie
  • *
  • Posts: 1
Re: Converting from IPB 1.3 to SMF 2.0 RC3
« Reply #2 on: May 01, 2012, 08:57:57 AM »
Has this ever been solved? I'm currently trying to convert an old IPB 1.3 to SMF 2.0.2 using the "Invision to SMF 2-0 Converter" and am having the same issues

Quote
Converting members... Successful.
Converting categories... Successful.
Converting boards... Successful.
Converting topics... Successful.
Converting posts (this may take some time)... Successful.
Converting polls... Successful.
Converting poll options...
Notice: Undefined index: question in /home/www/smf/convert.php(1254) : eval()'d code on line 11

Notice: Undefined index: choice in /home/www/smf/convert.php(1254) : eval()'d code on line 17

Warning: Invalid argument supplied for foreach() in /home/www/smf/convert.php(1254) : eval()'d code on line 17

Notice: Undefined index: question in /home/www/smf/convert.php(1254) : eval()'d code on line 11

Notice: Undefined index: choice in /home/www/smf/convert.php(1254) : eval()'d code on line 17

Warning: Invalid argument supplied for foreach() in /home/www/smf/convert.php(1254) : eval()'d code on line 17

Notice: Undefined index: question in /home/www/smf/convert.php(1254) : eval()'d code on line 11

Notice: Undefined index: choice in /home/www/smf/convert.php(1254) : eval()'d code on line 17

Warning: Invalid argument supplied for foreach() in /home/www/smf/convert.php(1254) : eval()'d code on line 17

Notice: Undefined index: question in /home/www/smf/convert.php(1254) : eval()'d code on line 11

Notice: Undefined index: choice in /home/www/smf/convert.php(1254) : eval()'d code on line 17

Warning: Invalid argument supplied for foreach() in /home/www/smf/convert.php(1254) : eval()'d code on line 17

Notice: Undefined index: question in /home/www/smf/convert.php(1254) : eval()'d code on line 11

Notice: Undefined index: choice in /home/www/smf/convert.php(1254) : eval()'d code on line 17

Warning: Invalid argument supplied for foreach() in /home/www/smf/convert.php(1254) : eval()'d code on line 17

Notice: Undefined index: question in /home/www/smf/convert.php(1254) : eval()'d code on line 11

Notice: Undefined index: choice in /home/www/smf/convert.php(1254) : eval()'d code on line 17

Warning: Invalid argument supplied for foreach() in /home/www/smf/convert.php(1254) : eval()'d code on line 17

Notice: Undefined index: question in /home/www/smf/convert.php(1254) : eval()'d code on line 11

Notice: Undefined index: choice in /home/www/smf/convert.php(1254) : eval()'d code on line 17

Warning: Invalid argument supplied for foreach() in /home/www/smf/convert.php(1254) : eval()'d code on line 17

Notice: Undefined index: question in /home/www/smf/convert.php(1254) : eval()'d code on line 11

Notice: Undefined index: choice in /home/www/smf/convert.php(1254) : eval()'d code on line 17

Warning: Invalid argument supplied for foreach() in /home/www/smf/convert.php(1254) : eval()'d code on line 17
Successful.
Converting poll logs... Successful.
Converting personal messages (step 1)... Successful.
Converting personal messages (step 2)... Successful.
Converting topic notifications... Successful.
Converting board notifications... Successful.
Converting moderators... Successful.
Converting permissions...
Notice: Use of undefined constant id_group - assumed 'id_group' in /home/www/smf/convert.php(1091) : eval()'d code on line 46
Successful.
Converting board permissions...Unknown column 'id_board' in 'field list'

Thanks in advance