Re: [PHP] Dreaded Premature end of script headers

2011-08-29 Thread Steve Staples
On Sat, 2011-08-27 at 17:55 -0400, Daniel P. Brown wrote: On Sat, Aug 27, 2011 at 01:01, Jim Lucas li...@cmsws.com wrote: Well, you might have to go about this the long way. I suggest you cut larger sections of code out until you get a working script. Then start putting it back together.

Re: [PHP] Dreaded Premature end of script headers

2011-08-27 Thread Daniel P. Brown
On Sat, Aug 27, 2011 at 01:01, Jim Lucas li...@cmsws.com wrote: Well, you might have to go about this the long way. I suggest you cut larger sections of code out until you get a working script.  Then start putting it back together. If possible, I'd also try running it from the production

Re: [PHP] Dreaded Premature end of script headers

2011-08-26 Thread Stuart Dallas
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

Re: [PHP] Dreaded Premature end of script headers

2011-08-26 Thread John Black
On 26.08.2011 07: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??? What does you log say? Make sure that you turn error reporting on and crank up the info it spits out. I always develop

Re: [PHP] Dreaded Premature end of script headers

2011-08-26 Thread tamouse mailing lists
On Fri, Aug 26, 2011 at 2:17 AM, Кирилл bestestm...@gmail.com wrote: Actually i think you outputing something in script, before you use headers - there are several solutions: 1)make your headers functions at the top of your script 2)if there is no any output - you should look for invisible

Re: [PHP] Dreaded Premature end of script headers

2011-08-26 Thread tamouse mailing lists
On Fri, Aug 26, 2011 at 8:03 AM, Stuart Dallas stu...@3ft9.com wrote: 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

Re: [PHP] Dreaded Premature end of script headers

2011-08-26 Thread tamouse mailing lists
On Fri, Aug 26, 2011 at 8:06 AM, John Black s...@network-technologies.org wrote: On 26.08.2011 07: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??? What does you log say? The log says what

Re: [PHP] Dreaded Premature end of script headers

2011-08-26 Thread Geoff Shang
On Fri, 26 Aug 2011, tamouse mailing lists wrote: The log says what I said: Premature end of script headers filename I put this into Google and got this: http://htmlfixit.com/cgi-tutes/tutorial_Common_Web_dev_error_messages_and_what_they_mean.php#premature As I understand it, the webserver

Re: [PHP] Dreaded Premature end of script headers

2011-08-26 Thread tamouse mailing lists
On Fri, Aug 26, 2011 at 1:42 PM, Geoff Shang ge...@quitelikely.com wrote: I put this into Google and got this: http://htmlfixit.com/cgi-tutes/tutorial_Common_Web_dev_error_messages_and_what_they_mean.php#premature Yeah, I saw that too. I do know the mechanism that is happening. I just can't

Re: [PHP] Dreaded Premature end of script headers

2011-08-26 Thread tamouse mailing lists
On Fri, Aug 26, 2011 at 6:48 PM, tamouse mailing lists tamouse.li...@gmail.com wrote: On Fri, Aug 26, 2011 at 1:42 PM, Geoff Shang ge...@quitelikely.com wrote: I put this into Google and got this:

Re: [PHP] Dreaded Premature end of script headers

2011-08-26 Thread Camilo Sperberg
I had the same problem the other day and it was because a certain index in an array didn't exist, this array was constructed from the db and later i was trying to access this array. So my best guess would be that if it happens only at production and db data is involved, i would definitly think

Re: [PHP] Dreaded Premature end of script headers

2011-08-26 Thread Jim Lucas
On 8/26/2011 4:49 PM, tamouse mailing lists wrote: On Fri, Aug 26, 2011 at 6:48 PM, tamouse mailing lists tamouse.li...@gmail.com wrote: On Fri, Aug 26, 2011 at 1:42 PM, Geoff Shangge...@quitelikely.com wrote: I put this into Google and got this:

[PHP] Dreaded Premature end of script headers

2011-08-25 Thread tamouse mailing lists
I'm encountering this on a script, but I can't figure out where it's actually failing. How do I debug this problem??? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php