Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warning: The sessions directory does not exist: /tmp.


bruno

Recommended Posts

Posted

Hi,

 

Finally I have the shop on my machine.

I only have this fault message:

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

 

Where do I have to place this /tmp directory and what other changes

need to be done ??

 

Also Ican't simulate a buy on my machine.

For the rest no problems. (All the links are working, admin OK,...)

 

brgds

Bruno

Posted

Windows:

 

c:tmp (NOT 'temp')

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Posted

Weer het verhaal van de slimme hollander en de domme Belg ?

 

Probleem van de baan.

 

prettige kerst

 

Bruno

Posted

//added to admin/includes/configure.php



define('DIR_FS_CACHE','/usr/local/psa/home/vhosts/YOURDOMAIN/httpdocs/tmp/');

 

I'm on a Unix server using Plesk Server Admin (psa)

my temp file is not /tmp/ but rather <site root above>/tmp/

 

basically, the cache directory had to be defined here and also

in the admin panel>>configuration>>cache

 

:)

Posted

also made a change in

 

admin/includes/funcitons/session.php

 

The session path should be defined (at bottom of file)

 

chg $path=''

 

to

 

$path='/<absolute path to tmp folder>'

Archived

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

×
×
  • Create New...