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.