I moved hosts and now my thumbnail photos for each album are corrupt. Is there a way for me to fix each one without having to do it manually?
I tried the 'Rebuild Images' tool in the maintenance section, and it did run, but it didn't fix the thumbnails.
Posts: 1857
Depends on what the cause is.
Have you also tried the maintenance fix gallery task?
Posts: 27300
The permissions might not be right on the file system.
A url to the site might help.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 75
It's been a while since I've had a problem, but I can't get my thumbnails to rebuild. When I try using the Build all thumbnails/resizes in the System Maintenance, it "tries" but then winds up at a blank screen. I have also tried the album-by-album method but without success. The full-size images are there.
All suggestions are greatly appreciated.
Gallery URL = http://www.leslienord.com/memories/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.3.27 cgi-fcgi
Webserver = Apache
Database = mysqli 5.1.39-log, lock.system=flock
Toolkits = Getid3, jpegtran, LinkItemToolkit, Thumbnail, ArchiveUpload, NetPBM, SquareThumb
Acceleration = none, none
Operating system = Linux reykjavik 2.6.32.45-grsec-2.2.2-r3 #8 SMP Mon Oct 10 13:33:17 PDT 2011 x86_64
Default theme = siriux
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36
Rows in GalleryAccessMap table = 302
Rows in GalleryAccessSubscriberMap table = 2070
Rows in GalleryUser table = 3
Rows in GalleryItem table = 2068
Rows in GalleryAlbumItem table = 60
Rows in GalleryCacheMap table = 0
Posts: 1857
Check the Gallery logs; anything in there?
You're using G2? (You've posted in the G3 forums.)
http://galleryproject.org/forum
Posts: 75
Well darn - can one of the moderators move this? Or should I just repost. Yes, this is for G2.
Posts: 8339
lets get rid of some unnecessary toolkits.
Getid3 has absolutely no purpose, disable and remove.
Jpegtran - do you need lossless jpeg transformations? disable and remove.
Have you tested netpbm since the move? it may not be supported on the new host. If not disable and remove. Try imagemagick and last resort GD.
squarethumb has known issues w/ some versions of GD, netpbm and IM. You may have to remove this as well.
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 75
Just checked trying to upload - thumbnail and full size is broken. I'm going to switch to imagemagick. Some of these toolkit items are fighting being deleted after deactivation.
Thanks for moving this over to G2 for me.
Posts: 75
<doh> have I tested netpbm? Just did, it all passed. FYI - this site hasn't been moved in years. Just one day, I noticed all the thumbnails were broken.
NetPBM binary test results
Binary Name Pass/Fail
pnmscale
Passed
pnmcut
Passed
pnmfile
Passed
pnmcomp
Passed
pnmflip
Passed
jpegtopnm
Passed
pnmtojpeg
Passed
giftopnm
Passed
ppmtogif
Passed
ppmquant
Passed
pngtopnm
Passed
pnmtopng
Passed
tifftopnm
Passed
pnmtotiff
Passed
bmptopnm
Passed
ppmtobmp
Passed
ppmquant
Passed
Posts: 75
And here's the Event Details from when I tried to upload an image:
Error (ERROR_TOOLKIT_FAILURE)in modules/netpbm/classes/NetPbmToolkit.class at line 739 (GalleryCoreApi::error)
in modules/netpbm/classes/NetPbmToolkit.class at line 571 (NetPbmToolkit::_exec)
in modules/netpbm/classes/NetPbmToolkit.class at line 431 (NetPbmToolkit::_transformImage)
in modules/core/classes/GalleryDerivative.class at line 452 (NetPbmToolkit::performOperation)
in modules/core/classes/GalleryDerivative.class at line 274 (GalleryDerivative::_rebuildCache)
in modules/core/classes/GalleryDerivativeImage.class at line 153 (GalleryDerivative::rebuildCache)
in modules/core/classes/helpers/GalleryDerivativeHelper_advanced.class at line 844 (GalleryDerivativeImage::rebuildCache)
in modules/core/classes/GalleryCoreApi.class at line 997 (GalleryDerivativeHelper_advanced::rebuildCache)
in modules/core/classes/helpers/GalleryDerivativeHelper_simple.class at line 50 (GalleryCoreApi::rebuildDerivativeCache)
in modules/core/classes/GalleryCoreApi.class at line 984 (GalleryDerivativeHelper_simple::rebuildCacheIfNotCurrent)
in modules/core/classes/GalleryTheme.class at line 1737 (GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
in themes/siriux/theme.inc at line 99 (GalleryTheme::loadCommonTemplateData)
in modules/core/classes/GalleryTheme.class at line 938 (SiriuxTheme::showPhotoPage)
in modules/core/classes/GalleryView.class at line 301 (GalleryTheme::loadTemplate)
in main.php at line 465 (GalleryView::doLoadTemplate)
in main.php at line 104
in main.php at line 88
Request variables: Array
(
[itemId] => 5661
[view] => core.ShowItem
)
So I'm guessing it's an issue with netpbm...
Posts: 75
Not enough hours in the day to try and work on my own personal stuff - this still isn't working. Never got a response back on the netpbm - could that be the issue? Should I contact my host?
Many thanks,
Leslie
Posts: 8339
This is where gallery actually tries to execute the command and it fails.
Have you tried GD?
Also make sure your g2data has proper permissions.
chmod -R 0777 /full/path/to/g2data
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 75
Yes, I'm still trying to figure this out. The g2data does have the proper permissions. I'm going to try activating GD.
Posts: 75
Well that didn't go well
Is there any way I can just start over with a fresh install of Gallery2 but have it know where the images are already at?
Posts: 8339
http://galleryproject.org/node/111912
-s
________________________________
All New jQuery Minislideshow for G2/G3