The Issue :
Errors in a php script cause white pages, no traces are found in the logs nor anywhere
The Story (debug steps) :
I’m supposed to debug an outdated project, but it seems accessing any page would cause a blank/white page, no errors issued, and nothing in the apache error logs.
Most of the code I reviewed line by line can never cause such an issue (no syntax errors and no invalid variables or such).
I’ve removed ‘@’ (used to disallow showing errors/debug info if an issue occurs to the function call) before function calls, installed an error_handler, checked if .htaccess is disallowing the view of the errors, enabled error reporting in both my php code and php.ini, yet nothing appears in the Apache nor PHP error logs.
The Solution :
Can be Found Here.
Best Regards !
Solution :
The issue was caused by an outdated OpenID api library, still the reason why the script did not output errors nor log them is still unknown, I highly suspect deprecated functions and such.