Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

require tmp directory


C?dric

Recommended Posts

Hi,

 

I just installed osCommerce and the confirguration seems ok without the fact that I am ask for the /tmp directory.

 

this is the warning :

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

 

When configuring, I first let the default directory.

Because it does not work I created a tmp directory in a few others directory because I do not know where this directory is supposed to go. I still does not work.

 

In my phpinfo, the path is :

C:\Program Files\EasyPHP\tmp\

 

so I reward in the window and went back to the form in the one I setted :

C:/Program Files/EasyPHP/tmp/

as the default value was :

/catalog/tmp/

 

I still have this message :

Warning: open(/tmp\sess_8dc6a2d75b4e77d456bdb6b290248c56, O_RDWR) failed: No such file or directory (2) in c:\program files\easyphp\www\oscommerce\catalog\includes\functions\sessions.php on line 67

Anybody can tell me how to fit this ?

 

And another question please, my website is on a server on the one I have only ONE database.

 

1) the tmp directory must be "before my home directory" for I cannot see it.

How do I have to configure the install fot that ? because i do not know the path :-/

 

2) I downloaded the "windows" version for install on my "local" EasyPHP server.

Is it the same I have to load on my website for the install ? or the linux version ?

 

3) is it possible for me to rename each TABLES from the database to

osc_NAME_OF_TABLE to make the distinction from these tables and my other tables ?

I will then have to rename the same "each sql request" ? Or is there any file in the one the tables are listed to make it easyer to rename and configure ?

 

Thanks for your help.

 

Sincerly

 

C?dric.

Link to comment
Share on other sites

In both your includes/configure.php files you can set:

 

  define('STORE_SESSIONS', 'mysql');

 

then you won't need a /tmp directory :D

 

Matti

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...