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

Michael Ward headhoncho at customikesolutions.com
Sat Feb 4 17:11:36 MST 2006


Is there anything _before_ the php eg a <!DOCTYPE  ...> type  
statement on either your checkout2.php page or any of the included  
pages.  This has bit me on a few occasions.

HTH

Regards

Michael Ward
--
Head Honcho
CustoMike Solutions
Filemaker Solutions Alliance Associate
FileMaker 7 Certified
10 Wandoo Crt
Wheelers Hill, 3150
ph 0414 562 501
headhoncho at customikesolutions.com

On 05/02/2006, at 6:50 AM, Derrick Fogle wrote:

> Commenting out the includes statements and everything? That is odd.  
> Oh, it’s the PHP Session that’s trying to send headers, not header 
> (), but… that doesn’t change the problem. Is the checkout1.php page  
> actually being included by some other file? If so, you’ve got to  
> hunt backwards up that stream, too.
>
>
> Derrick Fogle
> fogles.net consulting
>
> 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 11:59 AM
> To: FX.php Discussion List
> Subject: Re: [FX.php List] Error message that has me stumped...
>
>
>
>
>
>
> 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
>
>
>
> _______________________________________________
> 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/20060205/50c250d4/attachment-0001.html


More information about the FX.php_List mailing list