Hello all.
I’ve got a site that was functioning correctly for a few weeks, but it just went down and now my site is borked. I suspect that this has something to do with it being on a Windows server, which I’ve never installed EE on until now.
My client was editing the site url in the admin section of the CP (he merely wanted to add ‘www.’ to the domain name), and the site broke after he tried to save the new settings. Usually, this would throw a PHP error, as I keep my config.php file loaded with custom settings and I have the file set to 644 so that it can’t be overwritten by the server. However, the file was overwritten anyway (I guess Windows servers ignore file permissions?) and now the system is broken.
Reimporting my custom config.php settings does nothing. Going to the CP login screen (http://site.com/system/index.php) loads an unstyled version of the login screen, but won’t let me log in and gives me the error “The username you submitted was not found in the database.” A quick jaunt into PHPMyAdmin shows me that the username is indeed in the database, and everything in the DB appears to be just fine.
I’m using EE 1.6.9 build 20100415 on a Windows server running PHP 5.2.6 and MySQL 5.0.51b. Any help would be greatly appreciated!