| Author |
Message |
jmelcher
Beginner


Joined: Jun 10, 2003 Posts: 7
|
Posted: Wed Jun 25, 2003 3:51 pm Post subject: Help with Gallery and PHP-nuke 6.5 Please... |
|
|
I have had gallery working with PHP-Nuke 6.0, but since I have upgraded to 6.5, and Gallery 1.3.4, it seems to want to run in standalone mode. I have gone through the setup/config procedures *several* times and still get no closer to finding out my problem.
I am getting a constant error at the bottom (footer) of the gallery pages that is this:
Code: › Fatal error: Call to undefined function: themefooter() in /www/j/jmelcher/htdocs/footer.php on line 53
I have a feeling that since there is a footer problem, then the header (which should be part of Nuke) won't display properly, but I could be wrong. Line 53 references the themefooter. I have changed to different themes multiple times and still I get the error. I have searched for my specific problem on other sites but have found nothing. Does anyone have a clue what could be wrong?
You can check it out firsthand at http://melcherfamily.org and follow the link for Photo Gallery.
Tks! |
|
| Back to top |
|
|
AdBot
|
| Post subject: Help with Gallery and PHP-nuke 6.5 Please... |
|
|
|
|
|
| Back to top |
|
 |
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Thu Jun 26, 2003 5:47 am Post subject: Re: Help with Gallery and PHP-nuke 6.5 Please... |
|
|
alrighty, to integrate gallery into PHPNuke (any version), do this:
1. Install the Gallery directory into your Nuke Modules directory, ie /home/user/htdocs/modules/gallery/
2. Run the setup wizard from Gallery, making sure that you enter in the appropriate path values for your gallery and album directory (the album directory must be read/writeable by the web server user).
3. Go to your Nuke admin page and activate the module.
That's all that's needed. It will show up in the menu to the left, and embedded inside the Nuke site (check the "Photo Albums" link on our menu here). |
|
| Back to top |
|
|
jmelcher
Beginner


Joined: Jun 10, 2003 Posts: 7
|
Posted: Thu Jun 26, 2003 11:49 am Post subject: Re: Help with Gallery and PHP-nuke 6.5 Please... |
|
|
Dari,
I've done all that, several times, and still nothing. In fact, I just ran through the config again, following your suggestion, and still a no-go. Here is part of my config.php file for gallery... does anything look out of the ordinary?
Code: › /* Constants */
$gallery->app->galleryTitle = "Melcher Family Photo Gallery";
$gallery->app->graphics = "NetPBM";
$gallery->app->pnmDir = "/www/j/jmelcher/htdocs/modules/gallery/netpbm";
$gallery->app->pnmtojpeg = "ppmtojpeg";
$gallery->app->ImPath = "/usr/local/bin";
$gallery->app->highlight_size = "125";
$gallery->app->zipinfo = "/usr/local/bin/zipinfo";
$gallery->app->unzip = "/usr/local/bin/unzip";
$gallery->app->use_exif = "/www/j/jmelcher/htdocs/modules/gallery/jhead";
$gallery->app->movieThumbnail = "/www/j/jmelcher/htdocs/modules/gallery/images/movie.thumb.jpg";
$gallery->app->albumDir = "/www/j/jmelcher/htdocs/modules/gallery/albums/";
$gallery->app->tmpDir = "/www/j/jmelcher/htdocs/modules/gallery/temp/";
$gallery->app->photoAlbumURL = "http://melcherfamily.org/modules/gallery/";
$gallery->app->albumDirURL = "http://melcherfamily.org/modules/gallery/albums/";
// optional <i>mirrorSites</i> missing
$gallery->app->showAlbumTree = "no";
$gallery->app->autorotate = "yes";
$gallery->app->cacheExif = "no";
$gallery->app->jpegImageQuality = "95";
$gallery->app->timeLimit = "30";
$gallery->app->debug = "no";
$gallery->app->use_flock = "yes";
$gallery->app->expectedExecStatus = "0";
$gallery->app->sessionVar = "gallery_session";
$gallery->app->userDir = "/www/j/jmelcher/htdocs/modules/gallery/albums/.users/";
I still have my footer error on the bottom of the gallery pages as well. The gallery link does show up in my menu to the left, but it just doesn't want to run embedded within Nuke.
Now what? |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Thu Jun 26, 2003 12:31 pm Post subject: Re: Help with Gallery and PHP-nuke 6.5 Please... |
|
|
it looks fine.
i would delete the gallery directory (backup your albums first), and then reinstall it again. if you did the upgrade from 6.0-6.5, something may have gotten mixed up in the process. |
|
| Back to top |
|
|
jmelcher
Beginner


Joined: Jun 10, 2003 Posts: 7
|
Posted: Tue Jul 01, 2003 12:09 pm Post subject: Re: Help with Gallery and PHP-nuke 6.5 Please... (FIXED) |
|
|
Found my problem. I thought I had removed my versions of the EMBEDDED_STYLE.CSS.DEFAULT files inside the CSS directory. In fact, I had not. Once I removed them, Gallery ran embedded.
Thanks for your help. |
|
| Back to top |
|
|
|
|
|
|
|