PLEASE HELP - Unable to connect to database.-

Permalink
I recently migrated from one hosting plan to another- godaddy neglected to have me backup my databases - I should have been paying more attention. They did a full restore. I was told all I needed to do was change my username and password in the site.php file but umm, that's not working. And they say we're able to connect to your DB just fine- this is not our fault. PLEASE PLEASE PLEASE HELP!

Catchable fatal error: Argument 1 passed to ConfigStore::__construct() must be an instance of Database, null given, called in /home/content/18/11158418/html/doughertysrestaurant.com/concrete/models/config.php on line 48 and defined in /home/content/18/11158418/html/doughertysrestaurant.com/concrete/models/config.php on line 136

 
JohntheFish replied on at Permalink Reply
JohntheFish
When moving a site the other things that may need to change in config/site are the MySQL server name and the databases name. Maybe that also applies here.
aklsuave02 replied on at Permalink Reply
No dice. Can you help?

Edward Medor
President / Founder
ZipZooms, LLC
303.356.9841
Edward@zipzooms.com
JohntheFish replied on at Permalink Reply
JohntheFish
Is the core c5 version the version you originally installed, or have you upgraded at any point?

If so:

- Does the last line of config/site point to the correct upgrade?

- How old was the database backup that godaddy restored for you? Could it be a version of the site from before you upgraded?
ronyDdeveloper replied on at Permalink Reply
ronyDdeveloper