Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warning: session_start():


Cirrus

Recommended Posts

I'm Trying to get my storefront up and running, and i get this error message, how do i fix this? :(

 

The Following message, appears on the front page of my osCommerce Storefront Twice.

 

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/cirrus/public_html/osCommerce/includes/configure.php:49) in /home/cirrus/public_html/osCommerce/includes/functions/sessions.php on line 67

 

Can anyone help me fix this please? :blink:

Link to comment
Share on other sites

This is either caused by whitespace or you require to change the last line in admin and catalog includes/configure.php from

define('STORE_SESSIONS', '');

to

define('STORE_SESSIONS', 'mysql');

 

Header Whitespace

 

download the file osCommerce/includes/configure.php open it and place your cursor after the last ?> then press delete several times, save the file and upload it.

 

Do not use the file manager to edit online as this can cause the whitespace.

 

instead use an ftp program such as ws_ftp to download the file to a local machine and edit then upload using the ftp program

 

If you require more information then Click

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...