Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

The sessions directory does not exist: /tmp


Guest

Recommended Posts

Hi,

 

I am new to OSCommerce.I have installed the system succssfully.

But while running the file "http://webserver:999/OSC/oscommerce-2.2ms2/catalog/index.php",following warning is displayed by the browswe.I am using Windows 2000 .I have tmp folders on my windows folder and also in C drive.

Please give a solution.

 

Error shown by the browser

 

 

 

Warning: session_start(): open(/tmp\sess_be9ae79be4d30bf067193704d6135f35, O_RDWR) failed: No such file or directory (2) in E:\truss\OSC\oscommerce-2.2ms2\catalog\includes\functions\sessions.php on line 67

 

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at E:\truss\OSC\oscommerce-2.2ms2\catalog\includes\functions\sessions.php:144) in E:\truss\OSC\oscommerce-2.2ms2\catalog\includes\functions\sessions.php on line 67

 

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at E:\truss\OSC\oscommerce-2.2ms2\catalog\includes\functions\sessions.php:144) in E:\truss\OSC\oscommerce-2.2ms2\catalog\includes\functions\sessions.php on line 67

 

Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created.

 

 

Thanking in advance.

From,

websighttech

Link to comment
Share on other sites

.......

hello, i'm new too

 

I have the same problem Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created. but i use win Xp prof. and easyphp to test OSCommerce in localhost.

 

Where must we create tmp folder :huh: ?

 

Thanks for your answers and sorry for my poor english :unsure: .

 

Ptibot

Link to comment
Share on other sites

I recommend using the option at the botton of catalog/includes/configure.php to store sessions in the MySQL database. Otherwise it will use /tmp which may not be a good idea, especially on a shared hosting server.

Link to comment
Share on other sites

Hi, Same problem with MS 3.0 on a PHP Nuke 7.0 site, all works fine except the message: Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created. I checked in configuration and it shows under Sessions Directory Value = /temp. So that did not solve the problem. Any other idea how to fix this?

Thanks

Frank

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...