Sooo.. I’m trying not to freak out, but… my entire site has gone blank—including the EE CP.This happened as I was uploading a few new image files via FTP.
All my files are still there (I can open image files, and static HTML files, but nothing related to EE), my database tables are all still there. I even used Dreamhost’s “rollback” feature to restore back to an earlier backup from 10 hours prior. This did not change anything.
Googling around suggests it’s a possible PHP/MySQL error (or loop?) somewhere, though I don’t know how to verify or fix this. (Databases aren’t my area of expertise.)
When I set /system/expressionengine/index.php to “$debug = 1” I get the following message on my CP:
Warning: require(/images/captchas/wp-admin.jpg) [function.require]: failed to open stream: No such file or directory in /home/xxxxxxxxxx/luclatulippe.com/system/expressionengine/config/config.php on line 2
Strangely enough, there is a file in /captchas/ named “wp-admin.jpg” but it’s just a broken graphic. Deleting it doesn’t help.
And sure enough, on my /config.php file, the three first lines look like this:
<?
require('/images/captchas/wp-admin.jpg');
?>Deleting this line doesn’t help either. I get further PHP errors via the debug.
When checking the site via shell, any commands related to “mysqladmin” result in:
error: ‘Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)’
Which means I can’t even check to see what MySQL processes are running.
I’m running EE 2.3.1
MySQL: Server version: 5.1.53
Thanks in advance for your help!