Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 1680

[3.3.x] Convertors • Re: [SPLIT] Convert MyBB to phpBB?

$
0
0
Where I am at presently:
  • Created a new Virtual Machine (VM).
  • Installed Debian using the unattended install.
  • Installed php5.6 (had to separately install php5.6-xml as well).
  • Installed MyBB 1.8.37.
  • Installed phpBB 3.1.
  • Installed the mybb -> phpbb converter 1.0.2: viewtopic.php?f=486&t=2278541
  • Backed up my live MyBB forum. Transferred the backup to my VM.
  • Had to manually delete the MyBB database tables one by one. I could have scripted it, but by the time I would have that done I could have just deleted them. This was manually done because phpmyadmin is not fond of php5.6, and every time I try running multiple versions of php I run into errors. So I am trying to do this incrementally.
  • Manually imported the MyBB backup database into my VM MyBB database.
  • Logged into one of the MyBB Admin accounts and set the theme to some basic theme. (This is because when I deleted everything and imported the backup database the theme was off so all css references failed meaning a basic text and broken formatted forum. Setting the theme fixed this.)
  • Based on this thread, I commented out the users.aim line in the convert_mybb18.php file: viewtopic.php?t=2527116
  • From the phpBB install page, clicked the convert tab, and began the conversion, until I ran into this error:

Code:

General ErrorSQL ERROR [ mysqli ]Unknown column 'users.yahoo' in 'field list' [1054]SQLSELECT users.uid, users.website, users.yahoo, users.icq, users.skype, userfields.fid1 FROM mybb_users users LEFT JOIN mybb_userfields AS userfields ON (users.uid = userfields.ufid) ORDER BY users.uid LIMIT 2000BACKTRACEFILE: (not given by php)LINE: (not given by php)CALL: msg_handler()FILE: [ROOT]/phpbb/db/driver/driver.phpLINE: 855CALL: trigger_error()FILE: [ROOT]/phpbb/db/driver/mysqli.phpLINE: 193CALL: phpbb\db\driver\driver->sql_error()FILE: [ROOT]/phpbb/db/driver/mysql_base.phpLINE: 45CALL: phpbb\db\driver\mysqli->sql_query()FILE: [ROOT]/phpbb/db/driver/driver.phpLINE: 261CALL: phpbb\db\driver\mysql_base->_sql_query_limit()FILE: [ROOT]/install/install_convert.phpLINE: 1263CALL: phpbb\db\driver\driver->sql_query_limit()FILE: [ROOT]/install/install_convert.phpLINE: 214CALL: install_convert->convert_data()FILE: [ROOT]/install/index.phpLINE: 409CALL: install_convert->main()FILE: [ROOT]/install/index.phpLINE: 289CALL: module->load()
This looks similar to the users.aim error mentioned here: viewtopic.php?t=2527116
  • I commented out the users.yahoo line, just as I had commented out the users.aim line.
  • This worked!
I now have a phpBB 3.1 instance of my forum up. I do not have any forums or such visible yet, but I can see them in there when in the ACP. I will have to tinker with phpBB a bit to get the forums and posts visible, then I will upgrade 3.1 to 3.2 to 3.x.

Thank you for any assistance you may have provided. If someone finds this thread in the future I hope it is helpful. I did not break my steps down by showing keystrokes, but the bullet list in this post alone should suffice to get you through the conversion.

Statistics: Posted by Times Enemy — Wed Feb 14, 2024 2:51 pm



Viewing all articles
Browse latest Browse all 1680

Trending Articles