Dear Terry or others
I just installed gallery to an ibay following the HOWTO at
http://sme.swerts-knudsen.dk/.
I have not applied the second fix you referred to re AllowOverride Options FileInfo
as I will not be using nested albums, and assume it may not be strictly necessary.
Gallery appears to have installed OK, although when I run the setup page I do have some errors. It seems that these may not be neccessary to fix up but just want to check. Refer to errors below.
I can create albums and upload photos, but the problem I have is that none of the photos will display at all, either as thumbnails or full images.
The errors in the setup page are:
1)
Warning!
Apache is not obeying your .htaccess file. Try entering the following into your web server's httpd.conf file:
AllowOverride Options FileInfo
2)
Warning!
Magic quotes are on. Your webserver owner can turn them off by putting:
magic_quotes_gpc = Off
in your php.ini file
3)
Warning!
Either mod_rewrite is not installed or your .htaccess file is not enabled (see above). Either way, we'll have to use longer URLs in the Gallery. If you want to turn it on I'd suggest that you make sure that your .htaccess file works and then if it still doesn't work you may need to reconfigure and rebuild Apache with this flag:
--enable-module=rewrite
4)
Warning!
I can't find ImageMagick. If it's installed and not in the path of the webserver user that's OK -- you can specify the path to ImageMagick by hand on the following page. If it's not installed, you must install it. Gallery prefers ImageMagick version 5.4.8 and up. You can compile and install the entire ImageMagick package from
www.ImageMagick.org. Note: They also have binaries available for assorted operating systems. If you can't get it working, try leaving the ImageMagick path blank and using NetPBM instead
The nice message at the bottom said
Your installation has warnings, but life is short so let's GO!
I clicked on Configure Gallery and then entered the appropriate locations for my gallery, note that the Path to ImageMagick was left blank, then clicked on Album Defaults. The next screen looked OK so I clicked on Save settings.
The next page lists the settings as follows: (URLs edited out)
/* Version */
$gallery->app->config_version = 31;
/* Features */
$gallery->app->feature["zip"] = 1;
$gallery->app->feature["rewrite"] = 0; // (missing GALLERY_REWRITE_OK -- it's optional)
$gallery->app->feature["mirror"] = 0; // (missing mirrorSites -- it's optional)
/* Constants */
$gallery->app->galleryTitle = "Photo Gallery 1";
$gallery->app->pnmDir = "/usr/bin";
// optional ImPath missing
$gallery->app->graphics = "NetPBM";
$gallery->app->highlight_size = "200";
$gallery->app->zipinfo = "/usr/bin/zipinfo";
$gallery->app->unzip = "/usr/bin/unzip";
$gallery->app->use_exif = "/usr/bin/jhead";
$gallery->app->movieThumbnail = "/home/e-smith/files/ibays/gallery1/html/images/movie.thumb.jpg";
$gallery->app->albumDir = "/home/e-smith/files/ibays/gallery1/html/albums";
$gallery->app->tmpDir = "/home/e-smith/files/ibays/gallery1/html/temp";
$gallery->app->photoAlbumURL = "http://www.######/gallery1";
$gallery->app->albumDirURL = "http://www.######/gallery1/albums ";
// optional mirrorSites missing
$gallery->app->showAlbumTree = "no";
$gallery->app->cacheExif = "yes";
$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 = "/home/e-smith/files/ibays/gallery1/html/albums/.users";
$gallery->app->pnmtojpeg = "ppmtojpeg";
/* 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"] = "640";
$gallery->app->default["fit_to_window"] = "yes";
$gallery->app->default["use_fullOnly"] = "yes";
$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";
$gallery->app->default["useOriginalFileNames"] = "yes";
$gallery->app->default["display_clicks"] = "yes";
$gallery->app->default["public_comments"] = "yes";
If the other steps and fixing up the errors is required then I will do that, but is it really neccessary to fix them.
Will any of the errors above be causing the images to not appear.
Any suggestions appreciated.
Thanks & regards
Ray Mitchell