[SOLVED] No thumbs and resizes are created, full size photo is available

Artflux

Joined: 2007-07-11
Posts: 25
Posted: Sat, 2013-02-16 13:26

When uploading the larger image appears however the thumbs and display image does not appear instead is a broken graphic. This is something that has occurred since last summer and am wondering if it might be the server. ImageMagick shows that it is inactive and needs to be configured. Any help on how to fix this would be greatly appreciated.

Thanks,

Artflux

http://victorcarnuccio.com/gallery2/main.php

Gallery version = 2.2.2 core 1.2.0.4
PHP version = 5.3.6 cgi-fcgi
Webserver = Apache/1.3.42 (Unix) mod_ssl/2.8.31 OpenSSL/0.9.8k mod_fastcgi/2.4.2
Database = mysqlt 4.1.14, lock.system=flock
Toolkits = Exif, Getid3, LinkItemToolkit, NetPBM, Thumbnail, Gd
Acceleration = none, none
Operating system = Linux hostingprod.com 2.6.32-220.23.1.el6.YAHOO.20120713.x86_64 #1 SMP Fri Jul 13 11:40:51 CDT 2012 x86_64
Default theme = carbon
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.57 Safari/537.17
Rows in GalleryAccessMap table = 35
Rows in GalleryAccessSubscriberMap table = 161
Rows in GalleryUser table = 2
Rows in GalleryItem table = 158
Rows in GalleryAlbumItem table = 16
Rows in GalleryCacheMap table = 0

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sat, 2013-02-16 14:02
Quote:
Gallery version = 2.2.2 core 1.2.0.4
PHP version = 5.3.6 cgi-fcgi

Only gallery 2.3.1 or greater supports PHP 5.3.x
Please upgrade
FAQ: How to upgrade Gallery2?

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
Artflux

Joined: 2007-07-11
Posts: 25
Posted: Sat, 2013-02-16 21:21

My server is running Mysql Version: 4.1.14 There is an option to upgrade to mysql 5. There is an option to restore or repair as well. I have not done this. I am concerned that I might loose everything with the upgrade.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sat, 2013-02-16 22:14

gallery2 works with mysql 4 or 5
Always create a full backup of your gallery2 directory, g2data, and database before upgrading.

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
Artflux

Joined: 2007-07-11
Posts: 25
Posted: Wed, 2013-04-24 20:17

Problem solved:

Someone else had the same problem and cleared the gallery cache. This fixed the problem.

Gallery caches some data that doesn't change very often in its storage folder. This includes templates, data from the database and other things. To clear the template cache: login as admin, click site admin, click Maintenance, beside Delete template cache click run now.
To clear the cache in case something bad happened, browse to http://www.example.com/gallery/lib/support/index.php, (change example to your proper url) enter your Gallery setup password, select "Cache Maintenance" and delete the caches. Usually, selecting all but the Thumbnails and resizes (derivative) cache is a good idea (repeat: do not select the Thumbnails and resizes cache for deletion, rebuilding it takes quite a while for large Galleries).
With the introduction of template caching in G2.3, you might find that editing a template file will not have an effect. Login ad admin -> site Admin -> Performance, uncheck 'Enable template caching', click save. Click the Clear Saved Pages button. Reverse when completed with template editing.