MyBB Community Forums
MyBB Error (42) after moving to new host - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: MyBB Error (42) after moving to new host (/thread-168774.html)



MyBB Error (42) after moving to new host - armin3000 - 2015-03-22

I've moved my working forum to new host (VPS) and now I'm getting this error.
Error Type:MyBB Error (42)Error Message:Your board has not yet been upgraded. Please do so before attempting to browse it.

Things I do for migrating to new host:
- Backed up files in zip format
- backup database using phpmyadmin>Export
- moved zip file to new host and extract it
- restored db in phpmyadmin (Import)
- changed database settings in inc\config.php

I was using 1.8.3 and I'm sure it's not related to upgrad. I also upgraded once and run upgrader successfuly but error remaind, so I cleared everything and restored backed up files and database again.
It's very important for me. please help me to solve this issue.
forum url: forums.svus.ir


RE: MyBB Error (42) after moving to new host - .m. - 2015-03-22

files version and the database version are not matching!
if install folder exists then delete lock file from it & try running upgrade script


RE: MyBB Error (42) after moving to new host - armin3000 - 2015-03-23

(2015-03-22, 11:27 AM).m. Wrote: files version and the database version are not matching!
if install folder exists then delete lock file from it & try running upgrade script

I just copied files and database from a working site! Only host has been changed. As I described I've also tried upgrade from 1.8.3 to 1.8.4, the upgrade procedure completes successfully but the error remains when I want to log in to panel or opening the site.

How can I repair database? Is there any special tips in backing up database in phpmyadmin?! is it possible that it's related to files permission?!


RE: MyBB Error (42) after moving to new host - Matt - 2015-03-23

Is your ./inc/config.php set up correctly? This will happen if this file doesn't exist or is empty.


RE: MyBB Error (42) after moving to new host - armin3000 - 2015-03-24

Fixed! I was restoring wrong database from an older backup. Thanks for your help Wink