Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Getting error code, Cannot send session cookie


Guest

Recommended Posts

I previously had cookie protection on several pages of this site. I no longer want the password protection on there, and set about removing code. I removed the files for this contribution, removed the line of code on each page that forced it to the password page: <? include("protection.php");?>

 

Now each of the pages is giving the error codes below:

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/alphabet/wwwroot/alphabetangel.com/oscom/catalog/bet.php:2) in /home/alphabet/wwwroot/alphabetangel.com/oscom/catalog/includes/functions/sessions.php on line 67

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/alphabet/wwwroot/alphabetangel.com/oscom/catalog/bet.php:2) in /home/alphabet/wwwroot/alphabetangel.com/oscom/catalog/includes/functions/sessions.php on line 67

 

and these are lines 66-68 of sessions.php:

function tep_session_start() {
  	 return session_start();
	 }

 

Any suggestions? :(

THank you for your time and energy.

Jenn

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...