Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

sessions error on page!!


streitdn

Recommended Posts

I keep getting this error on the top of my page... anyone have any solutions??!?!

 

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/pits-inc/public_html/osCommerce/catalog/index.php:2) in /home/pits-inc/public_html/osCommerce/catalog/includes/functions/sessions.php on line 67

 

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/pits-inc/public_html/osCommerce/catalog/index.php:2) in /home/pits-inc/public_html/osCommerce/catalog/includes/functions/sessions.php on line 67

Link to comment
Share on other sites

I am getting similar errors ... Just started a while back

 

I went on my site once day and another oscommerce site was showing on my site. I asked my host about this and they claim it is a sessions error within oscommerce. they said to rename the sessions directory and set chomdding to 777.

Link to comment
Share on other sites

I changed 'force cookie use' to true and now i'm getting this error on top of my page..... the error doesn't appear on the product pages, but it is on the main page and the different category pages.

 

 

Warning: Cannot modify header information - headers already sent by (output started at /home/pits-inc/public_html/osCommerce/catalog/index.php:2) in /home/pits-inc/public_html/osCommerce/catalog/includes/functions/general.php on line 1174

Link to comment
Share on other sites

Usually the headers already sent error is a whitespace issue, you can find more info HERE

 

 

The best place to save your sessions info is in your database especially if you are on a shared server!!

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...