breilly00
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Can I supress MySQL error messages?Actually that didn’t work. For a moment, I had no error messages but they re-appeared right away.
Forum: Fixing WordPress
In reply to: Can I supress MySQL error messages?I found the answer to my question if anyone else runs into this. Here is one way to hide the error messages. I am using this temporarily while I wait for my host to repair themselves:
from niziol
MemberI use the following code in my .htaccess file to suppress the error messages and log those errors to the server log instead:
php_flag log_errors on
php_flag display_errors offThe only downside is that the visitor will get a blank white page if there is a fatal error. I believe your host does need to allow .htaccess settings to over-ride the php.ini values for this to work, you can also add add/change similar values in the ini file to achieve the same results.
Good luck,
Michael.Forum: Fixing WordPress
In reply to: Can I supress MySQL error messages?Yes, I think finding a new host is a good idea, but I think the one I have is having bigger issues right now than fixing my database problems — I think they got hacked this week and their own site is down. I’m hoping they will resolve that soon. If not, I’ll go someplace else.