Jump to content

Fatal Error


drummaster
 Share

Recommended Posts

New to ProcessWire :)

I have changed servers. Backed up Database and installed it on the new server. Moved all the other files. ProcessWire connects to the database but I get a fatal error. I was hoping someone could help please.

Fatal error: Exception: Table 'domain_domaindb.modules' doesn't exist 
SELECT id, class, flags, data FROM modules ORDER BY class (in /home/domain/public_html/wire/core/Database.php line 118) 
 
 
The full error message;
 
Fatal error: Exception: Table 'domain_domaindb.modules' doesn't exist 
SELECT id, class, flags, data FROM modules ORDER BY class (in /home/domain/public_html/wire/core/Database.php line 118) 
 
#0 /home/domain/public_html/wire/core/Modules.php(167): Database->query('SELECT id, clas...’) 
#1 /home/domain/public_html/wire/core/Modules.php(85): Modules->load('/home/domain/...’) 
#2 /home/domain/public_html/wire/core/ProcessWire.php(99): Modules->__construct('/home/domain/...', '/home/domain/...’) 
#3 /home/domain/public_html/wire/core/ProcessWire.php(45): ProcessWire->load(Object(Config)) 
#4 /home/domain/public_html/index.php(183): ProcessWire->__construct(Object(Config)) 
#5 {main} in /home/domain/public_html/index.php on line 214
 
 
Many Thanks
 
Link to comment
Share on other sites

It looks to me like the database did not successfully transition to the new server. You may want to re-import your database and double check that all the tables are present that were present in the previous environment. Also make sure you've got the right credentials for logging into the database configured at the bottom of your /site/config.php file. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...