Page 1 of 1

PHP blank page

Posted: Wed Dec 01, 2010 2:22 pm
by getmizanur
elloo,

i have php script that works fine on a dev server however on staging server it is a blank page. i have set 'error_reporting(E_ALL) ' and ini_set('dsiplay_errors', 1) however only information i get is some notices and no fatal errors.

i'm aware that php stops executing if there is a fatal error (and appears as blank screen), is there some sort of directive in 'php.ini' which stop php from executing when there are notices. :banghead:

thanks in advanced

Re: PHP blank page

Posted: Wed Dec 01, 2010 3:34 pm
by Jonah Bron
You should fix the notices.

Re: PHP blank page

Posted: Wed Dec 01, 2010 4:51 pm
by getmizanur
on the command line i executed the php script that was causing the problem and eureka there was a fatal error with a line number.

Code: Select all

user@server$php trouble.php