Welcome! Log In Create A New Profile

Advanced

error 500 not logged

Posted by dcaillibaud 
error 500 not logged
August 19, 2011 09:26AM
Hi,

I have some error 500 which aren't logged in nginx error_log neither php-fpm error_log, and I don't understand why.

Writing to logs is OK (404 are in the nginx error_log and a parse error is reported in the php-fpm error_log), so...

I've this pb with nginx 1.0.5 from dotdeb and php-fpm 5.3.6 from dotdeb too, on debian squeeze.

I can reproduce the error 500, it's occurs when I send a reply to an old thread (before switching to nginx/php-fpm). Even if I add a

try {
// whole code of punbb post.php
} catch (Exception $e) {
if (!headers_sent()) {
header('Content-Type: text/plain; charset=UTF-8');
}
print('Error !');
var_dump($e);
}

I never go into the catch and the 500 error page is called.
Re: error 500 not logged
August 19, 2011 09:52AM
and adding
catch_workers_output = yes
in the php-fpm pool cong doesn't change anything...
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 185
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready