I am using EE 2.1.3 within the MSM. I have a number of other sites already setup on this MSM and not having any problems. I tried to add a new site and got the "Unable to load site preferences" message.
I verfied that config.php, database.php for the MSM are set to 777, cleared the cache for the site and still got the error. So, for this sites' index.php file I made $debug = 1; Now it is showing:
A PHP Error was encountered Severity: 8192 Message: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. Filename: mysql/mysql_driver.php Line Number: 303 A PHP Error was encountered Severity: Warning Message: Cannot modify header information - headers already sent by (output started at /home/techmark/webapps/_system_ee2msm/.system/codeigniter/system/core/Exceptions.php:170) Filename: core/Common.php Line Number: 405 A Database Error Occurred Unable to connect to your database server using the provided settings. Filename: core/EE_Config.php Line Number: 176
Any idea how to fix this? Like I said earlier all of the other sites on this MSM are working correctly.
Here is the site: http://friendsunday.outreachcs.com/