Advertisement:

Author Topic: Lots of errors  (Read 9337 times)

Offline HunterP

  • Sr. Member
  • ****
  • Posts: 962
  • Gender: Male
  • SMF 2.0.4
    • Hulpverleningsforum Nederland
Lots of errors
« on: April 04, 2011, 08:14:48 AM »

Hi, I'm trying to convert a phpBB3 board to SMF2 but get a lots of errors :

Converting...

Notice: Undefined index: convert_script in /var/www/vhosts/scannerforum.nl/httpdocs/convert.php on line 982
Warning: Invalid argument supplied for foreach() in /var/www/vhosts/scannerforum.nl/httpdocs/convert.php on line 985
Notice: Undefined index: convert_script in /var/www/vhosts/scannerforum.nl/httpdocs/convert.php on line 997
Successful.
Recalculating forum statistics...
Notice: Undefined variable: result in /var/www/vhosts/scannerforum.nl/httpdocs/convert.php on line 2504
Notice: Undefined variable: result in /var/www/vhosts/scannerforum.nl/httpdocs/convert.php on line 2505
Notice: Undefined index: db_fetch_assoc in /var/www/vhosts/scannerforum.nl/httpdocs/convert.php on line 1396
Fatal error: Function name must be a string in /var/www/vhosts/scannerforum.nl/httpdocs/convert.php on line 1396

Offline HunterP

  • Sr. Member
  • ****
  • Posts: 962
  • Gender: Male
  • SMF 2.0.4
    • Hulpverleningsforum Nederland
Re: Lots of errors
« Reply #1 on: April 04, 2011, 08:24:08 AM »

Started convert.php again, now I get :

Converting...
Converting posts...
The database value you're trying to insert does not exist: modified_name

and

Converting...
Converting posts...
Duplicate entry '132654' for key 'PRIMARY'

Offline HunterP

  • Sr. Member
  • ****
  • Posts: 962
  • Gender: Male
  • SMF 2.0.4
    • Hulpverleningsforum Nederland
Re: Lots of errors
« Reply #2 on: April 04, 2011, 09:22:59 AM »

Ok, worked around this by commenting the SQL line regarding this error, but after half an hour converting I get this one :

Converting...

Converting posts...
Successful.
Converting polls... Successful.
Converting poll options... Successful.
Converting poll votes... Successful.
Converting personal messages (step 1)...The database value you're trying to insert does not exist: from_name

This way, it will take ages to convert....

Offline HunterP

  • Sr. Member
  • ****
  • Posts: 962
  • Gender: Male
  • SMF 2.0.4
    • Hulpverleningsforum Nederland
Re: Lots of errors
« Reply #3 on: April 04, 2011, 11:04:07 AM »

Hacked the script on two points and skipped the statistics recount and think it works now.

Offline de buurman

  • Newbie
  • *
  • Posts: 1
Re: Lots of errors
« Reply #4 on: July 01, 2012, 10:05:08 AM »
i have this same problem. wat did you exactly do to fix it?

Offline HunterP

  • Sr. Member
  • ****
  • Posts: 962
  • Gender: Male
  • SMF 2.0.4
    • Hulpverleningsforum Nederland
Re: Lots of errors
« Reply #5 on: July 08, 2012, 05:19:11 AM »
i have this same problem. wat did you exactly do to fix it?

Ha Buurman :)

I just commented out (removed) the lines which caused these errors, but since this is over a year ago, I can't recall which lines :)