I’ve been developing a site at Engine Hosting (EE 2.5.3 i believe) and using their temporary URL (http://mysitename.ehclients.com) and all working fine. Yesterday we were ready to go live, and knowing that all the paths needed to be updated in the CP to the real domain, I started going through and updating them. THis is prior to changing the name servers for the real domain to point to Engine Hosting. I guess this was the wrong approach, and I should have done it in the opposite order - because right when I updated the General Configuration to the new domain, all heck broke loose.
I ended up with a white screen for both the site and the CP. Debugging revealed that exp_sites had crashed, so I did a repair in PHPMyAdmin. That worked well, but now I get the dreaded Site Error: Unable to Load Site Preferences; No Preferences Found.
I have checked my index.php, admin.php, database.php and config.php files to make sure they have the correct site url in places where the temp URL was there instead. My system path is correct in all. In config.php, I made sure of these two items:
$config['cp_url'] = 'http://mysite.com/admin.php';
$config['base_url'] = 'http://mysite.com/';Hoping the last one would overwrite any problems I had in not fully updating all the paths. Still, no dice. Same error message.
I don’t know what else to modify. I did a database dump and found that my temp URL is still scattered throughout the file. Wondering if I could manually replace it and upload back to the DB. or do an SQL replace, though a bit nervous to attempt.
I have a support request with EH pending but they are busy, and this is a time-sensitive issue so need help quickly.
Any help appreciated.