Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cannot send session cache limiter - headers already sent


holograph

Recommended Posts

Posted

I just installed osCommerce for the first time. When I try to go to my admin panel, I get this page:

 

Warning: session_save_path(): SAFE MODE Restriction in effect. The script whose uid/gid is 176630/176630 is not allowed to access owned by uid/gid 0/0 in /hsphere/local/home/holograph/hartleyjewelers.com/catalog/admin/includes/functions/sessions.php on line 165 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /hsphere/local/home/holograph/hartleyjewelers.com/catalog/admin/includes/functions/sessions.php:165) in /hsphere/local/home/holograph/hartleyjewelers.com/catalog/admin/includes/functions/sessions.php on line 102 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /hsphere/local/home/holograph/hartleyjewelers.com/catalog/admin/includes/functions/sessions.php:165) in /hsphere/local/home/holograph/hartleyjewelers.com/catalog/admin/includes/functions/sessions.php on line 102 Warning: Cannot modify header information - headers already sent by (output started at /hsphere/local/home/holograph/hartleyjewelers.com/catalog/admin/includes/functions/sessions.php:165) in /hsphere/local/home/holograph/hartleyjewelers.com/catalog/admin/includes/functions/general.php on line 22

 

And, when I go to my catalog, I get the same text above the catalog itself. The site is:

 

www.hartleyjewelers.com/catalog/

 

How do I fix this?

Posted

Please search the forums. This is a common topic that's been discussed many times. You're better off researching existing threads than starting a new one.

 

-jared

Posted

Actually I came here to find solution to one of my problem but any one couldn’t support then I thought may be either they doesn’t no :P or everyone try to get solve there problem without supporting others. Lastly I found it solution my self and now I ma helping others. :D

 

Here is the solution for u.

 

Where do u store your session either dbase or catalog folder?

 

If u have select session store location as database when u install your shopping cart then got to admin-> my store, look for session category and remove the session directory path from here.

 

Or

 

If u have select session store some where in your catalog folder then you need to give proper path here.

 

That’s it should work. :thumbsup:

Posted
Actually I came here to find solution to one of my problem but any one couldn’t support then I thought may be either they doesn’t no :P or everyone try to get solve there problem without supporting others. Lastly I found it solution my self and now I ma helping others. :D

 

Here is the solution for u.

 

Where do u store your session either dbase or catalog folder?

 

If u have select session store location as database when u install your shopping cart then got to admin-> my store, look for session category and remove the session directory path from here.

 

Or

 

If u have select session store some where in your catalog folder then you need to give proper path here.

 

That’s it should work. :thumbsup:

 

hi, i have just saw your website. i see you have removed the messages (warning......session...bla bla bla). i had the same problem, and was wondering how you did it. i was confused with what the other person said. would u plz help me. email me at [email protected]. my website is mandasjewelry.freeweb7.com/catalog. thanks so much! i would appreciate it. anyone who helps me make this successful, i am willing to give you a 5 dollar credit to my jewelry store. not a bribe. just doing that for people who help me out.

Posted

I'm having this same problem.

From Check Error Codes in my webhost (doesn't show up on the site or admin itself):

PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at ***oscommerce/admin/includes/filenames.php:2) in ***oscommerce/admin/includes/functions/sessions.php on line 67

Have researched everything I could find in forums. Have researched php sites for answers, still nothing that gives solution. (I checked the files filenames.php and sessions.php for whitespace at ending (none). Interesting wrinkle: I, somehow ended up with my admin being renamed filenames.php. Trying to figure out how to change this name back or to something else. Maybe this has something to do with this problem. (re: filenames.php:2 )?

Database is selected for storage (not store location). Storage location is ...cgi-bin/tmp. This seems to be a proper location. I don't want to eliminate the " / " . Feel that change would result an improper location.

I really have researched this. So I hesitantly ask for assistance.

Thank you.

nea-esco

Posted
I'm having this same problem.

From Check Error Codes in my webhost (doesn't show up on the site or admin itself):

PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at ***oscommerce/admin/includes/filenames.php:2) in ***oscommerce/admin/includes/functions/sessions.php on line 67

Have researched everything I could find in forums. Have researched php sites for answers, still nothing that gives solution. (I checked the files filenames.php and sessions.php for whitespace at ending (none). Interesting wrinkle: I, somehow ended up with my admin being renamed filenames.php. Trying to figure out how to change this name back or to something else. Maybe this has something to do with this problem. (re: filenames.php:2 )?

Database is selected for storage (not store location). Storage location is ...cgi-bin/tmp. This seems to be a proper location. I don't want to eliminate the " / " . Feel that change would result an improper location.

I really have researched this. So I hesitantly ask for assistance.

Thank you.

nea-esco

 

 

"Warning: session_save_path(): SAFE MODE Restriction in effect. The script whose uid/gid is 176630/176630 is not allowed to access owned by uid/gid 0/0 in"

 

your host has enabled php safe mode on your server. this is causing your osc installation not to be able to access the session save path (generally tmp in most linux servers) to save the php session id.

 

since script is printing out this issue as warning before printing out osc code, it is causing headers to go amiss. because header info needs to be sent before any output is print out to any page.

 

you cant disable that safe mode warning. its a php built in warning.

 

basically - call your host and tell that safe mode is messing up your osc.

Archived

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

×
×
  • Create New...