Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter breilly00

    (@breilly00)

    Actually that didn’t work. For a moment, I had no error messages but they re-appeared right away.

    Thread Starter breilly00

    (@breilly00)

    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
    Member

    I 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 off

    The 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.

    Thread Starter breilly00

    (@breilly00)

    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.

Viewing 3 replies - 1 through 3 (of 3 total)