SMF Support > vBulletin

Converting from VBulletin, but receiving errors

<< < (2/3) > >>

MrMike:
For what it's worth, I tried the remedy in this post:

http://www.simplemachines.org/community/index.php?topic=346739.msg2347260#msg2347260

I created an "includes" directory and placed the 'config.php' file in it, then ran the converter. I got a page full of these errors (the actual domain has been replaced by 'xxxxxxxxxx'):


--- Code: ---Notice: Undefined index: convert_script in /var/www/virtual/xxxxxxxxxxx.com/htdocs/convert.php on line 822

Warning: Invalid argument supplied for foreach() in /var/www/virtual/xxxxxxxxxxx.com/htdocs/convert.php on line 825

Notice: Undefined index: convert_script in /var/www/virtual/xxxxxxxxxxx.com/htdocs/convert.php on line 837

Notice: Undefined index: convert_script in /var/www/virtual/xxxxxxxxxxx.com/htdocs/convert.php on line 733
Successful.
Recalculating forum statistics...
Notice: Undefined variable: result in /var/www/virtual/xxxxxxxxxxx.com/htdocs/convert.php on line 2257

Notice: Undefined variable: result in /var/www/virtual/xxxxxxxxxxx.com/htdocs/convert.php on line 2258

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/virtual/xxxxxxxxxxx.com/htdocs/convert.php on line 1223

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /var/www/virtual/xxxxxxxxxxx.com/htdocs/convert.php on line 1233

Notice: Undefined variable: result in /var/www/virtual/xxxxxxxxxxx.com/htdocs/convert.php on line 2257

Notice: Undefined variable: result in /var/www/virtual/xxxxxxxxxxx.com/htdocs/convert.php on line 2258

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/virtual/xxxxxxxxxxx.com/htdocs/convert.php on line 1241

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /var/www/virtual/xxxxxxxxxxx.com/htdocs/convert.php on line 1251

Notice: Undefined variable: result in /var/www/virtual/xxxxxxxxxxx.com/htdocs/convert.php on line 2257

Notice: Undefined variable: result in /var/www/virtual/xxxxxxxxxxx.com/htdocs/convert.php on line 2258

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/virtual/xxxxxxxxxxx.com/htdocs/convert.php on line 1264

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /var/www/virtual/xxxxxxxxxxx.com/htdocs/convert.php on line 1277

Notice: Undefined variable: result in /var/www/virtual/xxxxxxxxxxx.com/htdocs/convert.php on line 2257

Notice: Undefined variable: result in /var/www/virtual/xxxxxxxxxxx.com/htdocs/convert.php on line 2258

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/virtual/xxxxxxxxxxx.com/htdocs/convert.php on line 1323

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /var/www/virtual/xxxxxxxxxxx.com/htdocs/convert.php on line 1325

Notice: Undefined variable: result in /var/www/virtual/xxxxxxxxxxx.com/htdocs/convert.php on line 2257

Notice: Undefined variable: result in /var/www/virtual/xxxxxxxxxxx.com/htdocs/convert.php on line 2258

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/virtual/xxxxxxxxxxx.com/htdocs/convert.php on line 1331

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /var/www/virtual/xxxxxxxxxxx.com/htdocs/convert.php on line 1337

Notice: Undefined variable: result in /var/www/virtual/xxxxxxxxxxx.com/htdocs/convert.php on line 2257

Notice: Undefined variable: result in /var/www/virtual/xxxxxxxxxxx.com/htdocs/convert.php on line 2258

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/virtual/xxxxxxxxxxx.com/htdocs/convert.php on line 1348

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /var/www/virtual/xxxxxxxxxxx.com/htdocs/convert.php on line 1349

Notice: Undefined variable: result in /var/www/virtual/xxxxxxxxxxx.com/htdocs/convert.php on line 2257

Notice: Undefined variable: result in /var/www/virtual/xxxxxxxxxxx.com/htdocs/convert.php on line 2258

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /var/www/virtual/xxxxxxxxxxx.com/htdocs/convert.php on line 1357

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /var/www/virtual/xxxxxxxxxxx.com/htdocs/convert.php on line 1359

Notice: Undefined variable: result in /var/www/virtual/xxxxxxxxxxx.com/htdocs/convert.php on line 2257

Notice: Undefined variable: result in /var/www/virtual/xxxxxxxxxxx.com/htdocs/convert.php on line 2258

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/virtual/xxxxxxxxxxx.com/htdocs/convert.php on line 1365

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /var/www/virtual/xxxxxxxxxxx.com/htdocs/convert.php on line 1366
--- End code ---

Any ideas on what to try next? It seems like progress, but why it would throw all these errors is beyond me...

MrMike:
After some more moving around of the config file, I'm now getting this at the very top of the converter:

Notice:  Undefined variable: dbname in /var/www/virtual/xxxxxxxxxx.com/htdocs/convert.php(407) : eval()'d code on line 1
 
 Notice:  Undefined variable: tableprefix in /var/www/virtual/xxxxxxxxxx.com/htdocs/convert.php(407) : eval()'d code on line 1

And then this:

----------------------------------
Sorry, the database connection information used in the specified installation of SMF cannot access the installation of vBulletin 3.  This may either mean that the installation doesn't exist, or that the MySQL account used does not have permissions to access it.

The error MySQL gave was: Incorrect database name ''
----------------------------------

Now, I know the database name and password are correct (they work for SMF and it's the same database). The VB database has been successfully imported into the same database that SMF is using, and I see the tables there.

Is the converter having trouble reading the VB config.php file, and if so, where can I just hard-code these values into the convert.php file?

Dose the converter need any of the VB files besides the config.php file?

Antes:
I dont think Converter needs another files.

MrMike:
I'm making some headway on this...I got the converter running at least, and I'll document everything I had to do when I'm done.

However, it's not converting all of the posts from VBulletin.

For example, in one board in the VB forum there are 7,741 threads and 22,995 topics.
When the converter finishes I end up with 3975 posts (threads) and 1515 Topics.

Original VBulletin counts: Threads: 89,620, Posts: 289,685,
After conversion to SMF: 12268 Topics, Posts: 45860 

Some of the converted forums are completely empty, others have some posts in them, but never the full count. (??)

Is this a known problem, or is there something else going on? I'd love some assistance with this and would be willing to give login & FTP info to any SMF staff member(s) who may be able to resolve this.

 I'd hate to have to give up and run this as a VBulletin forum- it's a reasonably large gaming site, PR5, with about 90,000 posts and an active community. Am I destined to run this as a VBulletin forum, or can someone help me to convert this?

Antes:
if you trust me , sent your db to me via PM.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version