[FX.php List] Sudden errors in a shopping cart
Laura Long
laural at ultimate-products.com
Sat Jan 21 06:58:16 MST 2006
Here is some info I found, don't know if you will find this helpful or
not...
"Headers already sent" is a generic whine produced by PHP to indicate
that:
1. you are doing something that needs to send headers to the browsers
2. headers have already been sent
Session functions try to send out headers.
You need to do the session variable stuff before PHP has sent anything
to the user.
Please note that PHP can send output in non-obvious ways.
Watch for extra carriage returns at the top and bottom of
your include files.
And
Lots of info here...
http://us3.php.net/session_start
Laura Long
Database/Web Designer
-----Original Message-----
From: fx.php_list-bounces at mail.iviking.org
[mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Bob Patin
Sent: Friday, January 20, 2006 11:51 PM
To: FX.php Discussion List
Subject: [FX.php List] Sudden errors in a shopping cart
I'm seeing a strange error in a cart that I'm using, which was
previously working perfectly.
Here are the errors I see:
<b>Warning</b>: session_start(): Cannot send session cache limiter -
headers already sent (output started at /Library/WebServer/Documents/
newmagic/cart/checkout2.php:1) in <b>/Library/WebServer/Documents/
newmagic/cart/checkout2.php</b> on line <b>1</b><br />
<br />
<b>Warning</b>: Cannot use a scalar value as an array in <b>/Library/
WebServer/Documents/newmagic/cart/checkout2.php</b> on line <b>16</
b><br />
I have other PHP-based sites working just fine; however, this one is
now showing these errors...
I tried echoing the error code, but it shows a zero.
I'd appreciate any help.
Bob Patin
Longterm Solutions
bob at longtermsolutions.com
615-834-5264
http://www.longtermsolutions.com
CONTACT US VIA SKYPE:
USERNAME: longtermsolutions
CONTACT US VIA INSTANT MESSAGING:
AIM or iChat: longterm1954
Yahoo: longterm_solutions
MSN: bob at patin.com
ICQ: 159333060
_______________________________________________
FX.php_List mailing list
FX.php_List at mail.iviking.org
http://www.iviking.org/mailman/listinfo/fx.php_list
More information about the FX.php_List
mailing list