Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warning message on Shopping cart


roxynay

Recommended Posts

Please help.. I am getting this message on the top of my shopping cart page...

 

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/content/n/a/y/nayetal/html/store/shopping_cart.php:1) in /home/content/n/a/y/nayetal/html/store/includes/functions/sessions.php on line 102

 

I already restore a back up so i dont know why it appears.

 

Thanks,

Link to comment
Share on other sites

Search is your friend: http://www.oscommerce.com/forums/topic/350012-error-in-all-page-submits/page__gopid__1467801entry1467801

 

Your error message tells you that output started on line 1 of file "shopping_cart.php". Most likely there are one or more blank characters or lines before the opening <?php. There's also a chance that you'll discover that a hacker has inserted a line of code there. If in doubt, copy (cut and paste) the first two or three lines of the file here in your next post.

Link to comment
Share on other sites

Please help.. I am getting this message on the top of my shopping cart page...

 

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/content/n/a/y/nayetal/html/store/shopping_cart.php:1) in /home/content/n/a/y/nayetal/html/store/includes/functions/sessions.php on line 102

 

I already restore a back up so i dont know why it appears.

 

Thanks,

Headers Already Sent

 

Click the link above for an explanation.

 

The problem is in /store/shopping_cart.php (line 1)

 

The opening PHP tag:

 

<?php

MUST be at the very beginning of the file, no blank lines,spaces, or other characters (seen or unseen) preceding it.

 

Another possibile cause for the error:

 

click me

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Thanks Phil, I fixed the problem.. I just couldnt find searching for it. Trust me I have been looking for 2 days on another issue I have on how to make my cart update and remove existing items with no luck :( its just driving me nuts.

 

Thanks for your response

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...