Toolkit failure when trying to delete an image

isratrance

Joined: 2005-02-13
Posts: 1
Posted: Sun, 2005-02-13 21:41

I'm having a problem deleting 2 images from my installation of gallery, only with these 2 pictures though!

Error (ERROR_TOOLKIT_FAILURE)

* in modules/gd/classes/GdToolkit.class at line 597 (gallerystatus::error)
* in modules/gd/classes/GdToolkit.class at line 573 (gdtoolkit::_getimagedimensionsforresource)
* in modules/gd/classes/GdToolkit.class at line 117 (gdtoolkit::_getimagedimensions)
* in modules/core/classes/GalleryDerivativeImage.class at line 199 (gdtoolkit::getproperty)
* in modules/core/classes/helpers/GalleryDerivativeHelper_advanced.class at line 683 (galleryderivativeimage::rebuildcache)
* in modules/core/classes/GalleryCoreApi.class at line 705 (galleryderivativehelper_advanced::rebuildcache)
* in modules/core/classes/helpers/GalleryDerivativeHelper_simple.class at line 63 (gallerycoreapi::rebuildderivativecache)
* in modules/core/classes/GalleryCoreApi.class at line 692 (galleryderivativehelper_simple::rebuildcacheifnotcurrent)
* in modules/core/ItemDelete.inc at line 229 (gallerycoreapi::rebuildderivativecacheifnotcurrent)
* in modules/core/ItemAdmin.inc at line 150 (itemdeleteview::loadtemplate)
* in modules/core/classes/GalleryView.class at line 244 (itemadminview::loadtemplate)
* in main.php at line 312 (itemadminview::doloadtemplate)
* in main.php at line 47
* in main.php at line 40

----

latest build, installed yesterday.
art.isratrance.com is the url, don't know webserver specifics...

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Mon, 2005-02-21 23:19

Edit your config.php and turn on buffered debug mode like this:

$gallery->setDebug('buffered');

Then try again. This time, you'll get quite a lot of debug output
when you get the error. Look towards the bottom of the debug output
and scan backwards for anything that looks like an error, then report
that here. Usually that will give us enough information to work with.
If you can't understand what you're seeing, err on the side of posting
more info. If it's going to be more than 30-40 lines of output, you
should save it into a text file and publish it on your own website and
post a link to it here (so that the forum remains readable).