/tmp ans save session pitfall

fake-x

Joined: 2003-01-05
Posts: 1
Posted: Sun, 2003-01-05 04:21

the gallery configuration asks for the temp dir, in which it will save the session, etc, right? well ok.. there exist a /tmp on the server root-dir. However the gallery does not recoginize the real root '/', but instread it takes as root the '/var/www/'. Therefore,
if i put for the tmp dir '/tmp' is like the gallery check inside the '/var/www/tmp'

i have tried to make a dir tmp in the /var/www and give it 777, but the thing is around session.save_path

i dont own the server and generally i dont intent to change the default 'save_path'

i have also tried to put something like '../../tmp' ...... but ....

any suggestion?

thanks!
fake-x :sad:

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Sun, 2003-01-05 19:05

The temp directory is for storing and minipulating images before they actually get put in the album directory. This could be due to a weird configuation thing, but try creating your own temporary directory in your web space and chmod it 0777 -- tell Gallery to use that directory as its temporary directory.