Error: Missing value: Temporary directory!

bobkiksass

Joined: 2002-09-28
Posts: 2
Posted: Thu, 2002-10-03 05:52

$gallery->app->movieThumbnail = "/usr/local/plesk/apache/vhosts/shithoused.com/httpdocs/html/modules/nuke/images/movie.thumb.jpg";
$gallery->app->albumDir = "/usr/local/plesk/apache/vhosts/shithoused.com/httpdocs/albums";
Error: Missing value: Temporary directory!
$gallery->app->photoAlbumURL = "http://www.shithoused.com/html/modules/nuke";
$gallery->app->albumDirURL = "http://www.shithoused.com/albums";

I get this error when I am configuring my gallery at the end. I cant figure out how to fix it. Any advice??

i have no clue how to change whether a directory is temporary or not.

thanks
~bob

 
jgodfrey
jgodfrey's picture

Joined: 2002-10-03
Posts: 7
Posted: Thu, 2002-10-03 18:46

The tmp dir should be set from the configuration forms. Check your config.php file located in the root level of your Gallery installation. Search for the area containing (ignoring the paths used in the examples below):

$gallery->app->albumDir = "/usr/local/www/albums";
$gallery->app->tmpDir = "/var/tmp"; <-- your error comes from here
$gallery->app->photoAlbumURL = "http://www.mysite.net/Gallery";

Make sure that the directory in $gallery->app->tmpDir exists and is writable by your webserver. Under Unix, probably the user nobody; under Wintel I have no clue.