Re: No errors gets displayed, just a blank page
| From: | tedd | Date: | Wed, 08 Dec 2010 18:16:11 +0000 |
| Subject: | Re: No errors gets displayed, just a blank page | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-309911@lists.php.net to get a copy of this message | ||
At 2:07 AM +0100 12/8/10, Rico Secada wrote:
Hi. What can cause that no parse error gets displayed (blank page/no output at all) even though error reporting is set to "-1"? I have run the script through php lint on the console and it comes up with no errors. I have run into this problem the last couple of days making debugging a nightmare. Anyone with experience in this behavior? Thanks and best regards RicoRico: You probably have an error. So, start with a blank page that contains echo('aaa'); and see if it runs. If it does, then 'aaa' will be printed. Then start adding your code in small portions and run same until you don't see 'aaa' appear. From there, figure out what portion of your code doesn't work. That is a "sure fire" way to find all errors. Cheers, tedd -- ------- http://sperling.com/