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

jnbutler1815
View Replies: View Best Answer
hutman replied on at Permalink Best Answer Reply
hutman
This sounds like it's not able to connect to the database. Did you update the database information in the /config/site.php?
jnbutler1815 replied on at Permalink Reply
jnbutler1815
I had misspelled the user name for this site in the config file. Got it working now. Thanks.