Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

errors


Guest

Recommended Posts

I had tried to install the header mod, but knew I was in over my head. I then removed the files I added and the changes to the tables I made. I only got up to that, and didn't actually modify any files as the 3 step for that installation instructed.

 

Now...in my cart I am getting these errors, and would like to know how to correct the situation:

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/j4t/public_html/shop/catalog/includes/configure.php:42) in /home/j4t/public_html/shop/catalog/includes/functions/sessions.php on line 67

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/j4t/public_html/shop/catalog/includes/configure.php:42) in /home/j4t/public_html/shop/catalog/includes/functions/sessions.php on line 67

 

Warning: Cannot modify header information - headers already sent by (output started at /home/j4t/public_html/shop/catalog/includes/configure.php:42) in /home/j4t/public_html/shop/catalog/includes/functions/general.php on line 29

Link to comment
Share on other sites

Ok,

 

Go into both:

catalog/includes/configure.php

admin/includes/configure.php

and edit this line:

From:

  define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

to this:

  define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

Steve

-------------------------

Link to comment
Share on other sites

Well then you have white spaces in some of your files, this is common if you are using a non programming or non html editor. Check all the file in the error message and make sure there is no white spaces after the ?> at the bottom of the page.

Steve

-------------------------

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...