I am running 1.4.3 Gallery on phpNuke 7.1. I just downloaded and installed the newest Random Block module (downloaded it less than 30 minute ago, so I'm assuming it's the latest). I did the editing:
NG-RandomPhotoFunctions I changed the following:
Quote: › /*******************************************************************/
/* Full path to your Gallery, don't forget the trailing / */
/*******************************************************************/
$GALLERY_BASEDIR = "home/webattit/www/www/modules/gallery/";
/*******************************************************************/
/* The module name of your Gallery, default is "gallery" */
/*******************************************************************/
$GALLERY_MODULENAME = "gallery";
/*******************************************************************/
/* Time, in seconds, to refresh random photo cache. Default is */
/* 86400 (check it daily) */
/*******************************************************************/
define(CACHE_EXPIRED, 10);
/*******************************************************************/
/* Full path to your albums directory, don't forget the trailing / */
/*******************************************************************/
define(ALBUM_DIRECTORY,"home/webattit/www/www/modules/gallery/albums/");
I uploaded blocks to the block folder, Functions file to root, and activated the block in the left hand bar and get the following error code:
Quote: › Warning: main(home/webattit/www/www/modules/gallery/init.php): failed to open stream: No such file or directory in /home/webattit/www/www/NG-RandomPhoto_functions.php on line 61
Fatal error: main(): Failed opening required 'home/webattit/www/www/modules/gallery/init.php' (include_path='.:/usr/local/lib/php') in /home/webattit/www/www/NG-RandomPhoto_functions.php on line 61
Any ideas on what went wrong? The gallery is running perfectly, all albums were properly upgraded..