[SOLVED] Thumbnails not showing.

rliddle

Joined: 2008-08-07
Posts: 4
Posted: Fri, 2012-05-11 13:39

I tried to add new images and was getting broken thumbnail. so I optimized db, deleted temp cache, deleted db cache, build all thumbnails resize.

Now ALL thumbnails not work, and customers cannot see artwork to place order. Help!

Gallery version = 2.2.4 core 1.2.0.6
PHP version = 5.2.17 cgi
Webserver = Apache
Database = mysqlt 5.1.62-cll, lock.system=flock
Toolkits = ArchiveUpload, Exif, NetPBM, Gd
Acceleration = none, none
Operating system = Linux server1.kustomkoozies.com 2.6.18-274.7.1.el5.028stab095.1 #1 SMP Mon Oct 24 20:49:24 MSD 2011 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
Rows in GalleryAccessMap table = 16
Rows in GalleryAccessSubscriberMap table = 535
Rows in GalleryUser table = 2
Rows in GalleryItem table = 535
Rows in GalleryAlbumItem table = 3
Rows in GalleryCacheMap table = 0

 
rliddle

Joined: 2008-08-07
Posts: 4
Posted: Fri, 2012-05-11 13:56

Follow up.

When I run Build all Thumbnails/Resizes, I get this in the debug file.

realpath(/home/kustom/public_html/Gallery/modules/core/classes/../../../)
realpath(/home/kustom/public_html/Gallery/)

Error (ERROR_UNSUPPORTED_OPERATION) : thumbnail image/jpeg in
modules/core/classes/GalleryDerivative.class at line 427
(GalleryCoreApi::error)
in modules/core/classes/GalleryDerivative.class at line 275
(GalleryDerivative::_rebuildCache)
in modules/core/classes/GalleryDerivativeImage.class at line
153 (GalleryDerivative::rebuildCache)
in
modules/core/classes/helpers/GalleryDerivativeHelper_advanced.class at
line 839 (GalleryDerivativeImage::rebuildCache)
in modules/core/classes/GalleryCoreApi.class at line 914
(GalleryDerivativeHelper_advanced::rebuildCache)
in modules/core/classes/helpers/GalleryDerivativeHelper_simple.class
at line 49 (GalleryCoreApi::rebuildDerivativeCache)
in modules/core/classes/GalleryCoreApi.class at line 901
(GalleryDerivativeHelper_simple::rebuildCacheIfNotCurrent)
in modules/core/classes/BuildDerivativesTask.class at line 99
(GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
in modules/core/AdminMaintenance.inc at line 90
(BuildDerivativesTask::run)
in ??? at line 0 (AdminMaintenanceController::runTask)
in modules/core/classes/GalleryTemplateAdapter.class at line
915
in
g2data/smarty/templates_c/%%3748777252/%%3A^3A8^3A818B59%%theme.tpl.php
at line 69 (GalleryTemplateAdapter::trailer)
in lib/smarty/Smarty.class.php at line 1258
in modules/core/classes/GallerySmarty.class at line 61
(Smarty::fetch)
in modules/core/classes/GalleryTemplate.class at line 209
(GallerySmarty::fetch)
in main.php at line 480 (GalleryTemplate::display)
in main.php at line 94
in main.php at line 83

copy(/home/kustom/public_html/Gallery/modules/core/classes/../data/broken-image.gif,
/home/kustom/public_html/Gallery/g2data/cache/derivative/0/1/15.dat)
getParameter permissions.file for core plugin
getParameter permissions.directory for core plugin
file_exists(/home/kustom/public_html/Gallery/g2data/cache/module/_all/0/0/GalleryMimeTypeHelper_mimeData.inc)
file_exists(/home/kustom/public_html/Gallery/g2data/cache/derivative/0/1/15.dat)
filesize(/home/kustom/public_html/Gallery/g2data/cache/derivative/0/1/15.dat)

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Fri, 2012-05-11 16:35
Quote:
Toolkits = ArchiveUpload, Exif, NetPBM, Gd

Gallery Admin -> Graphics Toolkits -> GD
What does it show for "Supported MIME Types"?

Gallery Admin -> Graphics Toolkits -> NetPBM -> Test Settings
What does it show for "Supported MIME Types"?

Gallery Admin -> Graphics Toolkits -> Toolkit Priority
Which toolkit is first? Did this toolkit pass its tests?

-s

 
rliddle

Joined: 2008-08-07
Posts: 4
Posted: Fri, 2012-05-11 16:54

Supported MIME Types

The Gd module will support files with the following MIME types:

image/gif
image/jpeg
image/png
image/vnd.wap.wbmp
image/x-xbitmap

NetPBM binary test results

pnmscale
Failed
Error messages:

File does not exist

pnmcut or pamcut
Failed
Error messages:

File does not exist

pnmfile or pamfile
Failed
Error messages:

File does not exist

pnmcomp or pamcomp
Failed
Error messages:

File does not exist

pnmflip or pamflip
Failed
Error messages:

File does not exist

jhead
Failed
Error messages:

File does not exist

GD/NET PBM

GD is first, and did pass.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Fri, 2012-05-11 16:58

Gallery Admin -> Plugins -> Uninstall NetPBM as it fails all tests and is worthless.

Quote:
Error (ERROR_UNSUPPORTED_OPERATION) : thumbnail image/jpeg

I know all image toolkits support that operation. So lets hope there was some mixup w/ NetPBM

-s

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Fri, 2012-05-11 17:00
Quote:
Gallery version = 2.2.4 core 1.2.0.6

Old version BTW you should upgrade.

Upgrade path from 2.2.4 is:
2.2.4 -> 2.2.6 -> 2.3.2

-s

 
rliddle

Joined: 2008-08-07
Posts: 4
Posted: Fri, 2012-05-11 17:16

Uninstalling pbm made it work!!!! Pretty scared of upgrading would like to pay to have it done error free and without downtime.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Fri, 2012-05-11 17:23

You have a small gallery, it should be easy.
url to your site/gallery?

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2