Moved site to new server now getting error in package.php file
Permalink
I have moved my old 5.6.3.4 site to a new server today and I am getting this error.
Fatal error: Call to a member function query() on boolean in /home1/jnbutler/public_html/updates/concrete5.6.3.4/concrete/core/models/package.php on line 66
I have moved another 5.6.3.4 site to the same server and get no problems with it so, what is going on?
I copied the file structure exactly, backedup the database and imported it to the new site, checked the php version, it is 5.6.30.
Any help would be appreciated.
Thanks
Fatal error: Call to a member function query() on boolean in /home1/jnbutler/public_html/updates/concrete5.6.3.4/concrete/core/models/package.php on line 66
I have moved another 5.6.3.4 site to the same server and get no problems with it so, what is going on?
I copied the file structure exactly, backedup the database and imported it to the new site, checked the php version, it is 5.6.30.
Any help would be appreciated.
Thanks

This sounds like it's not able to connect to the database. Did you update the database information in the /config/site.php?
I had misspelled the user name for this site in the config file. Got it working now. Thanks.