Hey earph.
I suspect that what happened was that your host turned on all warnings and errors at the server level, or you changed error messages in the admin tab? Try turning them off in the CP. If that doesn’t work, the best thing to do for now is contact your host and ask them to disable warnings.
Here is some further changes you could make. Open up system/db/db.mysql.php and find line 610-617
if (function_exists('mysql_escape_string'))
{
return mysql_escape_string(stripslashes($str));
}
else
{
return addslashes(stripslashes($str));
}
Change it to look like this
if (function_exists('mysql_real_escape_string'))
{
return mysql_real_escape_string(stripslashes($str));
}
elseif (function_exists('mysql_escape_string'))
{
return mysql_escape_string(stripslashes($str));
}
else
{
return addslashes(stripslashes($str));
}
Let us know if that helps