No pictures in new albums after upgrade

Goulton

Joined: 2013-04-02
Posts: 3
Posted: Tue, 2013-04-02 16:56

Last Run Details:

Gallery URL = http://www.cee-gee-gee.com/gallery/main.php
Gallery version = 2.3.2 core 1.3.0.2
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.17 cgi-fcgi
Webserver = Apache
Database = mysql 5.1.53-log, lock.system=flock
Toolkits = SquareThumb, Thumbnail, LinkItemToolkit, Exif, Gd, ImageMagick, ArchiveUpload
Acceleration = none, none
Operating system = Linux thimphu 2.6.32.45-grsec-2.2.2-r3 #8 SMP Mon Oct 10 13:33:17 PDT 2011 x86_64
Default theme = classic
gettext = enabled
Locale = en_GB
Browser = Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22
Rows in GalleryAccessMap table = 62
Rows in GalleryAccessSubscriberMap table = 1376
Rows in GalleryUser table = 3
Rows in GalleryItem table = 1361
Rows in GalleryAlbumItem table = 81
Rows in GalleryCacheMap table = 0

I have just upgraded to version 2.3.2. All appeared OK but when I add a new album all I can view of the album is the thumbnails. When I click to open the "full-size" picture I get the message - HTTP error 500 (internal server error).

The pictures are all present correctly in their directory and have been uploaded both by the "from web browser" tab and the "upload applet" tab. The only apparent problem during the upload is that the subsequent page "Processing items" sticks and does not return to the album as is normally the case.

I have re-checked through the upgrade page as far as stage 3 and all the files are reported as OK. There are two warnings but these are stated as not causing any problems.

All the albums that were previously added to the Gallery (pre upgrade) still work correctly in all respects but I have not tried to add a picture to any of them to see what happens.

Do I just re-run the upgrade program through to the end or is there a configuration file that needs editing? I want to avoid losing all the existing albums if possible.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Tue, 2013-04-02 22:09

Link to show behavior?

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
Goulton

Joined: 2013-04-02
Posts: 3
Posted: Wed, 2013-04-03 08:47

Link to the problem sub-album is: http://www.cee-gee-gee.com/gallery/main.php?g2_itemId=8525

Try to open any of the four pictures and you will see the server error mentioned previously.

For comparison this album from a previous year and loaded using an earlier version of the Gallery software works normally http://www.cee-gee-gee.com/gallery/main.php?g2_itemId=7946

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Wed, 2013-04-03 11:09

Try fixing filesystem permissions on your gallery storage directory
FAQ: How can I fix the filesystem permissions of the Gallery storage folder?

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
Goulton

Joined: 2013-04-02
Posts: 3
Posted: Thu, 2013-04-04 15:27

Thanks for the guidance. I reset the permissions to the most liberal positions and, since it was mentioned, also cleared out the caches. This made no difference so the permissions were set back to the original, which is what they have been ever since I started using Gallery.

Further investigation proved the following

1. I have three different Galleries installed; it is possible to create a new album and upload this particular set of photos to the other two installations without any problems.
2. If I resize the pictures slightly (I actually use the "Paint.NET" program), thus forcing a re-sampling, then they upload and view correctly even though the file size remains about the same.
3. If I set the camera to a different image size (in this case 4000 x 3000 instead of the camera's maximum of 4608 x 3456) then the smaller images upload and view correctly.

CONCLUSION. This particular installation of Gallery does not like this camera (Nikon S6200) when operating at full resolution.

I have now devised a work-around to the problem (2. above) and the slight reduction in picture size still provides adequate resolution when pictures are downloaded for printing in the local club magazine but it would be useful to know where the basic problem lies.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2013-04-04 15:36

php's post_max_size or php's upload_max_filesize or php's memory_limit
FAQ: Why can't I upload big files (over a megabyte or two)?

-s
________________________________
All New jQuery Minislideshow for G2/G3