Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

After New Install, Get "cannot Send Session Cookie" Etc In Admin


moxcord

Recommended Posts

Hello all,

I recently did a new store with OsCommerce and due to it not wanting to save the configuration each time I manually edited the configure.php files with the settings. Everything seems to be working alright except when I go into the admin section I get these errors:

 

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

 

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

 

I can however log into the admin panel with my htpasswd set and everything, and it gives me even more errors when I am trying to change anything there. I'm assuming its something not quite right in my /catalog/admin/includes/configure.php but it looks correct compared to other sites I have done using OS Commerce so I think I am stuck. Any help would be awesome!

Link to comment
Share on other sites

Top of this page --> Network --> Knowledge Base --> Common Problems --> Headers already sent.

 

Vger

 

 

I finally found the solution!

White spaces after the last ?>

honestly it should not look past it, but apparently it does. Delete any extra spaces after and voila! fixed!

 

Here's the link to the info:

http://www.oscommerce.info/kb/osCommerce/G...mon_Problems/15

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...