Moved site to new server now getting error in package.php file

I have moved my old 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 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.


View Replies: View Best Answer
hutman replied on at Permalink Best Answer Reply
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
I had misspelled the user name for this site in the config file. Got it working now. Thanks.