MyBB Community Forums

Full Version: Cannot locate themes table, name duplicated
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Running 1.6.8 (I believe), and suddenly the forum is not working...

Getting the following odd message...

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:1146 - Table 'smoms10.smomsbb_smomsbb_themes' doesn't existQuery:

SELECT name, tid, themebits, csscached FROM smomsbb_smomsbb_themes WHERE def='1'

Now, there is a smomsbb_themes table, not a smomsbb_smomsbb_themes (not sure why the prefix is duplicated).

In addition, that themes table does not have a column called themebits or csscached...

Also, looked at backups, there is no table by that name (with the double prefix).

Any ideas?  This is fairly important, and your expert advise is greatly appreciated.

This is resolved.

A 1.2 version of global.php was copied to the directory. The host was migrating me to new server, and they missed some files. So, since it is a shared server, they grabbed the wrong files to replace the missing files.

I had a mixture of 1.2 and 1.6 files... I did a full restore and all is good