Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warning: The sessions directory does not exist


pinij

Recommended Posts

Warning: session_start(): open(/tmp\sess_037e720f7606919851655a4e6251af00, O_RDWR) failed: No such file or directory (2) in D:\websites\possecthailand\possecthailand.com\www\catalog\includes\functions\sessions.php on line 67

 

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at D:\websites\possecthailand\possecthailand.com\www\catalog\includes\functions\sessions.php:67) in D:\websites\possecthailand\possecthailand.com\www\catalog\includes\functions\sessions.php on line 67

 

 

Pls help me for this error

Link to comment
Share on other sites

Edit the last line of both configure.php files so that they read 'mysql' where indicated. This will store sessions in the database and not in a folder - so you don't need a 'tmp' folder, and the error will go away.

 

Vger

Link to comment
Share on other sites

Edit the last line of both configure.php files so that they read 'mysql' where indicated.  This will store sessions in the database and not in a folder - so you don't need a 'tmp' folder, and the error will go away.

 

Vger

 

 

 

Thank for your help

now I can use my site

 

 

Tum

Link to comment
Share on other sites

Vger,

 

I have one question maybe you can answer for me (maybe two). I was wondering if it is a good idea to get rid of the "osCsid" being displayed on the website link? In other words, I want it to display:

 

http://localhost/test/product_info.php?products_id=7

 

instead of:

 

http://localhost/test/product_info.php?pro...f63f97b68c2b26b

 

If so, How do i get rid of it displaying the sessions?

 

Thanks,

StrictlyPC

Link to comment
Share on other sites

If you have no ssl on your site, or if you have a full ssl cert, then you can enable 'Force Cookie Use' under Configuration --> Sessions in your osC admin panel.

 

You can't use this feature if you have a shared ssl.

 

Vger

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...