Archive

Archive for the ‘session problems’ Category

session_save_path() oscommerce error

April 10th, 2011 No comments

Today I noticed a problem on one of my web pages, which was developed using oscommerce. The error output were warnings but due to this I couldn’t go into the administration and some other pages.

Warning: session_save_path(): SAFE MODE Restriction in effect ...
Warning: Cannot modify header information - headers already sent by ...
Warning: session_start(): Cannot send session cookie - headers already sent by ...
Warning: session_start(): Cannot send session cache limiter - headers already sent ...

I googled it and I found a solution that worked:

  1. Go to your phpmyadmin application in your hosting or login to your mysql server.
  2. Then run this SQL command:
UPDATE configuration SET configuration_value = 'tmp' 
WHERE configuration_key='SESSION_WRITE_DIRECTORY
I have found the solution of this error in the next forum http://forums.oscommerce.com/topic/184484-fix-warning-session-save-path/
Categories: oscommerce, session problems Tags: