-
☆ A M B ☆
- 24,524 Posts
I'm getting a stupid warning about the MySQL client mismatch, and the hosting tech support isn't going to do anything about it. I've got this in index.php as well as in the config.inc.php file
error_reporting(E_ALL & ~E_NOTICE);
I can't seem to find the right way to add E_WARNING to the exclusion. I can do
but I don't want to disable all error reporting, just get rid of the client mismatch error.
Try something like this:
error_reporting(E_ALL & ~(E_STRICT|E_NOTICE|E_WARNING|E_DEPRECATED));
-
☆ A M B ☆
- 24,524 Posts
Seems to work for the Manager, no error there with that. But the front-end still throws the big, ugly error. I was able to stop that by adding @ to the line making the actual connection (this is with Evo 1.0.12) in the dbapi.mysql.class.inc.php file but I really don't like hacking into the core like that.
if($persist!=0) $this->conn = @mysql_pconnect($host, $uid, $pwd);
else $this->conn = @mysql_connect($host, $uid, $pwd, true);