Overriding apache error log

Status
Not open for further replies.

MOH

New Member
I'm trying to track down an issue with a PHP 'white screen of death', which isn't generating any visible log entries.
I'm guessing it's either a permissions or memory issue.

I'm on shared hosting, with no shell access.

I've overridden the php error log in .htaccess, and confirmed with phpinfo that it's working, but getting nothing there.
There's nothing showing up in any of the Magento logs.

I do have access to a couple of logs covering the entire webspace, but not sure if they're showing everything.

Is there any way of overriding the apache error log from within .htaccess?
 

mneylon

Administrator
Staff member
You might want more verbose logging / errors in your PHP .. Not sure if you can do that via a .htaccess or not, but it might be worth looking into
 

php.allstar

New Member
Hi,

Add this to your index.php file:

PHP:
ini_set('display_errors', 1); 
 error_reporting(E_ALL);

Then refresh the page. You should now see the error message.
 

MOH

New Member
Thanks guys, already had error reporting set to the max, eventually tracked it down to a line that was @suppressing the error. :livid:
 
Status
Not open for further replies.
Top