Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Temp directory doesn't exist


Guest

Recommended Posts

I just installed osCommerce for a friend of mine on his domain and he's using GoDaddy.

 

at the top of the shop I get the following message:

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

 

Any idea about what i should do? I do relize this has to do with sessions and it's a server issue, but sessions does work, but not ... correctly?

 

any ideas?

 

my tmp directory is probably in /var/tmp

Link to comment
Share on other sites

Set this in both configure.php files

 

define('STORE_SESSIONS', 'mysql')

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Link to comment
Share on other sites

I believe you want to simply create a directory at the 'root' of you file structure (either live or locally) so as a path it would look like this: /tmp

Then the program can use this folder to dump to, and anyone with a browser cannot access this file as it's below your 'www' (your sites address). So in other words create a folder called 'tmp' and place it in a directory above your 'http_docs' or your 'www' folder in your FTP program so the outside world can't see it - hope that helps some. Sean :)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...