Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

sessions directory : /tmp


CTapia

Recommended Posts

Posted

I have just installed osCommerce and the configuration was successful!...when I select the Catalog, it works but has a few warnings that relate to the sessions dir:

 

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

 

also, session_start(): open(/tmp\sess_1b6fca2b3c24a10c234cd8398354c008, O_RDWR) failed: No such file or directory (2) in c:\inetpub\wwwroot\ccatalog\includes\functions\sessions.php on line 67

 

I have created the \tmp dir just about everywhere and tested it and still get these warnings....

 

Can anyone help please....Thanks

Posted

edit includes/configure.php and admin/includes/configure.php

 

and at the bootom change

 

define('STORE_SESSIONS', '')

 

to

 

define('STORE_SESSIONS', 'mysql')

 

 

 

 

Mike Spires

Posted

or just change the php.ini sesions_dir from /tmp to like c:\windows\temp

 

your local pc has no way of workin out the (/) command and cant start a sesion so it is not goin to keep any changes you make until this is a syntax it understands like (c:\tmp) givin that c is the drive you got it installed on and that you have a directory called tmp on the c drive.

Vertical Climb watch me loose grip an plumit!!

Posted
or just change the php.ini sesions_dir from /tmp to like c:\windows\temp

 

your local pc has no way of workin out the (/) command and cant start a sesion so it is not goin to keep any changes you make until this is a syntax it understands like (c:\tmp) givin that c is the drive you got it installed on and that you have a directory called tmp on the c drive.

 

 

 

exactly, basically just make a directory in your root c drive named tmp if you dont want to edit any config files

Archived

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

×
×
  • Create New...