Problem with thumbnails

roleary

Joined: 2010-02-25
Posts: 1
Posted: Thu, 2010-02-25 17:01


Gallery version (not just "2"): 2.3
PHP version (e.g. 5.1.6): 5.2.11
PHPInfo Link (see FAQ):
Webserver (e.g. Apache 1.3.33): Apache 1.3.41
Database (e.g. MySql 5.0.32): MySQL 4.1.22-standard
Activated toolkits (e.g. NetPbm, GD): GD 2.0.28, unsure??
Operating system (e.g. Linux): Linux
Browser (e.g. Firefox 2.0): Firefox

Host: Hostgator

I tried to update an old installation and it failed. So instead I decided to create a new installation and just import all my photos. The import went fine, except that all thumbnails had a broken image as the thumbnail. The medium-sized images and full-sized were fine, just the thumbnails were broken. So I went into the Maintenance menu and selected the option to rebuild all thumbnails. I got the error below. Note the below error is only part of the error message. Seems that it was producing debug info for every image (over 500), so I obviously didn't want to post the whole thing here.

Thanks in advance for any help.

=======================================================

file_exists(/home/roleary/public_html/papyspictures2/g2data/cache/entity/1/7/1791.inc)
file_exists(/home/roleary/public_html/papyspictures2/g2data/cache/derivative/1/7/1791.dat)
file_exists(/home/roleary/public_html/papyspictures2/g2data/cache/entity/1/7/1790.inc)
getParameter lock.system for core plugin
fopen(/home/roleary/public_html/papyspictures2/g2data/locks/1791, wb+, 0)
flock(Resource id #122, 6, )
Waiting for a lock
flock(Resource id #122, 6, 1)
Waiting for a lock
flock(Resource id #122, 6, 1)

(mysqlt): SELECT g_id, g_entityType FROM g2_Entity WHERE g_id IN (1791)

(mysqlt): SELECT g2_Schema.g_info FROM g2_PluginMap, g2_Schema
WHERE g2_PluginMap.g_pluginId = g2_Schema.g_pluginId
AND g2_Schema.g_type = 'entity' AND g2_PluginMap.g_active = 1

(mysqlt): SELECT g2_DerivativeImage.g_width, g2_DerivativeImage.g_height,
g2_Derivative.g_derivativeSourceId, g2_Derivative.g_derivativeOperations,
g2_Derivative.g_derivativeOrder, g2_Derivative.g_derivativeSize,
g2_Derivative.g_derivativeType, g2_Derivative.g_mimeType,
g2_Derivative.g_postFilterOperations, g2_Derivative.g_isBroken,
g2_ChildEntity.g_parentId, g2_Entity.g_id, g2_Entity.g_creationTimestamp,
g2_Entity.g_isLinkable, g2_Entity.g_linkId,
g2_Entity.g_modificationTimestamp, g2_Entity.g_serialNumber,
g2_Entity.g_entityType, g2_Entity.g_onLoadHandlers FROM
g2_DerivativeImage, g2_Derivative, g2_ChildEntity, g2_Entity WHERE
g2_DerivativeImage.g_id IN (1791) AND
g2_Derivative.g_id=g2_DerivativeImage.g_id AND
g2_ChildEntity.g_id=g2_DerivativeImage.g_id AND
g2_Entity.g_id=g2_DerivativeImage.g_id

file_exists(/home/roleary/public_html/papyspictures2/g2data/cache/derivative/1/7)
is_dir(/home/roleary/public_html/papyspictures2/g2data/cache/derivative/1/7)
file_exists(/home/roleary/public_html/papyspictures2/modules/archiveupload/classes/ArchiveExtractToolkit.class)
file_exists(/home/roleary/public_html/papyspictures2/modules/dcraw/classes/DcrawToolkit.class)
file_exists(/home/roleary/public_html/papyspictures2/modules/exif/classes/ExifToolkit.class)
file_exists(/home/roleary/public_html/papyspictures2/modules/ffmpeg/classes/FfmpegToolkit.class)
file_exists(/home/roleary/public_html/papyspictures2/modules/getid3/classes/Getid3Toolkit.class)
file_exists(/home/roleary/public_html/papyspictures2/modules/imagemagick/classes/ImageMagickToolkit.class)
file_exists(/home/roleary/public_html/papyspictures2/modules/jpegtran/classes/JpegtranToolkit.class)
file_exists(/home/roleary/public_html/papyspictures2/modules/linkitem/classes/LinkItemToolkit.class)
file_exists(/home/roleary/public_html/papyspictures2/modules/netpbm/classes/NetPbmToolkit.class)
file_exists(/home/roleary/public_html/papyspictures2/modules/squarethumb/classes/SquareThumbToolkit.class)
file_exists(/home/roleary/public_html/papyspictures2/modules/thumbnail/classes/ThumbnailToolkit.class)
file_exists(/home/roleary/public_html/papyspictures2/modules/gd/classes/GdToolkit.class)
file_exists(/home/roleary/public_html/papyspictures2/g2data/cache/entity/1/7/1725.inc)
file_exists(/home/roleary/public_html/papyspictures2/g2data/cache/entity/0/2/27.inc)

(mysqlt):
SELECT
g2_TkOperatnMimeTypeMap.g_toolkitId,
g2_TkOperatnMap.g_outputMimeType
FROM
g2_TkOperatnMap,
g2_TkOperatnMimeTypeMap
WHERE
g2_TkOperatnMap.g_name =
g2_TkOperatnMimeTypeMap.g_operationName
AND
g2_TkOperatnMimeTypeMap.g_mimeType = 'image/jpeg'
AND
g2_TkOperatnMap.g_name = 'thumbnail'
ORDER BY
g2_TkOperatnMimeTypeMap.g_priority ASC

file_exists(/home/roleary/public_html/papyspictures2/g2data/cache/module/squarethumb/0/0/0.inc)

(mysqlt):
SELECT
g2_TkOperatnMimeTypeMap.g_toolkitId,
g2_TkOperatnMap.g_outputMimeType
FROM
g2_TkOperatnMap,
g2_TkOperatnMimeTypeMap
WHERE
g2_TkOperatnMap.g_name =
g2_TkOperatnMimeTypeMap.g_operationName
AND
g2_TkOperatnMimeTypeMap.g_mimeType = 'image/jpeg'
AND
g2_TkOperatnMap.g_name = 'crop'
ORDER BY
g2_TkOperatnMimeTypeMap.g_priority ASC

(mysqlt): SELECT g_mimeType, g_toolkitId, g_priority FROM
g2_TkOperatnMimeTypeMap WHERE g_operationName='thumbnail' ORDER BY
g_mimeType ASC, g_priority ASC

getParameter path for jpegtran plugin
file_exists(/home/roleary/public_html/papyspictures2/g2data/cache/module/jpegtran/0/0/0.inc)
tempnam(/home/roleary/public_html/papyspictures2/g2data/tmp/, jpgt_)
getcwd()
chdir(/home/roleary/public_html/papyspictures2/g2data/tmp/)
getParameter exec.beNice for core plugin
Executing: ( "/usr/bin/jpegtran" "-verbose" "-copy" "all" "-crop"
"2000x2000+504+0" "-outfile"
"/home/roleary/public_html/papyspictures2/g2data/tmp/jpgt_YnKoPJ"
"/home/roleary/public_html/papyspictures2/g2data/albums/08tahoe1/scenic/DSC_0209.JPG"
) 2>"/home/roleary/public_html/papyspictures2/g2data/tmp/g2dbgLb4Hv6"
getParameter exec.expectedStatus for core plugin
file_exists(/home/roleary/public_html/papyspictures2/g2data/tmp/g2dbgLb4Hv6)
filesize(/home/roleary/public_html/papyspictures2/g2data/tmp/g2dbgLb4Hv6)
fopen(/home/roleary/public_html/papyspictures2/g2data/tmp/g2dbgLb4Hv6, r,
0)
feof(Resource id #154)
fgets(Resource id #154, 4096)
feof(Resource id #154)
fgets(Resource id #154, 4096)
feof(Resource id #154)
fgets(Resource id #154, 4096)
feof(Resource id #154)
fgets(Resource id #154, 4096)
feof(Resource id #154)
fgets(Resource id #154, 4096)
feof(Resource id #154)
fgets(Resource id #154, 4096)
feof(Resource id #154)
fgets(Resource id #154, 4096)
feof(Resource id #154)
fgets(Resource id #154, 4096)
feof(Resource id #154)
fgets(Resource id #154, 4096)
feof(Resource id #154)
fgets(Resource id #154, 4096)
feof(Resource id #154)
fgets(Resource id #154, 4096)
feof(Resource id #154)
fgets(Resource id #154, 4096)
feof(Resource id #154)
fgets(Resource id #154, 4096)
feof(Resource id #154)
fgets(Resource id #154, 4096)
feof(Resource id #154)
fgets(Resource id #154, 4096)
feof(Resource id #154)
fgets(Resource id #154, 4096)
feof(Resource id #154)
fgets(Resource id #154, 4096)
feof(Resource id #154)
fgets(Resource id #154, 4096)
feof(Resource id #154)
fgets(Resource id #154, 4096)
feof(Resource id #154)
fgets(Resource id #154, 4096)
feof(Resource id #154)
fgets(Resource id #154, 4096)
feof(Resource id #154)
fgets(Resource id #154, 4096)
feof(Resource id #154)
fgets(Resource id #154, 4096)
feof(Resource id #154)
fgets(Resource id #154, 4096)
feof(Resource id #154)
fclose(Resource id #154)
unlink(/home/roleary/public_html/papyspictures2/g2data/tmp/g2dbgLb4Hv6)
Regular Output:
Error Output:
Independent JPEG Group's JPEGTRAN, version 6b 27-Mar-1998
Copyright (C) 1998, Thomas G. Lane
usage: /usr/bin/jpegtran [switches] [inputfile]
Switches (names may be abbreviated):
-copy none Copy no extra markers from source file
-copy comments Copy only comment markers (default)
-copy all Copy all extra markers
-optimize Optimize Huffman table (smaller file, but slow
compression)
-progressive Create progressive JPEG file
Switches for modifying the image:
-grayscale Reduce to grayscale (omit color data)
-flip [horizontal|vertical] Mirror image (left-right or top-bottom)
-rotate [90|180|270] Rotate image (degrees clockwise)
-transpose Transpose image
-transverse Transverse transpose image
-trim Drop non-transformable edge blocks
Switches for advanced users:
-restart N Set restart interval in rows, or in blocks with B
-maxmemory N Maximum memory to use (in kbytes)
-outfile name Specify name for output file
-verbose or -debug Emit debug output
Switches for wizards:
-scans file Create multi-scan JPEG per script file
Status: 1 (expected 0)
unlink(/home/roleary/public_html/papyspictures2/g2data/tmp/jpgt_YnKoPJ)
chdir(/home/roleary/public_html/papyspictures2)
realpath(/home/roleary/public_html/papyspictures2/modules/core/classes/../../../)
realpath(/home/roleary/public_html/papyspictures2/)

(mysqlt): SET NAMES "utf8"

(mysqlt): update g2_SequenceEventLog set id=LAST_INSERT_ID(id+1);

(mysqlt): UPDATE g2_EventLogMap SET g_userId=6, g_type='Image Error',
g_summary='Unable to build image', g_details='Error
(ERROR_TOOLKIT_FAILURE)<b>in</b>
modules/jpegtran/classes/JpegtranToolkit.class <b>at line</b>
127 (gallerycoreapi::error) \n<b>in</b>
modules/squarethumb/classes/SquareThumbToolkit.class <b>at
line</b> 112 (jpegtrantoolkit::performoperation)
\n<b>in</b> modules/core/classes/GalleryDerivative.class
<b>at line</b> 452 (squarethumbtoolkit::performoperation)
\n<b>in</b> modules/core/classes/GalleryDerivative.class
<b>at line</b> 274 (galleryderivativeimage::_rebuildcache)
\n<b>in</b> modules/core/classes/GalleryDerivativeImage.class
<b>at line</b> 153 (galleryderivative::rebuildcache)
\n<b>in</b>
modules/core/classes/helpers/GalleryDerivativeHelper_advanced.class
<b>at line</b> 844 (galleryderivativeimage::rebuildcache)
\n<b>in</b> modules/core/classes/GalleryCoreApi.class
<b>at line</b> 997
(galleryderivativehelper_advanced::rebuildcache) \n<b>in</b>
modules/core/classes/helpers/GalleryDerivativeHelper_simple.class
<b>at line</b> 50 (gallerycoreapi::rebuildderivativecache)
\n<b>in</b> modules/core/classes/GalleryCoreApi.class
<b>at line</b> 984
(galleryderivativehelper_simple::rebuildcacheifnotcurrent)
\n<b>in</b> modules/core/classes/BuildDerivativesTask.class
<b>at line</b> 113
(gallerycoreapi::rebuildderivativecacheifnotcurrent)
\n<b>in</b> modules/core/AdminMaintenance.inc <b>at
line</b> 128 (buildderivativestask::run) \n<b>in</b> ???
<b>at line</b> 0 (adminmaintenancecontroller::runtask)
\n<b>in</b> modules/core/classes/GalleryTemplateAdapter.class
<b>at line</b> 1092\n<b>in</b>
g2data/smarty/templates_c/%%570771223/matrix/%%3A^3A8^3A818B59%%theme.tpl.php
<b>at line</b> 75 (gallerytemplateadapter::trailer)
\n<b>in</b> lib/smarty/Smarty.class.php <b>at
line</b> 1255\n<b>in</b>
modules/core/classes/GallerySmarty.class <b>at line</b> 61
(smarty::fetch) \n<b>in</b>
modules/core/classes/GalleryTemplate.class <b>at line</b> 241
(gallerysmarty::fetch) \n<b>in</b> main.php <b>at
line</b> 506 (gallerytemplate::display) \n<b>in</b>
main.php <b>at line</b> 104\n<b>in</b> main.php
<b>at line</b> 88\n\nRequest variables: Array\n(\n
[controller] => core.AdminMaintenance\n [form] => Array\n
(\n [action] => Array\n (\n
[runTask] => 1\n )\n\n )\n\n [taskId] =>
BuildDerivativesTask\n [authToken] => aa7054394d38\n)\n',
g_location='http://ryanoleary.net/papyspictures2/main.php?g2_controller=core.AdminMaintenance&g2_form%5Baction%5D%5BrunTask%5D=1&g2_taskId=BuildDerivativesTask&g2_authToken=aa7054394d38',
g_client='209.234.187.194', g_timestamp=1267116658,
g_referer='http://ryanoleary.net/papyspictures2/main.php?g2_view=core.SiteAdmin&amp;g2_subView=core.AdminMaintenance'
WHERE g_id=601

(mysqlt): INSERT INTO g2_EventLogMap (g_id, g_userId, g_type, g_summary,
g_details, g_location, g_client, g_timestamp, g_referer) VALUES
(601,6,'Image Error','Unable to build image','Error
(ERROR_TOOLKIT_FAILURE)<b>in</b>
modules/jpegtran/classes/JpegtranToolkit.class <b>at line</b>
127 (gallerycoreapi::error) \n<b>in</b>
modules/squarethumb/classes/SquareThumbToolkit.class <b>at
line</b> 112 (jpegtrantoolkit::performoperation)
\n<b>in</b> modules/core/classes/GalleryDerivative.class
<b>at line</b> 452 (squarethumbtoolkit::performoperation)
\n<b>in</b> modules/core/classes/GalleryDerivative.class
<b>at line</b> 274 (galleryderivativeimage::_rebuildcache)
\n<b>in</b> modules/core/classes/GalleryDerivativeImage.class
<b>at line</b> 153 (galleryderivative::rebuildcache)
\n<b>in</b>
modules/core/classes/helpers/GalleryDerivativeHelper_advanced.class
<b>at line</b> 844 (galleryderivativeimage::rebuildcache)
\n<b>in</b> modules/core/classes/GalleryCoreApi.class
<b>at line</b> 997
(galleryderivativehelper_advanced::rebuildcache) \n<b>in</b>
modules/core/classes/helpers/GalleryDerivativeHelper_simple.class
<b>at line</b> 50 (gallerycoreapi::rebuildderivativecache)
\n<b>in</b> modules/core/classes/GalleryCoreApi.class
<b>at line</b> 984
(galleryderivativehelper_simple::rebuildcacheifnotcurrent)
\n<b>in</b> modules/core/classes/BuildDerivativesTask.class
<b>at line</b> 113
(gallerycoreapi::rebuildderivativecacheifnotcurrent)
\n<b>in</b> modules/core/AdminMaintenance.inc <b>at
line</b> 128 (buildderivativestask::run) \n<b>in</b> ???
<b>at line</b> 0 (adminmaintenancecontroller::runtask)
\n<b>in</b> modules/core/classes/GalleryTemplateAdapter.class
<b>at line</b> 1092\n<b>in</b>
g2data/smarty/templates_c/%%570771223/matrix/%%3A^3A8^3A818B59%%theme.tpl.php
<b>at line</b> 75 (gallerytemplateadapter::trailer)
\n<b>in</b> lib/smarty/Smarty.class.php <b>at
line</b> 1255\n<b>in</b>
modules/core/classes/GallerySmarty.class <b>at line</b> 61
(smarty::fetch) \n<b>in</b>
modules/core/classes/GalleryTemplate.class <b>at line</b> 241
(gallerysmarty::fetch) \n<b>in</b> main.php <b>at
line</b> 506 (gallerytemplate::display) \n<b>in</b>
main.php <b>at line</b> 104\n<b>in</b> main.php
<b>at line</b> 88\n\nRequest variables: Array\n(\n
[controller] => core.AdminMaintenance\n [form] => Array\n
(\n [action] => Array\n (\n
[runTask] => 1\n )\n\n )\n\n [taskId] =>
BuildDerivativesTask\n [authToken] =>
aa7054394d38\n)\n','http://ryanoleary.net/papyspictures2/main.php?g2_controller=core.AdminMaintenance&g2_form%5Baction%5D%5BrunTask%5D=1&g2_taskId=BuildDerivativesTask&g2_authToken=aa7054394d38','209.234.187.194',1267116658,'http://ryanoleary.net/papyspictures2/main.php?g2_view=core.SiteAdmin&amp;g2_subView=core.AdminMaintenance')

realpath(/home/roleary/public_html/papyspictures2/modules/core/classes/../../../)
realpath(/home/roleary/public_html/papyspictures2/)

Error (ERROR_TOOLKIT_FAILURE)in
modules/jpegtran/classes/JpegtranToolkit.class at line 127
(gallerycoreapi::error)
in modules/squarethumb/classes/SquareThumbToolkit.class at
line 112 (jpegtrantoolkit::performoperation)
in modules/core/classes/GalleryDerivative.class at line 452
(squarethumbtoolkit::performoperation)
in modules/core/classes/GalleryDerivative.class at line 274
(galleryderivativeimage::_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/BuildDerivativesTask.class at line
113 (gallerycoreapi::rebuildderivativecacheifnotcurrent)
in modules/core/AdminMaintenance.inc at line 128
(buildderivativestask::run)
in ??? at line 0 (adminmaintenancecontroller::runtask)
in modules/core/classes/GalleryTemplateAdapter.class at line
1092
in
g2data/smarty/templates_c/%%570771223/matrix/%%3A^3A8^3A818B59%%theme.tpl.php
at line 75 (gallerytemplateadapter::trailer)
in lib/smarty/Smarty.class.php at line 1255
in modules/core/classes/GallerySmarty.class at line 61
(smarty::fetch)
in modules/core/classes/GalleryTemplate.class at line 241
(gallerysmarty::fetch)
in main.php at line 506 (gallerytemplate::display)
in main.php at line 104
in main.php at line 88

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

(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (1791)

(mysqlt):
SELECT
g2_TkPropertyMimeTypeMap.g_toolkitId
FROM
g2_TkPropertyMap,
g2_TkPropertyMimeTypeMap
WHERE
g2_TkPropertyMap.g_name = g2_TkPropertyMimeTypeMap.g_propertyName
AND
g2_TkPropertyMimeTypeMap.g_mimeType = 'image/gif'
AND
g2_TkPropertyMap.g_name = 'dimensions'

getimagesize(/home/roleary/public_html/papyspictures2/g2data/cache/derivative/1/7/1791.dat)

(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (1791)

file_exists(/home/roleary/public_html/papyspictures2/g2data/cache/entity/1/7/1788.inc)
file_exists(/home/roleary/public_html/papyspictures2/g2data/cache/derivative/1/7/1788.dat)
file_exists(/home/roleary/public_html/papyspictures2/g2data/cache/entity/1/7/1787.inc)
fopen(/home/roleary/public_html/papyspictures2/g2data/locks/1788, wb+, 0)
flock(Resource id #169, 6, )

(mysqlt): SELECT g_id, g_entityType FROM g2_Entity WHERE g_id IN (1788)

(mysqlt): SELECT g2_DerivativeImage.g_width, g2_DerivativeImage.g_height,
g2_Derivative.g_derivativeSourceId, g2_Derivative.g_derivativeOperations,
g2_Derivative.g_derivativeOrder, g2_Derivative.g_derivativeSize,
g2_Derivative.g_derivativeType, g2_Derivative.g_mimeType,
g2_Derivative.g_postFilterOperations, g2_Derivative.g_isBroken,
g2_ChildEntity.g_parentId, g2_Entity.g_id, g2_Entity.g_creationTimestamp,
g2_Entity.g_isLinkable, g2_Entity.g_linkId,
g2_Entity.g_modificationTimestamp, g2_Entity.g_serialNumber,
g2_Entity.g_entityType, g2_Entity.g_onLoadHandlers FROM
g2_DerivativeImage, g2_Derivative, g2_ChildEntity, g2_Entity WHERE
g2_DerivativeImage.g_id IN (1788) AND
g2_Derivative.g_id=g2_DerivativeImage.g_id AND
g2_ChildEntity.g_id=g2_DerivativeImage.g_id AND
g2_Entity.g_id=g2_DerivativeImage.g_id

file_exists(/home/roleary/public_html/papyspictures2/g2data/cache/derivative/1/7)
is_dir(/home/roleary/public_html/papyspictures2/g2data/cache/derivative/1/7)
getParameter path for jpegtran plugin
tempnam(/home/roleary/public_html/papyspictures2/g2data/tmp/, jpgt_)
getcwd()
chdir(/home/roleary/public_html/papyspictures2/g2data/tmp/)
Executing: ( "/usr/bin/jpegtran" "-verbose" "-copy" "all" "-crop"
"2000x2000+0+504" "-outfile"
"/home/roleary/public_html/papyspictures2/g2data/tmp/jpgt_Hedhwt"
"/home/roleary/public_html/papyspictures2/g2data/albums/08tahoe1/scenic/DSC_0203.JPG"
) 2>"/home/roleary/public_html/papyspictures2/g2data/tmp/g2dbgsCZRwQ"
file_exists(/home/roleary/public_html/papyspictures2/g2data/tmp/g2dbgsCZRwQ)
filesize(/home/roleary/public_html/papyspictures2/g2data/tmp/g2dbgsCZRwQ)
fopen(/home/roleary/public_html/papyspictures2/g2data/tmp/g2dbgsCZRwQ, r,
0)
feof(Resource id #173)
fgets(Resource id #173, 4096)
feof(Resource id #173)
fgets(Resource id #173, 4096)
feof(Resource id #173)
fgets(Resource id #173, 4096)
feof(Resource id #173)
fgets(Resource id #173, 4096)
feof(Resource id #173)
fgets(Resource id #173, 4096)
feof(Resource id #173)
fgets(Resource id #173, 4096)
feof(Resource id #173)
fgets(Resource id #173, 4096)
feof(Resource id #173)
fgets(Resource id #173, 4096)
feof(Resource id #173)
fgets(Resource id #173, 4096)
feof(Resource id #173)
fgets(Resource id #173, 4096)
feof(Resource id #173)
fgets(Resource id #173, 4096)
feof(Resource id #173)
fgets(Resource id #173, 4096)
feof(Resource id #173)
fgets(Resource id #173, 4096)
feof(Resource id #173)
fgets(Resource id #173, 4096)
feof(Resource id #173)
fgets(Resource id #173, 4096)
feof(Resource id #173)
fgets(Resource id #173, 4096)
feof(Resource id #173)
fgets(Resource id #173, 4096)
feof(Resource id #173)
fgets(Resource id #173, 4096)
feof(Resource id #173)
fgets(Resource id #173, 4096)
feof(Resource id #173)
fgets(Resource id #173, 4096)
feof(Resource id #173)
fgets(Resource id #173, 4096)
feof(Resource id #173)
fgets(Resource id #173, 4096)
feof(Resource id #173)
fgets(Resource id #173, 4096)
feof(Resource id #173)
fgets(Resource id #173, 4096)
feof(Resource id #173)
fclose(Resource id #173)
unlink(/home/roleary/public_html/papyspictures2/g2data/tmp/g2dbgsCZRwQ)
Regular Output:
Error Output:
Independent JPEG Group's JPEGTRAN, version 6b 27-Mar-1998
Copyright (C) 1998, Thomas G. Lane
usage: /usr/bin/jpegtran [switches] [inputfile]
Switches (names may be abbreviated):
-copy none Copy no extra markers from source file
-copy comments Copy only comment markers (default)
-copy all Copy all extra markers
-optimize Optimize Huffman table (smaller file, but slow
compression)
-progressive Create progressive JPEG file
Switches for modifying the image:
-grayscale Reduce to grayscale (omit color data)
-flip [horizontal|vertical] Mirror image (left-right or top-bottom)
-rotate [90|180|270] Rotate image (degrees clockwise)
-transpose Transpose image
-transverse Transverse transpose image
-trim Drop non-transformable edge blocks
Switches for advanced users:
-restart N Set restart interval in rows, or in blocks with B
-maxmemory N Maximum memory to use (in kbytes)
-outfile name Specify name for output file
-verbose or -debug Emit debug output
Switches for wizards:
-scans file Create multi-scan JPEG per script file
Status: 1 (expected 0)
unlink(/home/roleary/public_html/papyspictures2/g2data/tmp/jpgt_Hedhwt)
chdir(/home/roleary/public_html/papyspictures2)
realpath(/home/roleary/public_html/papyspictures2/modules/core/classes/../../../)
realpath(/home/roleary/public_html/papyspictures2/)

(mysqlt): update g2_SequenceEventLog set id=LAST_INSERT_ID(id+1);

(mysqlt): UPDATE g2_EventLogMap SET g_userId=6, g_type='Image Error',
g_summary='Unable to build image', g_details='Error
(ERROR_TOOLKIT_FAILURE)<b>in</b>
modules/jpegtran/classes/JpegtranToolkit.class <b>at line</b>
127 (gallerycoreapi::error) \n<b>in</b>
modules/squarethumb/classes/SquareThumbToolkit.class <b>at
line</b> 112 (jpegtrantoolkit::performoperation)
\n<b>in</b> modules/core/classes/GalleryDerivative.class
<b>at line</b> 452 (squarethumbtoolkit::performoperation)
\n<b>in</b> modules/core/classes/GalleryDerivative.class
<b>at line</b> 274 (galleryderivativeimage::_rebuildcache)
\n<b>in</b> modules/core/classes/GalleryDerivativeImage.class
<b>at line</b> 153 (galleryderivative::rebuildcache)
\n<b>in</b>
modules/core/classes/helpers/GalleryDerivativeHelper_advanced.class
<b>at line</b> 844 (galleryderivativeimage::rebuildcache)
\n<b>in</b> modules/core/classes/GalleryCoreApi.class
<b>at line</b> 997
(galleryderivativehelper_advanced::rebuildcache) \n<b>in</b>
modules/core/classes/helpers/GalleryDerivativeHelper_simple.class
<b>at line</b> 50 (gallerycoreapi::rebuildderivativecache)
\n<b>in</b> modules/core/classes/GalleryCoreApi.class
<b>at line</b> 984
(galleryderivativehelper_simple::rebuildcacheifnotcurrent)
\n<b>in</b> modules/core/classes/BuildDerivativesTask.class
<b>at line</b> 113
(gallerycoreapi::rebuildderivativecacheifnotcurrent)
\n<b>in</b> modules/core/AdminMaintenance.inc <b>at
line</b> 128 (buildderivativestask::run) \n<b>in</b> ???
<b>at line</b> 0 (adminmaintenancecontroller::runtask)
\n<b>in</b> modules/core/classes/GalleryTemplateAdapter.class
<b>at line</b> 1092\n<b>in</b>
g2data/smarty/templates_c/%%570771223/matrix/%%3A^3A8^3A818B59%%theme.tpl.php
<b>at line</b> 75 (gallerytemplateadapter::trailer)
\n<b>in</b> lib/smarty/Smarty.class.php <b>at
line</b> 1255\n<b>in</b>
modules/core/classes/GallerySmarty.class <b>at line</b> 61
(smarty::fetch) \n<b>in</b>
modules/core/classes/GalleryTemplate.class <b>at line</b> 241
(gallerysmarty::fetch) \n<b>in</b> main.php <b>at
line</b> 506 (gallerytemplate::display) \n<b>in</b>
main.php <b>at line</b> 104\n<b>in</b> main.php
<b>at line</b> 88\n\nRequest variables: Array\n(\n
[controller] => core.AdminMaintenance\n [form] => Array\n
(\n [action] => Array\n (\n
[runTask] => 1\n )\n\n )\n\n [taskId] =>
BuildDerivativesTask\n [authToken] => aa7054394d38\n)\n',
g_location='http://ryanoleary.net/papyspictures2/main.php?g2_controller=core.AdminMaintenance&g2_form%5Baction%5D%5BrunTask%5D=1&g2_taskId=BuildDerivativesTask&g2_authToken=aa7054394d38',
g_client='209.234.187.194', g_timestamp=1267116658,
g_referer='http://ryanoleary.net/papyspictures2/main.php?g2_view=core.SiteAdmin&amp;g2_subView=core.AdminMaintenance'
WHERE g_id=602

(mysqlt): INSERT INTO g2_EventLogMap (g_id, g_userId, g_type, g_summary,
g_details, g_location, g_client, g_timestamp, g_referer) VALUES
(602,6,'Image Error','Unable to build image','Error
(ERROR_TOOLKIT_FAILURE)<b>in</b>
modules/jpegtran/classes/JpegtranToolkit.class <b>at line</b>
127 (gallerycoreapi::error) \n<b>in</b>
modules/squarethumb/classes/SquareThumbToolkit.class <b>at
line</b> 112 (jpegtrantoolkit::performoperation)
\n<b>in</b> modules/core/classes/GalleryDerivative.class
<b>at line</b> 452 (squarethumbtoolkit::performoperation)
\n<b>in</b> modules/core/classes/GalleryDerivative.class
<b>at line</b> 274 (galleryderivativeimage::_rebuildcache)
\n<b>in</b> modules/core/classes/GalleryDerivativeImage.class
<b>at line</b> 153 (galleryderivative::rebuildcache)
\n<b>in</b>
modules/core/classes/helpers/GalleryDerivativeHelper_advanced.class
<b>at line</b> 844 (galleryderivativeimage::rebuildcache)
\n<b>in</b> modules/core/classes/GalleryCoreApi.class
<b>at line</b> 997
(galleryderivativehelper_advanced::rebuildcache) \n<b>in</b>
modules/core/classes/helpers/GalleryDerivativeHelper_simple.class
<b>at line</b> 50 (gallerycoreapi::rebuildderivativecache)
\n<b>in</b> modules/core/classes/GalleryCoreApi.class
<b>at line</b> 984
(galleryderivativehelper_simple::rebuildcacheifnotcurrent)
\n<b>in</b> modules/core/classes/BuildDerivativesTask.class
<b>at line</b> 113
(gallerycoreapi::rebuildderivativecacheifnotcurrent)
\n<b>in</b> modules/core/AdminMaintenance.inc <b>at
line</b> 128 (buildderivativestask::run) \n<b>in</b> ???
<b>at line</b> 0 (adminmaintenancecontroller::runtask)
\n<b>in</b> modules/core/classes/GalleryTemplateAdapter.class
<b>at line</b> 1092\n<b>in</b>
g2data/smarty/templates_c/%%570771223/matrix/%%3A^3A8^3A818B59%%theme.tpl.php
<b>at line</b> 75 (gallerytemplateadapter::trailer)
\n<b>in</b> lib/smarty/Smarty.class.php <b>at
line</b> 1255\n<b>in</b>
modules/core/classes/GallerySmarty.class <b>at line</b> 61
(smarty::fetch) \n<b>in</b>
modules/core/classes/GalleryTemplate.class <b>at line</b> 241
(gallerysmarty::fetch) \n<b>in</b> main.php <b>at
line</b> 506 (gallerytemplate::display) \n<b>in</b>
main.php <b>at line</b> 104\n<b>in</b> main.php
<b>at line</b> 88\n\nRequest variables: Array\n(\n
[controller] => core.AdminMaintenance\n [form] => Array\n
(\n [action] => Array\n (\n
[runTask] => 1\n )\n\n )\n\n [taskId] =>
BuildDerivativesTask\n [authToken] =>
aa7054394d38\n)\n','http://ryanoleary.net/papyspictures2/main.php?g2_controller=core.AdminMaintenance&g2_form%5Baction%5D%5BrunTask%5D=1&g2_taskId=BuildDerivativesTask&g2_authToken=aa7054394d38','209.234.187.194',1267116658,'http://ryanoleary.net/papyspictures2/main.php?g2_view=core.SiteAdmin&amp;g2_subView=core.AdminMaintenance')