Re: [PHP] Re: Dreaded Premature end of script headers

2011-08-26 Thread tamouse mailing lists
On Fri, Aug 26, 2011 at 7:59 AM, Richard Riley wrote: > tamouse mailing lists writes: > >> I'm encountering this on a script, but I can't figure out where it's >> actually failing. How do I debug this problem??? > > Depends on what you mean by "script". By script, I mean php script that runs fro

Re: [PHP] Re: Dreaded Premature end of script headers

2011-08-26 Thread tamouse mailing lists
On Fri, Aug 26, 2011 at 7:41 AM, David Robley wrote: > 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??? > > Look first for unclosed curly braces {} The script passes all syntax checks. > > Y

[PHP] Re: Dreaded Premature end of script headers

2011-08-26 Thread Richard Riley
tamouse mailing lists writes: > I'm encountering this on a script, but I can't figure out where it's > actually failing. How do I debug this problem??? Depends on what you mean by "script". Do a binary search with a php line that says "I got here". -- PHP General Mailing List (http://www.php.

[PHP] Re: Dreaded Premature end of script headers

2011-08-26 Thread David Robley
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??? Look first for unclosed curly braces {} You might find it useful to try an editor that does bracket matching and highlighting as an aid to findin