"Error: Unable to create dir:" When loaded throuh PHPnuke

TalenKlaive

Joined: 2006-06-05
Posts: 2
Posted: Mon, 2006-06-05 15:50

I recently installed Gallery 1.1 on my site with PHPnuke 7.8. When I load gallery as a stand-alone (http://www.talenscove.com/modules/gallery/) it seems to work fine. However, when loaded as a module (http://www.talenscove.com/modules.php?name=gallery) I get the following error:

Error: Unable to create dir:
Fatal error: Call to a member function on a non-object in /homepages/22/d164699960/htdocs/modules/gallery/classes/Album.php on line 54

Heres all the info on my server:
http://www.talenscove.com/modules/gallery/ (stand-alone)
http://www.talenscove.com/modules.php?name=gallery (embedded)
Gallery Version: 1.1
Apache version: 1.3.33
PHP Version: 4.4.2
Not sure what OS the server is running, but the site is hosted at 1&1 hosting (http://www.1and1.com)
http://www.talenscove.com/phpinfo.php

Heres the contents of the config file as well:

<?
/*
* Protect against very old versions of 4.0 (like 4.0RC1) which
* don't implicitly create a new stdClass() when you use a variable
* like a class.
*/
if (!$gallery) {
$gallery = new stdClass();
}
if (!$gallery->app) {
$gallery->app = new stdClass();
}

/* Version */
$gallery->app->config_version = 20;

/* Features */
$gallery->app->feature["zip"] = 1;
$gallery->app->feature["rewrite"] = 0; // (missing <i>GALLERY_REWRITE_OK</i> -- it's optional)

/* Constants */
$gallery->app->galleryTitle = "Gallery";
$gallery->app->tmpDir = "/var/tmp";
$gallery->app->pnmDir = "/usr/bin";
$gallery->app->highlight_size = "200";
$gallery->app->zipinfo = "/usr/bin/zipinfo";
$gallery->app->unzip = "/usr/bin/unzip";
// optional <i>use_exif</i> missing
$gallery->app->movieThumbnail = "/kunden/homepages/22/d164699960/htdocs/modules/gallery/images/movie.thumb.jpg";
$gallery->app->albumDir = "/kunden/homepages/22/d164699960/htdocs/modules/gallery/albums";
$gallery->app->userDir = "/kunden/homepages/22/d164699960/htdocs/modules/gallery/albums/.users";
$gallery->app->photoAlbumURL = "http://talenscove.com/modules/gallery";
$gallery->app->albumDirURL = "/albums";
$gallery->app->debug = "no";
$gallery->app->expectedExecStatus = "0";
$gallery->app->sessionVar = "gallery_session";

/* Defaults */
$gallery->app->default["bordercolor"] = "black";
$gallery->app->default["border"] = "1";
$gallery->app->default["font"] = "arial";
$gallery->app->default["cols"] = "3";
$gallery->app->default["rows"] = "3";
$gallery->app->default["thumb_size"] = "150";
$gallery->app->default["resize_size"] = "600";
$gallery->app->default["fit_to_window"] = "no";
$gallery->app->default["use_fullOnly"] = "no";
$gallery->app->default["print_photos"] = "shutterfly";
$gallery->app->default["returnto"] = "yes";
$gallery->app->default["showOwners"] = "no";
$gallery->app->default["albumsPerPage"] = "5";
$gallery->app->default["showSearchEngine"] = "yes";
?>

 
TalenKlaive

Joined: 2006-06-05
Posts: 2
Posted: Sat, 2006-07-22 16:10

bump...Anyone?