[FX.php List] Error message that has me stumped...

Bob Patin bob at patin.com
Sat Feb 4 10:59:25 MST 2006


> This could be something as simple as an extra return at the top or  
> bottom of one of your files that’s pulled in with an include()  
> statement before regular HTML output starts.
I looked for that, but didn't find any returns before or after my  
include files (of which there are 2 for this page).
>
> The cart is using header() statements, presumably to send cookies  
> to the browser. There’s something in the code above the header()  
> statements that’s creating output that is sent to the browser. Find  
> the header() statements, and work backwards from there, making sure  
> all the code above it – and included files – aren’t sending any  
> output.
Well, actually, it's not using any header() statements, which is part  
of what is so confusing.

To see if I could find it, I commented out ALL of the PHP code at the  
top of the page, as well as a little bit at the bottom of the page.  
Other than that, the only PHP code left were some ECHO commands  
inside the HTML...

It's so confusing... I'm sure you're right that it's something small  
though.


> From: fx.php_list-bounces at mail.iviking.org [mailto:fx.php_list- 
> bounces at mail.iviking.org] On Behalf Of Bob Patin
> Sent: Saturday, February 04, 2006 9:38 AM
> To: FX.php Discussion List
> Subject: [FX.php List] Error message that has me stumped...
>
>
>
> Hello list,
>
>
>
> I've been trying to squash a bug in a shopping cart and have one  
> last error that has me completely stumped. The error message is below:
>
>
>
> Warning: session_start(): Cannot send session cache limiter -  
> headers already sent (output started at /Library/WebServer/ 
> Documents/newvisions/cart/checkout2.php:1) in /Library/WebServer/ 
> Documents/newvisions/cart/checkout2.php on line 1
>
>
>
> It doesn't keep the page from working; in fact, all part parts of  
> the page work just fine. I can't figure out, though, why I'm seeing  
> this.
>
>
>
> I tried commenting out all of the PHP code, short of a few echo  
> commands inside the HTML code, but haven't been able to suppress  
> the error message. I know about the error_reporting() command,  
> which will hide the error message, but I'd really prefer to find  
> and fix the problem.
>
>
>
> Any help would be greatly appreciated.
>
>
>
> Bob
>
>
>
>
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20060204/e99ccab2/attachment-0001.html


More information about the FX.php_List mailing list