PDA

View Full Version : Help - Drupal to vbDrupal conversion script (Version 3)


koro
11-13-2007, 01:22 AM
I am converting from an existing Drupal 5.3 to vbDrupal 5.3.1; however, everything went fine until the last part of the conversion under vBulletin. The script tells me to "Go back to the Drupal conversion script (Part 1) and complete the "Update user table" step. This step will update the Drupal user table to match their vBulletin counterparts.." However, back in Part 1 of the conversion script under Drupal, there is no line or link that tells you to update user tables. So, I went through the index.php of the conversion script and found out that I am suppose to go to index.php?step=updateusers, but I tried entering that URL, nothing happened - it just brings me back to the home page of the converter index.php.

Here is a screenshot of the conversion index.php page (part 1) - there should be a 8th numbered line with details on updating the user database, but it's missing:

http://www.wowkon.com/public/vbdrupal_import.jpg

Maybe the variable $phase isn't defined in the script? :/ I'm not that great at PHP yet :(

Also to point out some errors in the conversion script...

On Line 369 of index.php, it should say
$output = "<p>Sorry, not implemented yet. Use the sync_users.php script.</p>";
instead of
$output .= "<p>Sorry, not implemented yet. Use the sync_users.php script.</p>";
without a period after $output, otherwise it would not let me run the script in the first place.

Furthermore, I was not able to associate users under the conversion script in vBulletin (part 2) because the drupal_users table was not imported into the vbulletin database - so had to manually export it from the drupal database to the vbulletin database.