I've got gallery 1.3.3, installed and working as a module in nuke 6.5 (using php 4.3.1). In order to complete the nuke integration I used the updated DB files from this site (worked like a charm). I downloaded the random photo block also and did the following:
-edited the Gallery_Basedir, Album_Basedir, Server_Addr, and chose Random in block-random.php.
-edited Gallery_Basedir in random_support.php
Uploaded those files, added the block in the nuke admin. At this point I got a few file open errors when trying to load the page. So, I hand create the block-random.cache it was looking for, chmod that file and directory and the random photo works.
Here is the kicker. Although the random photo appears to work, I still am getting an error:
Code: ›
Warning: Invalid argument supplied for foreach() in /home/timlowe/public_html/gallery/session.php on line 55
Now, this file is a part of the gallery install and the line referenced is in the section for:
Code: ›
/* emulate register_globals for sessions */
if (!$gallery->register_globals) {
foreach($HTTP_SESSION_VARS as $key => $value) {
eval("\$$key = & \$HTTP_SESSION_VARS[\"$key\"];");
}
}
Any ideas on how I can get rid of this error? If you'd like to see the webpage go to http://www.tjee.org
--Tim