Re: Dreaded Premature end of script headers
| From: | Stuart Dallas | Date: | Fri, 26 Aug 2011 13:03:16 +0000 |
| Subject: | Re: Dreaded Premature end of script headers | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-314620@lists.php.net to get a copy of this message | ||
On 26 Aug 2011, at 06:56, tamouse mailing lists wrote:
> I'm encountering this on a script, but I can't figure out where it's
> actually failing. How do I debug this problem???
Make sure you have error_reporting set to E_ALL and display_errors on in your php.ini. A script that
stops unexpectedly is almost certainly due to a fatal error, and if you're not seeing the error
message because either of those settings are not set to display them, you're coding blind!
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/