I have been getting a lot of blank screens lately when trying to run a PHP script with the slightest error. Firefox shows a blank screen but IE produces "The page cannot be displayed There is a problem with the page you are trying to reach and it cannot be displayed " for the same script.
I determined that OS permission problems on the script itself will cause this issue but so do un-closed braces and missing semi-colons. On my other servers I never got this behavior. I tried re-building my entire server with a new version and distro of Linux but the same thing happens. I also put the following in my code to no avail. :
Only some scripts give the blank screens. Others do not. All help most appreciated.
I determined that OS permission problems on the script itself will cause this issue but so do un-closed braces and missing semi-colons. On my other servers I never got this behavior. I tried re-building my entire server with a new version and distro of Linux but the same thing happens. I also put the following in my code to no avail. :
Code:
error_reporting(E_ALL);
ini_set('display_errors', true);
Only some scripts give the blank screens. Others do not. All help most appreciated.