View Full Version : PHP Error when importing from MercuryBoard 1.1.4
mebe
Wed 23rd Aug '06, 2:32pm
Hi,
I'm trying to do an import from MercuryBoard 1.1.4. After clicking 'Being Import' (in the screen where you choose the source board format), I get a PHP error message: "Parse error: syntax error, unexpected ',' in .../impex/systems/mercury/001.php on line 93".
Clean import
Source: MercuryBoard 1.1.4
Target: VBulletin 3.6.0
ImpEx build version: 1.62
PHP error: "Parse error: syntax error, unexpected ',' in .../impex/systems/mercury/001.php on line 93".
PHP version: 5.1.5
Any ideas?
Thanks,
mebe
Steve Machol
Wed 23rd Aug '06, 2:34pm
Parse errors are almost always from bad files. Try reuploading the original Impex file, especially .../impex/systems/mercury/001.php.
mebe
Wed 23rd Aug '06, 3:24pm
I'm not actually uploading the files anywhere. It's a local test install on my workstation. I, however, tried redownloading the ImpEx archive - to no avail: the error message stays the same.
Steve Machol
Wed 23rd Aug '06, 3:25pm
That is the only cause of a parse error I know of. Perhaps Jerry will have another suggestion.
Jerry
Wed 23rd Aug '06, 3:33pm
I've just rebuilt the ImpEx download to ensure its ok, can you download it one more time and give it a go ?
mebe
Wed 23rd Aug '06, 4:00pm
That fixed that problem, thanks. However, now I have a new one:
When starting the first module (001 - Check and update database), the script dies with the following PHP error:
"Warning: require_once(/var/www/forum/impex/systems/NONE/000.php) [function.require-once]: failed to open stream: No such file or directory in /impex/index.php on line 419
Fatal error: require_once() [function.require]: Failed opening required '/var/www/forum/impex/systems/NONE/000.php' (include_path='.:/usr/local/lib/php:/var/www/common/lib') in /var/www/forum/impex/index.php on line 419"
Jerry
Wed 23rd Aug '06, 4:25pm
This comes from hitting refresh on a broken session, or hitting refresh between modules before they have ended properly.
Browse to the page in a new window or delete the session and restart the import.
mebe
Wed 23rd Aug '06, 5:45pm
I tried new window, truncating the sessions and the cpsessions tables and even a completely different browser. I seem to be getting nowhere...
Zachery
Wed 23rd Aug '06, 6:02pm
Impex has its own session table.
Jerry
Wed 23rd Aug '06, 6:08pm
SQL :
DELETE FROM datastore WHERE title = 'ImpExSession';
You may need a table prefix on vb_databastore.
mebe
Wed 23rd Aug '06, 6:30pm
I had accidentally entered 'mysqli' instead of 'mysql' as target database type in the config file. Changing this fixed the problem.
Thank you for all your help!
Powered by vBulletin™ Version 4.0.0 Beta 4 Copyright © 2009 vBulletin Solutions, Inc. All rights