Build all thumnails/resize

OneLittleBoy

Joined: 2009-03-14
Posts: 4
Posted: Fri, 2010-03-12 20:08

When I Build all thumbnails/resize I get this, and my thumbnail is not working. Why? Can someone help me?

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/148.inc)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/148.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/147.inc)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/147.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/146.inc)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/146.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/145.inc)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/145.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/143.inc)
getParameter lock.system for core plugin
fopen(/home/tttnguye/public_html/gallery/g2data/locks/145, wb+, 0)
flock(Resource id #125, 6, )
--------------------------------------------------------------------------------
(mysqlt): SELECT g_id, g_entityType FROM g2_Entity WHERE g_id IN (145)

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(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
(145) 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/tttnguye/public_html/gallery/g2data/cache/derivative/1/4)
is_dir(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4)
file_exists(/home/tttnguye/public_html/gallery/modules/archiveupload/classes/ArchiveExtractToolkit.class)
file_exists(/home/tttnguye/public_html/gallery/modules/dcraw/classes/DcrawToolkit.class)
file_exists(/home/tttnguye/public_html/gallery/modules/exif/classes/ExifToolkit.class)
file_exists(/home/tttnguye/public_html/gallery/modules/ffmpeg/classes/FfmpegToolkit.class)
file_exists(/home/tttnguye/public_html/gallery/modules/getid3/classes/Getid3Toolkit.class)
file_exists(/home/tttnguye/public_html/gallery/modules/imagemagick/classes/ImageMagickToolkit.class)
file_exists(/home/tttnguye/public_html/gallery/modules/jpegtran/classes/JpegtranToolkit.class)
file_exists(/home/tttnguye/public_html/gallery/modules/linkitem/classes/LinkItemToolkit.class)
file_exists(/home/tttnguye/public_html/gallery/modules/netpbm/classes/NetPbmToolkit.class)
file_exists(/home/tttnguye/public_html/gallery/modules/squarethumb/classes/SquareThumbToolkit.class)
file_exists(/home/tttnguye/public_html/gallery/modules/thumbnail/classes/ThumbnailToolkit.class)
file_exists(/home/tttnguye/public_html/gallery/modules/gd/classes/GdToolkit.class)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/0/3/39.inc)
file_exists(/home/tttnguye/public_html/gallery/modules/password/module.inc)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/0/3/35.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/tttnguye/public_html/gallery/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/tttnguye/public_html/gallery/g2data/cache/module/jpegtran/0/0/0.inc)
tempnam(/home/tttnguye/public_html/gallery/g2data/tmp/, jpgt_)
getcwd()
chdir(/home/tttnguye/public_html/gallery/g2data/tmp/)
getParameter exec.beNice for core plugin
Executing: ( "/usr/bin/jpegtran" "-verbose" "-copy" "all" "-crop"
"428x428+28+0" "-outfile"
"/home/tttnguye/public_html/gallery/g2data/tmp/jpgt_51hHHM"
"/home/tttnguye/public_html/gallery/g2data/albums/my
album/photo1/vdayheart.jpg" )
2>"/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgyfyFeb"
getParameter exec.expectedStatus for core plugin
file_exists(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgyfyFeb)
filesize(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgyfyFeb)
fopen(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgyfyFeb, r, 0)
feof(Resource id #158)
fgets(Resource id #158, 4096)
feof(Resource id #158)
fgets(Resource id #158, 4096)
feof(Resource id #158)
fgets(Resource id #158, 4096)
feof(Resource id #158)
fgets(Resource id #158, 4096)
feof(Resource id #158)
fgets(Resource id #158, 4096)
feof(Resource id #158)
fgets(Resource id #158, 4096)
feof(Resource id #158)
fgets(Resource id #158, 4096)
feof(Resource id #158)
fgets(Resource id #158, 4096)
feof(Resource id #158)
fgets(Resource id #158, 4096)
feof(Resource id #158)
fgets(Resource id #158, 4096)
feof(Resource id #158)
fgets(Resource id #158, 4096)
feof(Resource id #158)
fgets(Resource id #158, 4096)
feof(Resource id #158)
fgets(Resource id #158, 4096)
feof(Resource id #158)
fgets(Resource id #158, 4096)
feof(Resource id #158)
fgets(Resource id #158, 4096)
feof(Resource id #158)
fgets(Resource id #158, 4096)
feof(Resource id #158)
fgets(Resource id #158, 4096)
feof(Resource id #158)
fgets(Resource id #158, 4096)
feof(Resource id #158)
fgets(Resource id #158, 4096)
feof(Resource id #158)
fgets(Resource id #158, 4096)
feof(Resource id #158)
fgets(Resource id #158, 4096)
feof(Resource id #158)
fgets(Resource id #158, 4096)
feof(Resource id #158)
fgets(Resource id #158, 4096)
feof(Resource id #158)
fgets(Resource id #158, 4096)
feof(Resource id #158)
fclose(Resource id #158)
unlink(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgyfyFeb)
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/tttnguye/public_html/gallery/g2data/tmp/jpgt_51hHHM)
chdir(/home/tttnguye/public_html/gallery)
realpath(/home/tttnguye/public_html/gallery/modules/core/classes/../../../)
realpath(/home/tttnguye/public_html/gallery/)
--------------------------------------------------------------------------------
(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 (GalleryDerivative::_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/helpers/GalleryDerivativeHelper_advanced.class
<b>at line</b> 822
(GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
\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/helpers/GalleryDerivativeHelper_advanced.class
<b>at line</b> 822
(GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
\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/helpers/GalleryDerivativeHelper_advanced.class
<b>at line</b> 822
(GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
\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/%%3831966382/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] => 44cf52325f36\n)\n',
g_location='http://tttnguyen.com/gallery/main.php?g2_controller=core.AdminMaintenance&g2_form%5Baction%5D%5BrunTask%5D=1&g2_taskId=BuildDerivativesTask&g2_authToken=44cf52325f36',
g_client='99.179.81.110', g_timestamp=1268424184,
g_referer='http://tttnguyen.com/gallery/main.php?g2_view=core.SiteAdmin&amp;g2_subView=core.AdminMaintenance'
WHERE g_id=122
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysqlt): INSERT INTO g2_EventLogMap (g_id, g_userId, g_type, g_summary,
g_details, g_location, g_client, g_timestamp, g_referer) VALUES
(122,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 (GalleryDerivative::_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/helpers/GalleryDerivativeHelper_advanced.class
<b>at line</b> 822
(GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
\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/helpers/GalleryDerivativeHelper_advanced.class
<b>at line</b> 822
(GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
\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/helpers/GalleryDerivativeHelper_advanced.class
<b>at line</b> 822
(GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
\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/%%3831966382/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] =>
44cf52325f36\n)\n','http://tttnguyen.com/gallery/main.php?g2_controller=core.AdminMaintenance&g2_form%5Baction%5D%5BrunTask%5D=1&g2_taskId=BuildDerivativesTask&g2_authToken=44cf52325f36','99.179.81.110',1268424184,'http://tttnguyen.com/gallery/main.php?g2_view=core.SiteAdmin&amp;g2_subView=core.AdminMaintenance')

--------------------------------------------------------------------------------

realpath(/home/tttnguye/public_html/gallery/modules/core/classes/../../../)
realpath(/home/tttnguye/public_html/gallery/)

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
(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/helpers/GalleryDerivativeHelper_advanced.class at
line 822 (GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
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/helpers/GalleryDerivativeHelper_advanced.class at
line 822 (GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
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/helpers/GalleryDerivativeHelper_advanced.class at
line 822 (GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
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/%%3831966382/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/tttnguye/public_html/gallery/modules/core/classes/../data/broken-image.gif,
/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/145.dat)
getParameter permissions.file for core plugin
getParameter permissions.directory for core plugin
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/module/_all/0/0/GalleryMimeTypeHelper_mimeData.inc)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/145.dat)
filesize(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/145.dat)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (145)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/146.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/146-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (146)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/147.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/147-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (147)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/148.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/148-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (148)

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(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/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/145.dat)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (145)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/146.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/146-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (146)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/147.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/147-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (147)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/148.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/148-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (148)

--------------------------------------------------------------------------------

fopen(/home/tttnguye/public_html/gallery/g2data/locks/146, wb+, 0)
flock(Resource id #177, 6, )
--------------------------------------------------------------------------------
(mysqlt): SELECT g_id, g_entityType FROM g2_Entity WHERE g_id IN (146)

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(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
(146) 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/tttnguye/public_html/gallery/g2data/cache/derivative/1/4)
is_dir(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4)
getParameter path for jpegtran plugin
tempnam(/home/tttnguye/public_html/gallery/g2data/tmp/, jpgt_)
getcwd()
chdir(/home/tttnguye/public_html/gallery/g2data/tmp/)
Executing: ( "/usr/bin/jpegtran" "-verbose" "-copy" "all" "-crop"
"428x428+28+0" "-outfile"
"/home/tttnguye/public_html/gallery/g2data/tmp/jpgt_9sUoPz"
"/home/tttnguye/public_html/gallery/g2data/albums/my
album/photo1/vdayheart.jpg" )
2>"/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgaEm9pY"
file_exists(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgaEm9pY)
filesize(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgaEm9pY)
fopen(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgaEm9pY, r, 0)
feof(Resource id #181)
fgets(Resource id #181, 4096)
feof(Resource id #181)
fgets(Resource id #181, 4096)
feof(Resource id #181)
fgets(Resource id #181, 4096)
feof(Resource id #181)
fgets(Resource id #181, 4096)
feof(Resource id #181)
fgets(Resource id #181, 4096)
feof(Resource id #181)
fgets(Resource id #181, 4096)
feof(Resource id #181)
fgets(Resource id #181, 4096)
feof(Resource id #181)
fgets(Resource id #181, 4096)
feof(Resource id #181)
fgets(Resource id #181, 4096)
feof(Resource id #181)
fgets(Resource id #181, 4096)
feof(Resource id #181)
fgets(Resource id #181, 4096)
feof(Resource id #181)
fgets(Resource id #181, 4096)
feof(Resource id #181)
fgets(Resource id #181, 4096)
feof(Resource id #181)
fgets(Resource id #181, 4096)
feof(Resource id #181)
fgets(Resource id #181, 4096)
feof(Resource id #181)
fgets(Resource id #181, 4096)
feof(Resource id #181)
fgets(Resource id #181, 4096)
feof(Resource id #181)
fgets(Resource id #181, 4096)
feof(Resource id #181)
fgets(Resource id #181, 4096)
feof(Resource id #181)
fgets(Resource id #181, 4096)
feof(Resource id #181)
fgets(Resource id #181, 4096)
feof(Resource id #181)
fgets(Resource id #181, 4096)
feof(Resource id #181)
fgets(Resource id #181, 4096)
feof(Resource id #181)
fgets(Resource id #181, 4096)
feof(Resource id #181)
fclose(Resource id #181)
unlink(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgaEm9pY)
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/tttnguye/public_html/gallery/g2data/tmp/jpgt_9sUoPz)
chdir(/home/tttnguye/public_html/gallery)
realpath(/home/tttnguye/public_html/gallery/modules/core/classes/../../../)
realpath(/home/tttnguye/public_html/gallery/)
--------------------------------------------------------------------------------
(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 (GalleryDerivative::_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/helpers/GalleryDerivativeHelper_advanced.class
<b>at line</b> 822
(GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
\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/helpers/GalleryDerivativeHelper_advanced.class
<b>at line</b> 822
(GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
\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/%%3831966382/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] => 44cf52325f36\n)\n',
g_location='http://tttnguyen.com/gallery/main.php?g2_controller=core.AdminMaintenance&g2_form%5Baction%5D%5BrunTask%5D=1&g2_taskId=BuildDerivativesTask&g2_authToken=44cf52325f36',
g_client='99.179.81.110', g_timestamp=1268424184,
g_referer='http://tttnguyen.com/gallery/main.php?g2_view=core.SiteAdmin&amp;g2_subView=core.AdminMaintenance'
WHERE g_id=123
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysqlt): INSERT INTO g2_EventLogMap (g_id, g_userId, g_type, g_summary,
g_details, g_location, g_client, g_timestamp, g_referer) VALUES
(123,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 (GalleryDerivative::_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/helpers/GalleryDerivativeHelper_advanced.class
<b>at line</b> 822
(GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
\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/helpers/GalleryDerivativeHelper_advanced.class
<b>at line</b> 822
(GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
\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/%%3831966382/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] =>
44cf52325f36\n)\n','http://tttnguyen.com/gallery/main.php?g2_controller=core.AdminMaintenance&g2_form%5Baction%5D%5BrunTask%5D=1&g2_taskId=BuildDerivativesTask&g2_authToken=44cf52325f36','99.179.81.110',1268424184,'http://tttnguyen.com/gallery/main.php?g2_view=core.SiteAdmin&amp;g2_subView=core.AdminMaintenance')

--------------------------------------------------------------------------------

realpath(/home/tttnguye/public_html/gallery/modules/core/classes/../../../)
realpath(/home/tttnguye/public_html/gallery/)

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
(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/helpers/GalleryDerivativeHelper_advanced.class at
line 822 (GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
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/helpers/GalleryDerivativeHelper_advanced.class at
line 822 (GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
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/%%3831966382/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/tttnguye/public_html/gallery/modules/core/classes/../data/broken-image.gif,
/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/146.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/146.dat)
filesize(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/146.dat)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (146)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/147.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/147-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (147)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/148.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/148-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (148)

--------------------------------------------------------------------------------

getimagesize(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/146.dat)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (146)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/147.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/147-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (147)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/148.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/148-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (148)

--------------------------------------------------------------------------------

fopen(/home/tttnguye/public_html/gallery/g2data/locks/147, wb+, 0)
flock(Resource id #191, 6, )
--------------------------------------------------------------------------------
(mysqlt): SELECT g_id, g_entityType FROM g2_Entity WHERE g_id IN (147)

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(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
(147) 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/tttnguye/public_html/gallery/g2data/cache/derivative/1/4)
is_dir(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4)
getParameter path for jpegtran plugin
tempnam(/home/tttnguye/public_html/gallery/g2data/tmp/, jpgt_)
getcwd()
chdir(/home/tttnguye/public_html/gallery/g2data/tmp/)
Executing: ( "/usr/bin/jpegtran" "-verbose" "-copy" "all" "-crop"
"428x428+28+0" "-outfile"
"/home/tttnguye/public_html/gallery/g2data/tmp/jpgt_9D1I3m"
"/home/tttnguye/public_html/gallery/g2data/albums/my
album/photo1/vdayheart.jpg" )
2>"/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgM4NjHL"
file_exists(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgM4NjHL)
filesize(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgM4NjHL)
fopen(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgM4NjHL, r, 0)
feof(Resource id #195)
fgets(Resource id #195, 4096)
feof(Resource id #195)
fgets(Resource id #195, 4096)
feof(Resource id #195)
fgets(Resource id #195, 4096)
feof(Resource id #195)
fgets(Resource id #195, 4096)
feof(Resource id #195)
fgets(Resource id #195, 4096)
feof(Resource id #195)
fgets(Resource id #195, 4096)
feof(Resource id #195)
fgets(Resource id #195, 4096)
feof(Resource id #195)
fgets(Resource id #195, 4096)
feof(Resource id #195)
fgets(Resource id #195, 4096)
feof(Resource id #195)
fgets(Resource id #195, 4096)
feof(Resource id #195)
fgets(Resource id #195, 4096)
feof(Resource id #195)
fgets(Resource id #195, 4096)
feof(Resource id #195)
fgets(Resource id #195, 4096)
feof(Resource id #195)
fgets(Resource id #195, 4096)
feof(Resource id #195)
fgets(Resource id #195, 4096)
feof(Resource id #195)
fgets(Resource id #195, 4096)
feof(Resource id #195)
fgets(Resource id #195, 4096)
feof(Resource id #195)
fgets(Resource id #195, 4096)
feof(Resource id #195)
fgets(Resource id #195, 4096)
feof(Resource id #195)
fgets(Resource id #195, 4096)
feof(Resource id #195)
fgets(Resource id #195, 4096)
feof(Resource id #195)
fgets(Resource id #195, 4096)
feof(Resource id #195)
fgets(Resource id #195, 4096)
feof(Resource id #195)
fgets(Resource id #195, 4096)
feof(Resource id #195)
fclose(Resource id #195)
unlink(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgM4NjHL)
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/tttnguye/public_html/gallery/g2data/tmp/jpgt_9D1I3m)
chdir(/home/tttnguye/public_html/gallery)
realpath(/home/tttnguye/public_html/gallery/modules/core/classes/../../../)
realpath(/home/tttnguye/public_html/gallery/)
--------------------------------------------------------------------------------
(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 (GalleryDerivative::_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/helpers/GalleryDerivativeHelper_advanced.class
<b>at line</b> 822
(GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
\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/%%3831966382/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] => 44cf52325f36\n)\n',
g_location='http://tttnguyen.com/gallery/main.php?g2_controller=core.AdminMaintenance&g2_form%5Baction%5D%5BrunTask%5D=1&g2_taskId=BuildDerivativesTask&g2_authToken=44cf52325f36',
g_client='99.179.81.110', g_timestamp=1268424184,
g_referer='http://tttnguyen.com/gallery/main.php?g2_view=core.SiteAdmin&amp;g2_subView=core.AdminMaintenance'
WHERE g_id=124
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysqlt): INSERT INTO g2_EventLogMap (g_id, g_userId, g_type, g_summary,
g_details, g_location, g_client, g_timestamp, g_referer) VALUES
(124,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 (GalleryDerivative::_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/helpers/GalleryDerivativeHelper_advanced.class
<b>at line</b> 822
(GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
\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/%%3831966382/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] =>
44cf52325f36\n)\n','http://tttnguyen.com/gallery/main.php?g2_controller=core.AdminMaintenance&g2_form%5Baction%5D%5BrunTask%5D=1&g2_taskId=BuildDerivativesTask&g2_authToken=44cf52325f36','99.179.81.110',1268424184,'http://tttnguyen.com/gallery/main.php?g2_view=core.SiteAdmin&amp;g2_subView=core.AdminMaintenance')

--------------------------------------------------------------------------------

realpath(/home/tttnguye/public_html/gallery/modules/core/classes/../../../)
realpath(/home/tttnguye/public_html/gallery/)

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
(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/helpers/GalleryDerivativeHelper_advanced.class at
line 822 (GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
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/%%3831966382/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/tttnguye/public_html/gallery/modules/core/classes/../data/broken-image.gif,
/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/147.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/147.dat)
filesize(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/147.dat)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (147)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/148.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/148-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (148)

--------------------------------------------------------------------------------

getimagesize(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/147.dat)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (147)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/148.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/148-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (148)

--------------------------------------------------------------------------------

fopen(/home/tttnguye/public_html/gallery/g2data/locks/148, wb+, 0)
flock(Resource id #203, 6, )
--------------------------------------------------------------------------------
(mysqlt): SELECT g_id, g_entityType FROM g2_Entity WHERE g_id IN (148)

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(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
(148) 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/tttnguye/public_html/gallery/g2data/cache/derivative/1/4)
is_dir(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4)
getParameter path for jpegtran plugin
tempnam(/home/tttnguye/public_html/gallery/g2data/tmp/, jpgt_)
getcwd()
chdir(/home/tttnguye/public_html/gallery/g2data/tmp/)
Executing: ( "/usr/bin/jpegtran" "-verbose" "-copy" "all" "-crop"
"428x428+28+0" "-outfile"
"/home/tttnguye/public_html/gallery/g2data/tmp/jpgt_TmQBna"
"/home/tttnguye/public_html/gallery/g2data/albums/my
album/photo1/vdayheart.jpg" )
2>"/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgsnYU3y"
file_exists(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgsnYU3y)
filesize(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgsnYU3y)
fopen(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgsnYU3y, r, 0)
feof(Resource id #207)
fgets(Resource id #207, 4096)
feof(Resource id #207)
fgets(Resource id #207, 4096)
feof(Resource id #207)
fgets(Resource id #207, 4096)
feof(Resource id #207)
fgets(Resource id #207, 4096)
feof(Resource id #207)
fgets(Resource id #207, 4096)
feof(Resource id #207)
fgets(Resource id #207, 4096)
feof(Resource id #207)
fgets(Resource id #207, 4096)
feof(Resource id #207)
fgets(Resource id #207, 4096)
feof(Resource id #207)
fgets(Resource id #207, 4096)
feof(Resource id #207)
fgets(Resource id #207, 4096)
feof(Resource id #207)
fgets(Resource id #207, 4096)
feof(Resource id #207)
fgets(Resource id #207, 4096)
feof(Resource id #207)
fgets(Resource id #207, 4096)
feof(Resource id #207)
fgets(Resource id #207, 4096)
feof(Resource id #207)
fgets(Resource id #207, 4096)
feof(Resource id #207)
fgets(Resource id #207, 4096)
feof(Resource id #207)
fgets(Resource id #207, 4096)
feof(Resource id #207)
fgets(Resource id #207, 4096)
feof(Resource id #207)
fgets(Resource id #207, 4096)
feof(Resource id #207)
fgets(Resource id #207, 4096)
feof(Resource id #207)
fgets(Resource id #207, 4096)
feof(Resource id #207)
fgets(Resource id #207, 4096)
feof(Resource id #207)
fgets(Resource id #207, 4096)
feof(Resource id #207)
fgets(Resource id #207, 4096)
feof(Resource id #207)
fclose(Resource id #207)
unlink(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgsnYU3y)
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/tttnguye/public_html/gallery/g2data/tmp/jpgt_TmQBna)
chdir(/home/tttnguye/public_html/gallery)
realpath(/home/tttnguye/public_html/gallery/modules/core/classes/../../../)
realpath(/home/tttnguye/public_html/gallery/)
--------------------------------------------------------------------------------
(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 (GalleryDerivative::_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/%%3831966382/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] => 44cf52325f36\n)\n',
g_location='http://tttnguyen.com/gallery/main.php?g2_controller=core.AdminMaintenance&g2_form%5Baction%5D%5BrunTask%5D=1&g2_taskId=BuildDerivativesTask&g2_authToken=44cf52325f36',
g_client='99.179.81.110', g_timestamp=1268424184,
g_referer='http://tttnguyen.com/gallery/main.php?g2_view=core.SiteAdmin&amp;g2_subView=core.AdminMaintenance'
WHERE g_id=125
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysqlt): INSERT INTO g2_EventLogMap (g_id, g_userId, g_type, g_summary,
g_details, g_location, g_client, g_timestamp, g_referer) VALUES
(125,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 (GalleryDerivative::_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/%%3831966382/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] =>
44cf52325f36\n)\n','http://tttnguyen.com/gallery/main.php?g2_controller=core.AdminMaintenance&g2_form%5Baction%5D%5BrunTask%5D=1&g2_taskId=BuildDerivativesTask&g2_authToken=44cf52325f36','99.179.81.110',1268424184,'http://tttnguyen.com/gallery/main.php?g2_view=core.SiteAdmin&amp;g2_subView=core.AdminMaintenance')

--------------------------------------------------------------------------------

realpath(/home/tttnguye/public_html/gallery/modules/core/classes/../../../)
realpath(/home/tttnguye/public_html/gallery/)

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
(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/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/%%3831966382/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/tttnguye/public_html/gallery/modules/core/classes/../data/broken-image.gif,
/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/148.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/148.dat)
filesize(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/148.dat)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (148)

--------------------------------------------------------------------------------

getimagesize(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/148.dat)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (148)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/147.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/146.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/145.dat)
--------------------------------------------------------------------------------
(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
(145) 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/tttnguye/public_html/gallery/g2data/cache/derivative/1/4)
is_dir(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4)
getParameter path for jpegtran plugin
tempnam(/home/tttnguye/public_html/gallery/g2data/tmp/, jpgt_)
getcwd()
chdir(/home/tttnguye/public_html/gallery/g2data/tmp/)
Executing: ( "/usr/bin/jpegtran" "-verbose" "-copy" "all" "-crop"
"428x428+28+0" "-outfile"
"/home/tttnguye/public_html/gallery/g2data/tmp/jpgt_VA8FMX"
"/home/tttnguye/public_html/gallery/g2data/albums/my
album/photo1/vdayheart.jpg" )
2>"/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgsSpsvm"
file_exists(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgsSpsvm)
filesize(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgsSpsvm)
fopen(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgsSpsvm, r, 0)
feof(Resource id #215)
fgets(Resource id #215, 4096)
feof(Resource id #215)
fgets(Resource id #215, 4096)
feof(Resource id #215)
fgets(Resource id #215, 4096)
feof(Resource id #215)
fgets(Resource id #215, 4096)
feof(Resource id #215)
fgets(Resource id #215, 4096)
feof(Resource id #215)
fgets(Resource id #215, 4096)
feof(Resource id #215)
fgets(Resource id #215, 4096)
feof(Resource id #215)
fgets(Resource id #215, 4096)
feof(Resource id #215)
fgets(Resource id #215, 4096)
feof(Resource id #215)
fgets(Resource id #215, 4096)
feof(Resource id #215)
fgets(Resource id #215, 4096)
feof(Resource id #215)
fgets(Resource id #215, 4096)
feof(Resource id #215)
fgets(Resource id #215, 4096)
feof(Resource id #215)
fgets(Resource id #215, 4096)
feof(Resource id #215)
fgets(Resource id #215, 4096)
feof(Resource id #215)
fgets(Resource id #215, 4096)
feof(Resource id #215)
fgets(Resource id #215, 4096)
feof(Resource id #215)
fgets(Resource id #215, 4096)
feof(Resource id #215)
fgets(Resource id #215, 4096)
feof(Resource id #215)
fgets(Resource id #215, 4096)
feof(Resource id #215)
fgets(Resource id #215, 4096)
feof(Resource id #215)
fgets(Resource id #215, 4096)
feof(Resource id #215)
fgets(Resource id #215, 4096)
feof(Resource id #215)
fgets(Resource id #215, 4096)
feof(Resource id #215)
fclose(Resource id #215)
unlink(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgsSpsvm)
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/tttnguye/public_html/gallery/g2data/tmp/jpgt_VA8FMX)
chdir(/home/tttnguye/public_html/gallery)
realpath(/home/tttnguye/public_html/gallery/modules/core/classes/../../../)
realpath(/home/tttnguye/public_html/gallery/)
--------------------------------------------------------------------------------
(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 (GalleryDerivative::_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/helpers/GalleryDerivativeHelper_advanced.class
<b>at line</b> 822
(GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
\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/helpers/GalleryDerivativeHelper_advanced.class
<b>at line</b> 822
(GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
\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/%%3831966382/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] => 44cf52325f36\n)\n',
g_location='http://tttnguyen.com/gallery/main.php?g2_controller=core.AdminMaintenance&g2_form%5Baction%5D%5BrunTask%5D=1&g2_taskId=BuildDerivativesTask&g2_authToken=44cf52325f36',
g_client='99.179.81.110', g_timestamp=1268424184,
g_referer='http://tttnguyen.com/gallery/main.php?g2_view=core.SiteAdmin&amp;g2_subView=core.AdminMaintenance'
WHERE g_id=126
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysqlt): INSERT INTO g2_EventLogMap (g_id, g_userId, g_type, g_summary,
g_details, g_location, g_client, g_timestamp, g_referer) VALUES
(126,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 (GalleryDerivative::_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/helpers/GalleryDerivativeHelper_advanced.class
<b>at line</b> 822
(GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
\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/helpers/GalleryDerivativeHelper_advanced.class
<b>at line</b> 822
(GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
\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/%%3831966382/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] =>
44cf52325f36\n)\n','http://tttnguyen.com/gallery/main.php?g2_controller=core.AdminMaintenance&g2_form%5Baction%5D%5BrunTask%5D=1&g2_taskId=BuildDerivativesTask&g2_authToken=44cf52325f36','99.179.81.110',1268424184,'http://tttnguyen.com/gallery/main.php?g2_view=core.SiteAdmin&amp;g2_subView=core.AdminMaintenance')

--------------------------------------------------------------------------------

realpath(/home/tttnguye/public_html/gallery/modules/core/classes/../../../)
realpath(/home/tttnguye/public_html/gallery/)

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
(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/helpers/GalleryDerivativeHelper_advanced.class at
line 822 (GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
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/helpers/GalleryDerivativeHelper_advanced.class at
line 822 (GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
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/%%3831966382/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/tttnguye/public_html/gallery/modules/core/classes/../data/broken-image.gif,
/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/145.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/145.dat)
filesize(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/145.dat)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (145)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/146.dat)
unlink(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/146.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/146-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (146)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/147.dat)
unlink(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/147.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/147-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (147)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/148.dat)
unlink(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/148.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/148-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (148)

--------------------------------------------------------------------------------

getimagesize(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/145.dat)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (145)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/146.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/146-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (146)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/147.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/147-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (147)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/148.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/148-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (148)

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(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
(146) 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/tttnguye/public_html/gallery/g2data/cache/derivative/1/4)
is_dir(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4)
getParameter path for jpegtran plugin
tempnam(/home/tttnguye/public_html/gallery/g2data/tmp/, jpgt_)
getcwd()
chdir(/home/tttnguye/public_html/gallery/g2data/tmp/)
Executing: ( "/usr/bin/jpegtran" "-verbose" "-copy" "all" "-crop"
"428x428+28+0" "-outfile"
"/home/tttnguye/public_html/gallery/g2data/tmp/jpgt_llv0gL"
"/home/tttnguye/public_html/gallery/g2data/albums/my
album/photo1/vdayheart.jpg" )
2>"/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgO6Cz29"
file_exists(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgO6Cz29)
filesize(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgO6Cz29)
fopen(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgO6Cz29, r, 0)
feof(Resource id #229)
fgets(Resource id #229, 4096)
feof(Resource id #229)
fgets(Resource id #229, 4096)
feof(Resource id #229)
fgets(Resource id #229, 4096)
feof(Resource id #229)
fgets(Resource id #229, 4096)
feof(Resource id #229)
fgets(Resource id #229, 4096)
feof(Resource id #229)
fgets(Resource id #229, 4096)
feof(Resource id #229)
fgets(Resource id #229, 4096)
feof(Resource id #229)
fgets(Resource id #229, 4096)
feof(Resource id #229)
fgets(Resource id #229, 4096)
feof(Resource id #229)
fgets(Resource id #229, 4096)
feof(Resource id #229)
fgets(Resource id #229, 4096)
feof(Resource id #229)
fgets(Resource id #229, 4096)
feof(Resource id #229)
fgets(Resource id #229, 4096)
feof(Resource id #229)
fgets(Resource id #229, 4096)
feof(Resource id #229)
fgets(Resource id #229, 4096)
feof(Resource id #229)
fgets(Resource id #229, 4096)
feof(Resource id #229)
fgets(Resource id #229, 4096)
feof(Resource id #229)
fgets(Resource id #229, 4096)
feof(Resource id #229)
fgets(Resource id #229, 4096)
feof(Resource id #229)
fgets(Resource id #229, 4096)
feof(Resource id #229)
fgets(Resource id #229, 4096)
feof(Resource id #229)
fgets(Resource id #229, 4096)
feof(Resource id #229)
fgets(Resource id #229, 4096)
feof(Resource id #229)
fgets(Resource id #229, 4096)
feof(Resource id #229)
fclose(Resource id #229)
unlink(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgO6Cz29)
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/tttnguye/public_html/gallery/g2data/tmp/jpgt_llv0gL)
chdir(/home/tttnguye/public_html/gallery)
realpath(/home/tttnguye/public_html/gallery/modules/core/classes/../../../)
realpath(/home/tttnguye/public_html/gallery/)
--------------------------------------------------------------------------------
(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 (GalleryDerivative::_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/helpers/GalleryDerivativeHelper_advanced.class
<b>at line</b> 822
(GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
\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/%%3831966382/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] => 44cf52325f36\n)\n',
g_location='http://tttnguyen.com/gallery/main.php?g2_controller=core.AdminMaintenance&g2_form%5Baction%5D%5BrunTask%5D=1&g2_taskId=BuildDerivativesTask&g2_authToken=44cf52325f36',
g_client='99.179.81.110', g_timestamp=1268424184,
g_referer='http://tttnguyen.com/gallery/main.php?g2_view=core.SiteAdmin&amp;g2_subView=core.AdminMaintenance'
WHERE g_id=127
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysqlt): INSERT INTO g2_EventLogMap (g_id, g_userId, g_type, g_summary,
g_details, g_location, g_client, g_timestamp, g_referer) VALUES
(127,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 (GalleryDerivative::_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/helpers/GalleryDerivativeHelper_advanced.class
<b>at line</b> 822
(GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
\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/%%3831966382/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] =>
44cf52325f36\n)\n','http://tttnguyen.com/gallery/main.php?g2_controller=core.AdminMaintenance&g2_form%5Baction%5D%5BrunTask%5D=1&g2_taskId=BuildDerivativesTask&g2_authToken=44cf52325f36','99.179.81.110',1268424184,'http://tttnguyen.com/gallery/main.php?g2_view=core.SiteAdmin&amp;g2_subView=core.AdminMaintenance')

--------------------------------------------------------------------------------

realpath(/home/tttnguye/public_html/gallery/modules/core/classes/../../../)
realpath(/home/tttnguye/public_html/gallery/)

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
(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/helpers/GalleryDerivativeHelper_advanced.class at
line 822 (GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
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/%%3831966382/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/tttnguye/public_html/gallery/modules/core/classes/../data/broken-image.gif,
/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/146.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/146.dat)
filesize(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/146.dat)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (146)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/147.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/147-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (147)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/148.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/148-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (148)

--------------------------------------------------------------------------------

getimagesize(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/146.dat)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (146)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/147.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/147-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (147)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/148.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/148-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (148)

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(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
(147) 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/tttnguye/public_html/gallery/g2data/cache/derivative/1/4)
is_dir(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4)
getParameter path for jpegtran plugin
tempnam(/home/tttnguye/public_html/gallery/g2data/tmp/, jpgt_)
getcwd()
chdir(/home/tttnguye/public_html/gallery/g2data/tmp/)
Executing: ( "/usr/bin/jpegtran" "-verbose" "-copy" "all" "-crop"
"428x428+28+0" "-outfile"
"/home/tttnguye/public_html/gallery/g2data/tmp/jpgt_PdbOQy"
"/home/tttnguye/public_html/gallery/g2data/albums/my
album/photo1/vdayheart.jpg" )
2>"/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgEQK3EX"
file_exists(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgEQK3EX)
filesize(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgEQK3EX)
fopen(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgEQK3EX, r, 0)
feof(Resource id #241)
fgets(Resource id #241, 4096)
feof(Resource id #241)
fgets(Resource id #241, 4096)
feof(Resource id #241)
fgets(Resource id #241, 4096)
feof(Resource id #241)
fgets(Resource id #241, 4096)
feof(Resource id #241)
fgets(Resource id #241, 4096)
feof(Resource id #241)
fgets(Resource id #241, 4096)
feof(Resource id #241)
fgets(Resource id #241, 4096)
feof(Resource id #241)
fgets(Resource id #241, 4096)
feof(Resource id #241)
fgets(Resource id #241, 4096)
feof(Resource id #241)
fgets(Resource id #241, 4096)
feof(Resource id #241)
fgets(Resource id #241, 4096)
feof(Resource id #241)
fgets(Resource id #241, 4096)
feof(Resource id #241)
fgets(Resource id #241, 4096)
feof(Resource id #241)
fgets(Resource id #241, 4096)
feof(Resource id #241)
fgets(Resource id #241, 4096)
feof(Resource id #241)
fgets(Resource id #241, 4096)
feof(Resource id #241)
fgets(Resource id #241, 4096)
feof(Resource id #241)
fgets(Resource id #241, 4096)
feof(Resource id #241)
fgets(Resource id #241, 4096)
feof(Resource id #241)
fgets(Resource id #241, 4096)
feof(Resource id #241)
fgets(Resource id #241, 4096)
feof(Resource id #241)
fgets(Resource id #241, 4096)
feof(Resource id #241)
fgets(Resource id #241, 4096)
feof(Resource id #241)
fgets(Resource id #241, 4096)
feof(Resource id #241)
fclose(Resource id #241)
unlink(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgEQK3EX)
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/tttnguye/public_html/gallery/g2data/tmp/jpgt_PdbOQy)
chdir(/home/tttnguye/public_html/gallery)
realpath(/home/tttnguye/public_html/gallery/modules/core/classes/../../../)
realpath(/home/tttnguye/public_html/gallery/)
--------------------------------------------------------------------------------
(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 (GalleryDerivative::_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/%%3831966382/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] => 44cf52325f36\n)\n',
g_location='http://tttnguyen.com/gallery/main.php?g2_controller=core.AdminMaintenance&g2_form%5Baction%5D%5BrunTask%5D=1&g2_taskId=BuildDerivativesTask&g2_authToken=44cf52325f36',
g_client='99.179.81.110', g_timestamp=1268424184,
g_referer='http://tttnguyen.com/gallery/main.php?g2_view=core.SiteAdmin&amp;g2_subView=core.AdminMaintenance'
WHERE g_id=128
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysqlt): INSERT INTO g2_EventLogMap (g_id, g_userId, g_type, g_summary,
g_details, g_location, g_client, g_timestamp, g_referer) VALUES
(128,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 (GalleryDerivative::_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/%%3831966382/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] =>
44cf52325f36\n)\n','http://tttnguyen.com/gallery/main.php?g2_controller=core.AdminMaintenance&g2_form%5Baction%5D%5BrunTask%5D=1&g2_taskId=BuildDerivativesTask&g2_authToken=44cf52325f36','99.179.81.110',1268424184,'http://tttnguyen.com/gallery/main.php?g2_view=core.SiteAdmin&amp;g2_subView=core.AdminMaintenance')

--------------------------------------------------------------------------------

realpath(/home/tttnguye/public_html/gallery/modules/core/classes/../../../)
realpath(/home/tttnguye/public_html/gallery/)

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
(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/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/%%3831966382/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/tttnguye/public_html/gallery/modules/core/classes/../data/broken-image.gif,
/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/147.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/147.dat)
filesize(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/147.dat)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (147)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/148.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/148-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (148)

--------------------------------------------------------------------------------

getimagesize(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/147.dat)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (147)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/148.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/148-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (148)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/146.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/145.dat)
--------------------------------------------------------------------------------
(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
(145) 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/tttnguye/public_html/gallery/g2data/cache/derivative/1/4)
is_dir(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4)
getParameter path for jpegtran plugin
tempnam(/home/tttnguye/public_html/gallery/g2data/tmp/, jpgt_)
getcwd()
chdir(/home/tttnguye/public_html/gallery/g2data/tmp/)
Executing: ( "/usr/bin/jpegtran" "-verbose" "-copy" "all" "-crop"
"428x428+28+0" "-outfile"
"/home/tttnguye/public_html/gallery/g2data/tmp/jpgt_nSKPvm"
"/home/tttnguye/public_html/gallery/g2data/albums/my
album/photo1/vdayheart.jpg" )
2>"/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgI7NCmL"
file_exists(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgI7NCmL)
filesize(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgI7NCmL)
fopen(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgI7NCmL, r, 0)
feof(Resource id #251)
fgets(Resource id #251, 4096)
feof(Resource id #251)
fgets(Resource id #251, 4096)
feof(Resource id #251)
fgets(Resource id #251, 4096)
feof(Resource id #251)
fgets(Resource id #251, 4096)
feof(Resource id #251)
fgets(Resource id #251, 4096)
feof(Resource id #251)
fgets(Resource id #251, 4096)
feof(Resource id #251)
fgets(Resource id #251, 4096)
feof(Resource id #251)
fgets(Resource id #251, 4096)
feof(Resource id #251)
fgets(Resource id #251, 4096)
feof(Resource id #251)
fgets(Resource id #251, 4096)
feof(Resource id #251)
fgets(Resource id #251, 4096)
feof(Resource id #251)
fgets(Resource id #251, 4096)
feof(Resource id #251)
fgets(Resource id #251, 4096)
feof(Resource id #251)
fgets(Resource id #251, 4096)
feof(Resource id #251)
fgets(Resource id #251, 4096)
feof(Resource id #251)
fgets(Resource id #251, 4096)
feof(Resource id #251)
fgets(Resource id #251, 4096)
feof(Resource id #251)
fgets(Resource id #251, 4096)
feof(Resource id #251)
fgets(Resource id #251, 4096)
feof(Resource id #251)
fgets(Resource id #251, 4096)
feof(Resource id #251)
fgets(Resource id #251, 4096)
feof(Resource id #251)
fgets(Resource id #251, 4096)
feof(Resource id #251)
fgets(Resource id #251, 4096)
feof(Resource id #251)
fgets(Resource id #251, 4096)
feof(Resource id #251)
fclose(Resource id #251)
unlink(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgI7NCmL)
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/tttnguye/public_html/gallery/g2data/tmp/jpgt_nSKPvm)
chdir(/home/tttnguye/public_html/gallery)
realpath(/home/tttnguye/public_html/gallery/modules/core/classes/../../../)
realpath(/home/tttnguye/public_html/gallery/)
--------------------------------------------------------------------------------
(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 (GalleryDerivative::_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/helpers/GalleryDerivativeHelper_advanced.class
<b>at line</b> 822
(GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
\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/%%3831966382/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] => 44cf52325f36\n)\n',
g_location='http://tttnguyen.com/gallery/main.php?g2_controller=core.AdminMaintenance&g2_form%5Baction%5D%5BrunTask%5D=1&g2_taskId=BuildDerivativesTask&g2_authToken=44cf52325f36',
g_client='99.179.81.110', g_timestamp=1268424184,
g_referer='http://tttnguyen.com/gallery/main.php?g2_view=core.SiteAdmin&amp;g2_subView=core.AdminMaintenance'
WHERE g_id=129
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysqlt): INSERT INTO g2_EventLogMap (g_id, g_userId, g_type, g_summary,
g_details, g_location, g_client, g_timestamp, g_referer) VALUES
(129,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 (GalleryDerivative::_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/helpers/GalleryDerivativeHelper_advanced.class
<b>at line</b> 822
(GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
\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/%%3831966382/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] =>
44cf52325f36\n)\n','http://tttnguyen.com/gallery/main.php?g2_controller=core.AdminMaintenance&g2_form%5Baction%5D%5BrunTask%5D=1&g2_taskId=BuildDerivativesTask&g2_authToken=44cf52325f36','99.179.81.110',1268424184,'http://tttnguyen.com/gallery/main.php?g2_view=core.SiteAdmin&amp;g2_subView=core.AdminMaintenance')

--------------------------------------------------------------------------------

realpath(/home/tttnguye/public_html/gallery/modules/core/classes/../../../)
realpath(/home/tttnguye/public_html/gallery/)

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
(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/helpers/GalleryDerivativeHelper_advanced.class at
line 822 (GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
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/%%3831966382/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/tttnguye/public_html/gallery/modules/core/classes/../data/broken-image.gif,
/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/145.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/145.dat)
filesize(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/145.dat)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (145)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/146.dat)
unlink(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/146.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/146-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (146)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/147.dat)
unlink(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/147.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/147-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (147)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/148.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/148-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (148)

--------------------------------------------------------------------------------

getimagesize(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/145.dat)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (145)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/146.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/146-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (146)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/147.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/147-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (147)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/148.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/148-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (148)

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(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
(146) 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/tttnguye/public_html/gallery/g2data/cache/derivative/1/4)
is_dir(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4)
getParameter path for jpegtran plugin
tempnam(/home/tttnguye/public_html/gallery/g2data/tmp/, jpgt_)
getcwd()
chdir(/home/tttnguye/public_html/gallery/g2data/tmp/)
Executing: ( "/usr/bin/jpegtran" "-verbose" "-copy" "all" "-crop"
"428x428+28+0" "-outfile"
"/home/tttnguye/public_html/gallery/g2data/tmp/jpgt_xaL3fa"
"/home/tttnguye/public_html/gallery/g2data/albums/my
album/photo1/vdayheart.jpg" )
2>"/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgujLv9y"
file_exists(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgujLv9y)
filesize(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgujLv9y)
fopen(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgujLv9y, r, 0)
feof(Resource id #265)
fgets(Resource id #265, 4096)
feof(Resource id #265)
fgets(Resource id #265, 4096)
feof(Resource id #265)
fgets(Resource id #265, 4096)
feof(Resource id #265)
fgets(Resource id #265, 4096)
feof(Resource id #265)
fgets(Resource id #265, 4096)
feof(Resource id #265)
fgets(Resource id #265, 4096)
feof(Resource id #265)
fgets(Resource id #265, 4096)
feof(Resource id #265)
fgets(Resource id #265, 4096)
feof(Resource id #265)
fgets(Resource id #265, 4096)
feof(Resource id #265)
fgets(Resource id #265, 4096)
feof(Resource id #265)
fgets(Resource id #265, 4096)
feof(Resource id #265)
fgets(Resource id #265, 4096)
feof(Resource id #265)
fgets(Resource id #265, 4096)
feof(Resource id #265)
fgets(Resource id #265, 4096)
feof(Resource id #265)
fgets(Resource id #265, 4096)
feof(Resource id #265)
fgets(Resource id #265, 4096)
feof(Resource id #265)
fgets(Resource id #265, 4096)
feof(Resource id #265)
fgets(Resource id #265, 4096)
feof(Resource id #265)
fgets(Resource id #265, 4096)
feof(Resource id #265)
fgets(Resource id #265, 4096)
feof(Resource id #265)
fgets(Resource id #265, 4096)
feof(Resource id #265)
fgets(Resource id #265, 4096)
feof(Resource id #265)
fgets(Resource id #265, 4096)
feof(Resource id #265)
fgets(Resource id #265, 4096)
feof(Resource id #265)
fclose(Resource id #265)
unlink(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgujLv9y)
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/tttnguye/public_html/gallery/g2data/tmp/jpgt_xaL3fa)
chdir(/home/tttnguye/public_html/gallery)
realpath(/home/tttnguye/public_html/gallery/modules/core/classes/../../../)
realpath(/home/tttnguye/public_html/gallery/)
--------------------------------------------------------------------------------
(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 (GalleryDerivative::_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/%%3831966382/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] => 44cf52325f36\n)\n',
g_location='http://tttnguyen.com/gallery/main.php?g2_controller=core.AdminMaintenance&g2_form%5Baction%5D%5BrunTask%5D=1&g2_taskId=BuildDerivativesTask&g2_authToken=44cf52325f36',
g_client='99.179.81.110', g_timestamp=1268424184,
g_referer='http://tttnguyen.com/gallery/main.php?g2_view=core.SiteAdmin&amp;g2_subView=core.AdminMaintenance'
WHERE g_id=130
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysqlt): INSERT INTO g2_EventLogMap (g_id, g_userId, g_type, g_summary,
g_details, g_location, g_client, g_timestamp, g_referer) VALUES
(130,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 (GalleryDerivative::_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/%%3831966382/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] =>
44cf52325f36\n)\n','http://tttnguyen.com/gallery/main.php?g2_controller=core.AdminMaintenance&g2_form%5Baction%5D%5BrunTask%5D=1&g2_taskId=BuildDerivativesTask&g2_authToken=44cf52325f36','99.179.81.110',1268424184,'http://tttnguyen.com/gallery/main.php?g2_view=core.SiteAdmin&amp;g2_subView=core.AdminMaintenance')

--------------------------------------------------------------------------------

realpath(/home/tttnguye/public_html/gallery/modules/core/classes/../../../)
realpath(/home/tttnguye/public_html/gallery/)

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
(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/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/%%3831966382/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/tttnguye/public_html/gallery/modules/core/classes/../data/broken-image.gif,
/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/146.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/146.dat)
filesize(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/146.dat)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (146)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/147.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/147-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (147)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/148.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/148-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (148)

--------------------------------------------------------------------------------

getimagesize(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/146.dat)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (146)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/147.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/147-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (147)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/148.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/148-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (148)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/145.dat)
--------------------------------------------------------------------------------
(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
(145) 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/tttnguye/public_html/gallery/g2data/cache/derivative/1/4)
is_dir(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4)
getParameter path for jpegtran plugin
tempnam(/home/tttnguye/public_html/gallery/g2data/tmp/, jpgt_)
getcwd()
chdir(/home/tttnguye/public_html/gallery/g2data/tmp/)
Executing: ( "/usr/bin/jpegtran" "-verbose" "-copy" "all" "-crop"
"428x428+28+0" "-outfile"
"/home/tttnguye/public_html/gallery/g2data/tmp/jpgt_7thpKY"
"/home/tttnguye/public_html/gallery/g2data/albums/my
album/photo1/vdayheart.jpg" )
2>"/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgI5nklo"
file_exists(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgI5nklo)
filesize(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgI5nklo)
fopen(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgI5nklo, r, 0)
feof(Resource id #277)
fgets(Resource id #277, 4096)
feof(Resource id #277)
fgets(Resource id #277, 4096)
feof(Resource id #277)
fgets(Resource id #277, 4096)
feof(Resource id #277)
fgets(Resource id #277, 4096)
feof(Resource id #277)
fgets(Resource id #277, 4096)
feof(Resource id #277)
fgets(Resource id #277, 4096)
feof(Resource id #277)
fgets(Resource id #277, 4096)
feof(Resource id #277)
fgets(Resource id #277, 4096)
feof(Resource id #277)
fgets(Resource id #277, 4096)
feof(Resource id #277)
fgets(Resource id #277, 4096)
feof(Resource id #277)
fgets(Resource id #277, 4096)
feof(Resource id #277)
fgets(Resource id #277, 4096)
feof(Resource id #277)
fgets(Resource id #277, 4096)
feof(Resource id #277)
fgets(Resource id #277, 4096)
feof(Resource id #277)
fgets(Resource id #277, 4096)
feof(Resource id #277)
fgets(Resource id #277, 4096)
feof(Resource id #277)
fgets(Resource id #277, 4096)
feof(Resource id #277)
fgets(Resource id #277, 4096)
feof(Resource id #277)
fgets(Resource id #277, 4096)
feof(Resource id #277)
fgets(Resource id #277, 4096)
feof(Resource id #277)
fgets(Resource id #277, 4096)
feof(Resource id #277)
fgets(Resource id #277, 4096)
feof(Resource id #277)
fgets(Resource id #277, 4096)
feof(Resource id #277)
fgets(Resource id #277, 4096)
feof(Resource id #277)
fclose(Resource id #277)
unlink(/home/tttnguye/public_html/gallery/g2data/tmp/g2dbgI5nklo)
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/tttnguye/public_html/gallery/g2data/tmp/jpgt_7thpKY)
chdir(/home/tttnguye/public_html/gallery)
realpath(/home/tttnguye/public_html/gallery/modules/core/classes/../../../)
realpath(/home/tttnguye/public_html/gallery/)
--------------------------------------------------------------------------------
(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 (GalleryDerivative::_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/%%3831966382/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] => 44cf52325f36\n)\n',
g_location='http://tttnguyen.com/gallery/main.php?g2_controller=core.AdminMaintenance&g2_form%5Baction%5D%5BrunTask%5D=1&g2_taskId=BuildDerivativesTask&g2_authToken=44cf52325f36',
g_client='99.179.81.110', g_timestamp=1268424184,
g_referer='http://tttnguyen.com/gallery/main.php?g2_view=core.SiteAdmin&amp;g2_subView=core.AdminMaintenance'
WHERE g_id=131
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysqlt): INSERT INTO g2_EventLogMap (g_id, g_userId, g_type, g_summary,
g_details, g_location, g_client, g_timestamp, g_referer) VALUES
(131,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 (GalleryDerivative::_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/%%3831966382/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] =>
44cf52325f36\n)\n','http://tttnguyen.com/gallery/main.php?g2_controller=core.AdminMaintenance&g2_form%5Baction%5D%5BrunTask%5D=1&g2_taskId=BuildDerivativesTask&g2_authToken=44cf52325f36','99.179.81.110',1268424184,'http://tttnguyen.com/gallery/main.php?g2_view=core.SiteAdmin&amp;g2_subView=core.AdminMaintenance')

--------------------------------------------------------------------------------

realpath(/home/tttnguye/public_html/gallery/modules/core/classes/../../../)
realpath(/home/tttnguye/public_html/gallery/)

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
(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/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/%%3831966382/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/tttnguye/public_html/gallery/modules/core/classes/../data/broken-image.gif,
/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/145.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/145.dat)
filesize(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/145.dat)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (145)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/146.dat)
unlink(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/146.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/146-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (146)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/147.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/147-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (147)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/148.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/148-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (148)

--------------------------------------------------------------------------------

getimagesize(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/145.dat)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (145)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/146.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/146-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (146)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/147.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/147-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (147)

--------------------------------------------------------------------------------

file_exists(/home/tttnguye/public_html/gallery/g2data/cache/derivative/1/4/148.dat)
file_exists(/home/tttnguye/public_html/gallery/g2data/cache/entity/1/4/148-fast.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (148)