Server migration and upgrade

Totoleheros

Joined: 2009-04-05
Posts: 30
Posted: Sun, 2009-04-05 10:32

Hello,

I was running G2.1 on a MacOS server before the server crashed. Fortunately enough, I had a recent backup of the gallery folder (including the G2data folder) and of the Mysql db. I have moved to a Linux server: I copied the full G2 folder and tried to have the same directory hierarchy as the original one, restored the Mysql db (without changing the names of the tables). I had errors with STATS FAILED messages: they were eratic and I noticed that some albums were missing. I then decided to install the G2.3 version on the top of that. Now everything is working properly except that some albums are missing. I tried to perform all the maintenance operations. What is weird is that my gallery contains 1318 items: When I do a "Build all thumbnails/resizes", it find the 1328 items but G2.3 display only 701 items. Is there a way to restore the missing albums or am I forced to reload all the missing images?

Many thanks in advance for your help!!


Gallery version (not just "2"): 2.3
PHP version (e.g. 5.1.6): 5.1.6
Operating system (e.g. Linux): Linux
Browser (e.g. Firefox 2.0): Safari 3.2.1.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sun, 2009-04-05 13:40

Did you follow this guide?
FAQ: How can I move my gallery installation from one server to another?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Totoleheros

Joined: 2009-04-05
Posts: 30
Posted: Sun, 2009-04-05 16:13
Quote:
Did you follow this guide?
FAQ: How can I move my gallery installation from one server to another?

Yes, step by step...

 
Totoleheros

Joined: 2009-04-05
Posts: 30
Posted: Sun, 2009-04-05 16:35

I just tried to add a new album and this is the mess: the thumbnails are not the right ones: it seems that G2 is taking pictures of the missing albums. The right pictures appears only when I click on the full resolution image (the 640x480 is not the correct one). I tried to rebuild the thumbnails but it did NOT correct the mess. Furthermore, during the rebuild process, I could not see the progression bar: it was too quick as compared to G2.1 (ie the previous version that I was using before the crash). Any help will be appreciated...

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sun, 2009-04-05 20:36

Please supply your system info and a link to phpinfo. This link explains how to do that:
FAQ: What information is required when I ask for help in the forums?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Totoleheros

Joined: 2009-04-05
Posts: 30
Posted: Sun, 2009-04-05 20:57

Here is the link to the PHPInfo: http://www.calinico.fr/caligiuri/gallery2/phpinfo.php

Concerning my System info, it is hosted (it's not my server). I only know that it is a Linux server. As far as I know, it is running under Apache 2.0.54. Let me know if you need additional info. Many thanks in advance for your help.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sun, 2009-04-05 22:09

For the system info, go to Site Admin > Maintenance and run the "System Information" task. Copy and paste all of that info here.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Totoleheros

Joined: 2009-04-05
Posts: 30
Posted: Sun, 2009-04-05 22:17

Here it is:

Quote:
Last Run Details:

Gallery URL = http://www.calinico.fr/caligiuri/gallery2/main.php
Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.6 cgi
Webserver = Apache
Database = mysql 5.0.67, lock.system=flock
Toolkits = ArchiveUpload, Exif, Gd
Acceleration = none, none
Operating system = Linux cl3-web1 2.6.24.5+web-grsec #3 SMP Wed Jul 16 12:04:49 CEST 2008 i686
Default theme = matrix
gettext = enabled
Locale = it_IT
Browser = Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; fr-fr) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1
Rows in GalleryAccessMap table = 90
Rows in GalleryAccessSubscriberMap table = 715
Rows in GalleryUser table = 9
Rows in GalleryItem table = 714
Rows in GalleryAlbumItem table = 22
Rows in GalleryCacheMap table = 0

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sun, 2009-04-05 23:10

Here's what I would try. Try disabling the EXIF module and try getting ImageMagick or NetPBM working, then disabling the GD module. Both EXIF and GD, GD especially eat up more resources than ImageMagick or NetPBM. Then with either just ImageMagick or NetPBM installed and working try rebuilding the thumbnails and resized versions. If it's still not working when you do that from Site Admin > Maintenance, then try rebuilding just the thumbnails of an album, then the resized versions to help break it down into smaller chunks to process.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Totoleheros

Joined: 2009-04-05
Posts: 30
Posted: Mon, 2009-04-06 05:27

Thank you nivekiam!

I will give a try to your solution. First, I need my provider to tell me the path to the two toolkits on my server (I tried '/usr/local/bin/' but it doesn't work). When ImageMagick or NetPBM will be installed, I'll let you know if your solution solved my problem.

Regards.

 
Totoleheros

Joined: 2009-04-05
Posts: 30
Posted: Mon, 2009-04-06 08:11

When trying to configure the ImageMagick toolkit, and testing the setting in G2.3, I have the following message:

Quote:
ImageMagick binary test results
Binary Name Pass/Fail
identify
Failed
Error messages:
Problem executing binary:
File does not exist
identify
Failed
Error messages:
Problem executing binary:
File does not exist
convert
Failed
Error messages:
Problem executing binary:
File does not exist
composite
Failed
Error messages:
Problem executing binary:

When clicking on 'Testing setting button':

Quote:
is_dir(/usr/local/bin/)
Loading plugin imagemagick
imagemagick plugin successfully instantiated
Check the version of the imagemagick plugin
The version of the imagemagick plugin is ok
getcwd()
chdir(/web/u698/calinico/caligiuri/gallery2/g2data/tmp/)
is_dir(/usr/local/bin/)
file_exists(/usr/local/bin/gm)
file_exists(/usr/local/bin/identify)
is_dir(/usr/local/bin/)
file_exists(/usr/local/bin/gm)
tempnam(/web/u698/calinico/caligiuri/gallery2/g2data/tmp/, imgk_)
file_exists(/usr/local/bin/convert)
unlink(/web/u698/calinico/caligiuri/gallery2/g2data/tmp/imgk_oUr5ia)
is_dir(/usr/local/bin/)
file_exists(/usr/local/bin/gm)
file_exists(/usr/local/bin/combine)
file_exists(/usr/local/bin/composite)
is_dir(/usr/local/bin/)
file_exists(/usr/local/bin/gm)
tempnam(/web/u698/calinico/caligiuri/gallery2/g2data/tmp/, imgk_)
getParameter exec.beNice for core plugin
Executing: ( "/usr/local/bin/composite" "-geometry" "+0+0"
"/web/u698/calinico/caligiuri/gallery2/modules/imagemagick/data/test.jpg"
"/web/u698/calinico/caligiuri/gallery2/modules/imagemagick/data/test.gif"
"gif:/web/u698/calinico/caligiuri/gallery2/g2data/tmp/imgk_JkipU2" )
2>"/web/u698/calinico/caligiuri/gallery2/g2data/tmp/g2dbgyJjtwV"
getParameter exec.expectedStatus for core plugin
file_exists(/web/u698/calinico/caligiuri/gallery2/g2data/tmp/g2dbgyJjtwV)
filesize(/web/u698/calinico/caligiuri/gallery2/g2data/tmp/g2dbgyJjtwV)
fopen(/web/u698/calinico/caligiuri/gallery2/g2data/tmp/g2dbgyJjtwV, r, 0)
feof(Resource id #88)
fgets(Resource id #88, 4096)
feof(Resource id #88)
fgets(Resource id #88, 4096)
feof(Resource id #88)
fclose(Resource id #88)
unlink(/web/u698/calinico/caligiuri/gallery2/g2data/tmp/g2dbgyJjtwV)
Regular Output:
Error Output:
sh: /usr/local/bin/composite: No such file or directory
Status: 127 (expected 0)
unlink(/web/u698/calinico/caligiuri/gallery2/g2data/tmp/imgk_JkipU2)
chdir(/web/u698/calinico/caligiuri/gallery2)

What is going wrong???

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2009-04-06 17:48

As far as I can tell from those error messages is that Gallery isn't finding ImageMagick. Please verify from your host if ImageMagick is installed on your server and where the binaries are.

If you have shell (SSH) access you can just type whereis convert at the command line and it will tell you where the binary is. You can also just type convert and it should list a large list of options, if ImageMagick is installed on the server.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Totoleheros

Joined: 2009-04-05
Posts: 30
Posted: Mon, 2009-04-06 18:32

I will contact my host to check (I have no SSH access). I keep you informed.

 
Totoleheros

Joined: 2009-04-05
Posts: 30
Posted: Tue, 2009-04-07 14:39

The IT guys of my server tried to help me:

Now, I have the following errors:

Quote:
Binary Name Pass/Fail
identify
Passed
convert
Failed
Error messages:
Problem executing binary:
composite
Failed
Error messages:
Problem executing binary:

And the debug report is:

Quote:
is_dir(/home/bin/)
Loading plugin imagemagick
imagemagick plugin successfully instantiated
Check the version of the imagemagick plugin
The version of the imagemagick plugin is ok
getcwd()
chdir(/web/u698/calinico/caligiuri/gallery2/g2data/tmp/)
is_dir(/home/bin/)
file_exists(/home/bin/gm)
file_exists(/home/bin/identify)
getParameter exec.beNice for core plugin
Executing: ( "/home/bin/identify"
"/web/u698/calinico/caligiuri/gallery2/modules/imagemagick/data/test.gif" )
2>"/web/u698/calinico/caligiuri/gallery2/g2data/tmp/g2dbgzxCzdC"
getParameter exec.expectedStatus for core plugin
file_exists(/web/u698/calinico/caligiuri/gallery2/g2data/tmp/g2dbgzxCzdC)
filesize(/web/u698/calinico/caligiuri/gallery2/g2data/tmp/g2dbgzxCzdC)
unlink(/web/u698/calinico/caligiuri/gallery2/g2data/tmp/g2dbgzxCzdC)
Regular Output:
/web/u698/calinico/caligiuri/gallery2/modules/imagemagick/data/test.gif GIF
50x50 50x50+0+0 PseudoClass 8c 8-bit 232b
Error Output:
Status: 0 (expected 0)
is_dir(/home/bin/)
file_exists(/home/bin/gm)
tempnam(/web/u698/calinico/caligiuri/gallery2/g2data/tmp/, imgk_)
file_exists(/home/bin/convert)
Executing: ( "/home/bin/convert" "-size" "200x200" "-geometry"
"200x200"
"/web/u698/calinico/caligiuri/gallery2/modules/imagemagick/data/test.gif"
"gif:/web/u698/calinico/caligiuri/gallery2/g2data/tmp/imgk_QLLeQU" )
2>"/web/u698/calinico/caligiuri/gallery2/g2data/tmp/g2dbgWPVOtd"
file_exists(/web/u698/calinico/caligiuri/gallery2/g2data/tmp/g2dbgWPVOtd)
filesize(/web/u698/calinico/caligiuri/gallery2/g2data/tmp/g2dbgWPVOtd)
unlink(/web/u698/calinico/caligiuri/gallery2/g2data/tmp/g2dbgWPVOtd)
Regular Output:
Error Output:
Status: 139 (expected 0)
unlink(/web/u698/calinico/caligiuri/gallery2/g2data/tmp/imgk_QLLeQU)
is_dir(/home/bin/)
file_exists(/home/bin/gm)
file_exists(/home/bin/combine)
file_exists(/home/bin/composite)
is_executable(/home/bin/composite)
is_dir(/home/bin/)
file_exists(/home/bin/gm)
tempnam(/web/u698/calinico/caligiuri/gallery2/g2data/tmp/, imgk_)
Executing: ( "/home/bin/composite" "-geometry" "+0+0"
"/web/u698/calinico/caligiuri/gallery2/modules/imagemagick/data/test.jpg"
"/web/u698/calinico/caligiuri/gallery2/modules/imagemagick/data/test.gif"
"gif:/web/u698/calinico/caligiuri/gallery2/g2data/tmp/imgk_oQbqiw" )
2>"/web/u698/calinico/caligiuri/gallery2/g2data/tmp/g2dbgLVV97O"
file_exists(/web/u698/calinico/caligiuri/gallery2/g2data/tmp/g2dbgLVV97O)
filesize(/web/u698/calinico/caligiuri/gallery2/g2data/tmp/g2dbgLVV97O)
unlink(/web/u698/calinico/caligiuri/gallery2/g2data/tmp/g2dbgLVV97O)
Regular Output:
Error Output:
Status: 139 (expected 0)
unlink(/web/u698/calinico/caligiuri/gallery2/g2data/tmp/imgk_oQbqiw)
chdir(/web/u698/calinico/caligiuri/gallery2)

The IT guys told me that the script found the binaries but wasn't able to verify them. They therefore believe that the issue may depend on the script rather than from the server...

I think that I will start over from a clean install and re-upload my pictures: it will be faster...Unless one of you have a clever idea before tonight...

At any rate, thank you so much for your kind help!!

Regards

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2009-04-07 15:37

Those "IT" guys need to make the binary files executable

Quote:
convert
Failed
Error messages:
Problem executing binary:
composite
Failed
Error messages:
Problem executing binary:

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Totoleheros

Joined: 2009-04-05
Posts: 30
Posted: Wed, 2009-04-08 16:11

They told me that the bin files are executable. I believe that I give up...

Thank you for everything

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2009-04-08 16:56

According to Gallery they are not executable or there is a problem executing the binary. Perhaps it has something to do with the user the webserver or PHP runs as. Either way their server has a configuration issue.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Totoleheros

Joined: 2009-04-05
Posts: 30
Posted: Sun, 2009-04-12 09:40

The ImageMagick libraries are still not working while the people that host my server claim that the binaries are executable. Well, I decided to re-install G2.3 from scratch and I have re-uploaded everything. Still working only with GD. ImageMagick would still not work. Furthermore, the 'rebuild thumbnails' is still a matter: Here is the (long) bug report issued by G2:

Quote:
Sortie de débuggage pour les éléments ayant échoué :

file_exists(/web/u698/calinico/CodePHP/gallery2/g2data/cache/entity/3/1/3124.inc)
file_exists(/web/u698/calinico/CodePHP/gallery2/g2data/cache/derivative/3/1/3124.dat)
file_exists(/web/u698/calinico/CodePHP/gallery2/g2data/cache/entity/3/1/3123.inc)
getParameter lock.system for core plugin
file_exists(/web/u698/calinico/CodePHP/gallery2/g2data/cache/module/core/0/0/0.inc)
fopen(/web/u698/calinico/CodePHP/gallery2/g2data/locks/3124, wb+, 0)
flock(Resource id #2301, 6, )

(mysqli): SELECT g_id, g_entityType FROM g2_Entity WHERE g_id IN (3124)

(mysqli): 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

(mysqli): 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
(3124) 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(/web/u698/calinico/CodePHP/gallery2/g2data/cache/derivative/3/1)
is_dir(/web/u698/calinico/CodePHP/gallery2/g2data/cache/derivative/3/1)
file_exists(/web/u698/calinico/CodePHP/gallery2/modules/exif/classes/ExifToolkit.class)
file_exists(/web/u698/calinico/CodePHP/gallery2/modules/getid3/classes/Getid3Toolkit.class)
file_exists(/web/u698/calinico/CodePHP/gallery2/modules/linkitem/classes/LinkItemToolkit.class)
file_exists(/web/u698/calinico/CodePHP/gallery2/modules/thumbnail/classes/ThumbnailToolkit.class)
file_exists(/web/u698/calinico/CodePHP/gallery2/modules/gd/classes/GdToolkit.class)
file_exists(/web/u698/calinico/CodePHP/gallery2/g2data/cache/entity/2/9/2927.inc)
file_exists(/web/u698/calinico/CodePHP/gallery2/g2data/cache/entity/0/0/7.inc)

(mysqli):
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/gif'
AND
g2_TkOperatnMap.g_name = 'thumbnail'
ORDER BY
g2_TkOperatnMimeTypeMap.g_priority ASC

GdToolkit::performOperation(image/gif,thumbnail,/web/u698/calinico/CodePHP/gallery2/g2data/albums/Nov05_001/previous.gif,/web/u698/calinico/CodePHP/gallery2/g2data/cache/derivative/3/1/3124.dat,150)
file_exists(/web/u698/calinico/CodePHP/gallery2/g2data/albums/Nov05_001/previous.gif)
is_file(/web/u698/calinico/CodePHP/gallery2/g2data/albums/Nov05_001/previous.gif)
is_readable(/web/u698/calinico/CodePHP/gallery2/g2data/albums/Nov05_001/previous.gif)
realpath(/web/u698/calinico/CodePHP/gallery2/modules/core/classes/../../../)
realpath(/web/u698/calinico/CodePHP/gallery2/)

(mysqli): SET NAMES "utf8"

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

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

(mysqli): UPDATE g2_EventLogMap SET g_userId=6, g_type='Image Error',
g_summary='Unable to build image', g_details='Error
(ERROR_UNSUPPORTED_FILE_TYPE, ERROR_TOOLKIT_FAILURE)<b>in</b>
modules/gd/classes/GdFunctionality.class <b>at line</b> 216
(GalleryCoreApi::error) \n<b>in</b>
modules/gd/classes/GdFunctionality.class <b>at line</b> 238
(GdFunctionality::checkResource) \n<b>in</b>
modules/gd/classes/GdToolkit.class <b>at line</b> 465
(GdFunctionality::imageCreateFromGif) \n<b>in</b>
modules/gd/classes/GdToolkit.class <b>at line</b> 136
(GdToolkit::_getImageResource) \n<b>in</b>
modules/core/classes/GalleryDerivative.class <b>at line</b> 452
(GdToolkit::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/%%3843226876/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] => 0ba11f7474e5\n)\n',
g_location='http://www.calinico.fr/CodePHP/gallery2/main.php?g2_controller=core.AdminMaintenance&g2_form%5Baction%5D%5BrunTask%5D=1&g2_taskId=BuildDerivativesTask&g2_authToken=0ba11f7474e5',
g_client='82.234.121.216', g_timestamp=1239528868,
g_referer='http://www.calinico.fr/CodePHP/gallery2/main.php?g2_view=core.SiteAdmin&amp;g2_subView=core.AdminMaintenance'
WHERE g_id=28

(mysqli): INSERT INTO g2_EventLogMap (g_id, g_userId, g_type, g_summary,
g_details, g_location, g_client, g_timestamp, g_referer) VALUES
(28,6,'Image Error','Unable to build image','Error
(ERROR_UNSUPPORTED_FILE_TYPE, ERROR_TOOLKIT_FAILURE)<b>in</b>
modules/gd/classes/GdFunctionality.class <b>at line</b> 216
(GalleryCoreApi::error) \n<b>in</b>
modules/gd/classes/GdFunctionality.class <b>at line</b> 238
(GdFunctionality::checkResource) \n<b>in</b>
modules/gd/classes/GdToolkit.class <b>at line</b> 465
(GdFunctionality::imageCreateFromGif) \n<b>in</b>
modules/gd/classes/GdToolkit.class <b>at line</b> 136
(GdToolkit::_getImageResource) \n<b>in</b>
modules/core/classes/GalleryDerivative.class <b>at line</b> 452
(GdToolkit::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/%%3843226876/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] =>
0ba11f7474e5\n)\n','http://www.calinico.fr/CodePHP/gallery2/main.php?g2_controller=core.AdminMaintenance&g2_form%5Baction%5D%5BrunTask%5D=1&g2_taskId=BuildDerivativesTask&g2_authToken=0ba11f7474e5','82.234.121.216',1239528868,'http://www.calinico.fr/CodePHP/gallery2/main.php?g2_view=core.SiteAdmin&amp;g2_subView=core.AdminMaintenance')

realpath(/web/u698/calinico/CodePHP/gallery2/modules/core/classes/../../../)
realpath(/web/u698/calinico/CodePHP/gallery2/)

Error (ERROR_UNSUPPORTED_FILE_TYPE, ERROR_TOOLKIT_FAILURE)in
modules/gd/classes/GdFunctionality.class at line 216
(GalleryCoreApi::error)
in modules/gd/classes/GdFunctionality.class at line 238
(GdFunctionality::checkResource)
in modules/gd/classes/GdToolkit.class at line 465
(GdFunctionality::imageCreateFromGif)
in modules/gd/classes/GdToolkit.class at line 136
(GdToolkit::_getImageResource)
in modules/core/classes/GalleryDerivative.class at line 452
(GdToolkit::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/%%3843226876/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(/web/u698/calinico/CodePHP/gallery2/modules/core/classes/../data/broken-image.gif,
/web/u698/calinico/CodePHP/gallery2/g2data/cache/derivative/3/1/3124.dat)
getParameter permissions.file for core plugin
getParameter permissions.directory for core plugin
file_exists(/web/u698/calinico/CodePHP/gallery2/g2data/cache/module/_all/0/0/GalleryMimeTypeHelper_mimeData.inc)
file_exists(/web/u698/calinico/CodePHP/gallery2/g2data/cache/derivative/3/1/3124.dat)
filesize(/web/u698/calinico/CodePHP/gallery2/g2data/cache/derivative/3/1/3124.dat)

(mysqli):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (3124)

(mysqli):
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(/web/u698/calinico/CodePHP/gallery2/g2data/cache/derivative/3/1/3124.dat)

(mysqli):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (3124)

file_exists(/web/u698/calinico/CodePHP/gallery2/g2data/cache/entity/3/1/3122.inc)
file_exists(/web/u698/calinico/CodePHP/gallery2/g2data/cache/derivative/3/1/3122.dat)
file_exists(/web/u698/calinico/CodePHP/gallery2/g2data/cache/entity/3/1/3121.inc)
fopen(/web/u698/calinico/CodePHP/gallery2/g2data/locks/3122, wb+, 0)
flock(Resource id #2325, 6, )

(mysqli): SELECT g_id, g_entityType FROM g2_Entity WHERE g_id IN (3122)

(mysqli): 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
(3122) 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(/web/u698/calinico/CodePHP/gallery2/g2data/cache/derivative/3/1)
is_dir(/web/u698/calinico/CodePHP/gallery2/g2data/cache/derivative/3/1)
GdToolkit::performOperation(image/gif,thumbnail,/web/u698/calinico/CodePHP/gallery2/g2data/albums/Nov05_001/next.gif,/web/u698/calinico/CodePHP/gallery2/g2data/cache/derivative/3/1/3122.dat,150)
file_exists(/web/u698/calinico/CodePHP/gallery2/g2data/albums/Nov05_001/next.gif)
is_file(/web/u698/calinico/CodePHP/gallery2/g2data/albums/Nov05_001/next.gif)
is_readable(/web/u698/calinico/CodePHP/gallery2/g2data/albums/Nov05_001/next.gif)
realpath(/web/u698/calinico/CodePHP/gallery2/modules/core/classes/../../../)
realpath(/web/u698/calinico/CodePHP/gallery2/)

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

(mysqli): UPDATE g2_EventLogMap SET g_userId=6, g_type='Image Error',
g_summary='Unable to build image', g_details='Error
(ERROR_UNSUPPORTED_FILE_TYPE, ERROR_TOOLKIT_FAILURE)<b>in</b>
modules/gd/classes/GdFunctionality.class <b>at line</b> 216
(GalleryCoreApi::error) \n<b>in</b>
modules/gd/classes/GdFunctionality.class <b>at line</b> 238
(GdFunctionality::checkResource) \n<b>in</b>
modules/gd/classes/GdToolkit.class <b>at line</b> 465
(GdFunctionality::imageCreateFromGif) \n<b>in</b>
modules/gd/classes/GdToolkit.class <b>at line</b> 136
(GdToolkit::_getImageResource) \n<b>in</b>
modules/core/classes/GalleryDerivative.class <b>at line</b> 452
(GdToolkit::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/%%3843226876/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] => 0ba11f7474e5\n)\n',
g_location='http://www.calinico.fr/CodePHP/gallery2/main.php?g2_controller=core.AdminMaintenance&g2_form%5Baction%5D%5BrunTask%5D=1&g2_taskId=BuildDerivativesTask&g2_authToken=0ba11f7474e5',
g_client='82.234.121.216', g_timestamp=1239528868,
g_referer='http://www.calinico.fr/CodePHP/gallery2/main.php?g2_view=core.SiteAdmin&amp;g2_subView=core.AdminMaintenance'
WHERE g_id=29

(mysqli): INSERT INTO g2_EventLogMap (g_id, g_userId, g_type, g_summary,
g_details, g_location, g_client, g_timestamp, g_referer) VALUES
(29,6,'Image Error','Unable to build image','Error
(ERROR_UNSUPPORTED_FILE_TYPE, ERROR_TOOLKIT_FAILURE)<b>in</b>
modules/gd/classes/GdFunctionality.class <b>at line</b> 216
(GalleryCoreApi::error) \n<b>in</b>
modules/gd/classes/GdFunctionality.class <b>at line</b> 238
(GdFunctionality::checkResource) \n<b>in</b>
modules/gd/classes/GdToolkit.class <b>at line</b> 465
(GdFunctionality::imageCreateFromGif) \n<b>in</b>
modules/gd/classes/GdToolkit.class <b>at line</b> 136
(GdToolkit::_getImageResource) \n<b>in</b>
modules/core/classes/GalleryDerivative.class <b>at line</b> 452
(GdToolkit::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/%%3843226876/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] =>
0ba11f7474e5\n)\n','http://www.calinico.fr/CodePHP/gallery2/main.php?g2_controller=core.AdminMaintenance&g2_form%5Baction%5D%5BrunTask%5D=1&g2_taskId=BuildDerivativesTask&g2_authToken=0ba11f7474e5','82.234.121.216',1239528868,'http://www.calinico.fr/CodePHP/gallery2/main.php?g2_view=core.SiteAdmin&amp;g2_subView=core.AdminMaintenance')

realpath(/web/u698/calinico/CodePHP/gallery2/modules/core/classes/../../../)
realpath(/web/u698/calinico/CodePHP/gallery2/)

Error (ERROR_UNSUPPORTED_FILE_TYPE, ERROR_TOOLKIT_FAILURE)in
modules/gd/classes/GdFunctionality.class at line 216
(GalleryCoreApi::error)
in modules/gd/classes/GdFunctionality.class at line 238
(GdFunctionality::checkResource)
in modules/gd/classes/GdToolkit.class at line 465
(GdFunctionality::imageCreateFromGif)
in modules/gd/classes/GdToolkit.class at line 136
(GdToolkit::_getImageResource)
in modules/core/classes/GalleryDerivative.class at line 452
(GdToolkit::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/%%3843226876/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(/web/u698/calinico/CodePHP/gallery2/modules/core/classes/../data/broken-image.gif,
/web/u698/calinico/CodePHP/gallery2/g2data/cache/derivative/3/1/3122.dat)
file_exists(/web/u698/calinico/CodePHP/gallery2/g2data/cache/derivative/3/1/3122.dat)
filesize(/web/u698/calinico/CodePHP/gallery2/g2data/cache/derivative/3/1/3122.dat)

(mysqli):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (3122)

getimagesize(/web/u698/calinico/CodePHP/gallery2/g2data/cache/derivative/3/1/3122.dat)

(mysqli):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (3122)

file_exists(/web/u698/calinico/CodePHP/gallery2/g2data/cache/entity/2/9/2958.inc)
file_exists(/web/u698/calinico/CodePHP/gallery2/g2data/cache/derivative/2/9/2958.dat)
file_exists(/web/u698/calinico/CodePHP/gallery2/g2data/cache/entity/2/9/2957.inc)
fopen(/web/u698/calinico/CodePHP/gallery2/g2data/locks/2958, wb+, 0)
flock(Resource id #2413, 6, )

(mysqli): SELECT g_id, g_entityType FROM g2_Entity WHERE g_id IN (2958)

(mysqli): 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
(2958) 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(/web/u698/calinico/CodePHP/gallery2/g2data/cache/derivative/2/9)
is_dir(/web/u698/calinico/CodePHP/gallery2/g2data/cache/derivative/2/9)
GdToolkit::performOperation(image/gif,thumbnail,/web/u698/calinico/CodePHP/gallery2/g2data/albums/Nov05_001/home.gif,/web/u698/calinico/CodePHP/gallery2/g2data/cache/derivative/2/9/2958.dat,150)
file_exists(/web/u698/calinico/CodePHP/gallery2/g2data/albums/Nov05_001/home.gif)
is_file(/web/u698/calinico/CodePHP/gallery2/g2data/albums/Nov05_001/home.gif)
is_readable(/web/u698/calinico/CodePHP/gallery2/g2data/albums/Nov05_001/home.gif)
realpath(/web/u698/calinico/CodePHP/gallery2/modules/core/classes/../../../)
realpath(/web/u698/calinico/CodePHP/gallery2/)

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

(mysqli): UPDATE g2_EventLogMap SET g_userId=6, g_type='Image Error',
g_summary='Unable to build image', g_details='Error
(ERROR_UNSUPPORTED_FILE_TYPE, ERROR_TOOLKIT_FAILURE)<b>in</b>
modules/gd/classes/GdFunctionality.class <b>at line</b> 216
(GalleryCoreApi::error) \n<b>in</b>
modules/gd/classes/GdFunctionality.class <b>at line</b> 238
(GdFunctionality::checkResource) \n<b>in</b>
modules/gd/classes/GdToolkit.class <b>at line</b> 465
(GdFunctionality::imageCreateFromGif) \n<b>in</b>
modules/gd/classes/GdToolkit.class <b>at line</b> 136
(GdToolkit::_getImageResource) \n<b>in</b>
modules/core/classes/GalleryDerivative.class <b>at line</b> 452
(GdToolkit::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/%%3843226876/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] => 0ba11f7474e5\n)\n',
g_location='http://www.calinico.fr/CodePHP/gallery2/main.php?g2_controller=core.AdminMaintenance&g2_form%5Baction%5D%5BrunTask%5D=1&g2_taskId=BuildDerivativesTask&g2_authToken=0ba11f7474e5',
g_client='82.234.121.216', g_timestamp=1239528869,
g_referer='http://www.calinico.fr/CodePHP/gallery2/main.php?g2_view=core.SiteAdmin&amp;g2_subView=core.AdminMaintenance'
WHERE g_id=30

(mysqli): INSERT INTO g2_EventLogMap (g_id, g_userId, g_type, g_summary,
g_details, g_location, g_client, g_timestamp, g_referer) VALUES
(30,6,'Image Error','Unable to build image','Error
(ERROR_UNSUPPORTED_FILE_TYPE, ERROR_TOOLKIT_FAILURE)<b>in</b>
modules/gd/classes/GdFunctionality.class <b>at line</b> 216
(GalleryCoreApi::error) \n<b>in</b>
modules/gd/classes/GdFunctionality.class <b>at line</b> 238
(GdFunctionality::checkResource) \n<b>in</b>
modules/gd/classes/GdToolkit.class <b>at line</b> 465
(GdFunctionality::imageCreateFromGif) \n<b>in</b>
modules/gd/classes/GdToolkit.class <b>at line</b> 136
(GdToolkit::_getImageResource) \n<b>in</b>
modules/core/classes/GalleryDerivative.class <b>at line</b> 452
(GdToolkit::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/%%3843226876/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] =>
0ba11f7474e5\n)\n','http://www.calinico.fr/CodePHP/gallery2/main.php?g2_controller=core.AdminMaintenance&g2_form%5Baction%5D%5BrunTask%5D=1&g2_taskId=BuildDerivativesTask&g2_authToken=0ba11f7474e5','82.234.121.216',1239528869,'http://www.calinico.fr/CodePHP/gallery2/main.php?g2_view=core.SiteAdmin&amp;g2_subView=core.AdminMaintenance')

realpath(/web/u698/calinico/CodePHP/gallery2/modules/core/classes/../../../)
realpath(/web/u698/calinico/CodePHP/gallery2/)

Error (ERROR_UNSUPPORTED_FILE_TYPE, ERROR_TOOLKIT_FAILURE)in
modules/gd/classes/GdFunctionality.class at line 216
(GalleryCoreApi::error)
in modules/gd/classes/GdFunctionality.class at line 238
(GdFunctionality::checkResource)
in modules/gd/classes/GdToolkit.class at line 465
(GdFunctionality::imageCreateFromGif)
in modules/gd/classes/GdToolkit.class at line 136
(GdToolkit::_getImageResource)
in modules/core/classes/GalleryDerivative.class at line 452
(GdToolkit::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/%%3843226876/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(/web/u698/calinico/CodePHP/gallery2/modules/core/classes/../data/broken-image.gif,
/web/u698/calinico/CodePHP/gallery2/g2data/cache/derivative/2/9/2958.dat)
file_exists(/web/u698/calinico/CodePHP/gallery2/g2data/cache/derivative/2/9/2958.dat)
filesize(/web/u698/calinico/CodePHP/gallery2/g2data/cache/derivative/2/9/2958.dat)

(mysqli):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (2958)

getimagesize(/web/u698/calinico/CodePHP/gallery2/g2data/cache/derivative/2/9/2958.dat)

(mysqli):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (2958)

I would appreciate if one of you could tell me what is still going wrong...

 
Totoleheros

Joined: 2009-04-05
Posts: 30
Posted: Sun, 2009-04-12 15:18

The 'IT guys' of my server made a test page to demonstrate that ImageMagick is functionning properly:

Quote:
<?

exec("/home/bin/convert",$data);
echo "<pre>";
print_r($data);
echo "</pre>";

?>

The test page is here: http://www.calinico.fr/CodePHP/gallery2/test.php

Is this help to find where the problem is?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2009-04-12 20:05

disable the GD toolkit.

Quote:
(ERROR_UNSUPPORTED_FILE_TYPE, ERROR_TOOLKIT_FAILURE)<b>in</b>
modules/gd/classes/GdFunctionality.class <b>at line</b> 216

Why not user netpbm as a toolkit. We offer pre-compiled versions on the download page.

FAQ: I am having trouble configuring a graphics toolkit (ImageMagick, NetPBM or ffmpeg). Help?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Totoleheros

Joined: 2009-04-05
Posts: 30
Posted: Sun, 2009-04-12 20:18

It still doesn't work after inactivation of GD. Since I am using a shared server, I cannot install what I want. I may ask the provider to install netpbm...

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2009-04-12 20:46
Quote:
Since I am using a shared server, I cannot install what I want.

You can infact install netPBM. Directions from the FAQ.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Totoleheros

Joined: 2009-04-05
Posts: 30
Posted: Sun, 2009-04-12 21:50

So, I have tried to install netPBM as mentioned in the Download section for binaries. I chmod to 755 (I also tried with 777 with same results) and got this in G2 (admin section):

Quote:
Nom du Binaire Passé/Échoué
pnmscale Échec
pnmcut Échec
pnmfile Échec
pnmcomp Échec
pnmflip Passé

And in the debug section:

Quote:
is_dir(/web/u698/calinico/CodePHP/gallery2/netpbm/)
file_exists(/web/u698/calinico/CodePHP/gallery2/netpbm/pnmscale)
getParameter exec.beNice for core plugin
Executing: ( "/web/u698/calinico/CodePHP/gallery2/netpbm/pnmscale"
"--version" )
2>"/web/u698/calinico/CodePHP/gallery2/g2data/tmp/g2dbgox7TVL"
getParameter exec.expectedStatus for core plugin
file_exists(/web/u698/calinico/CodePHP/gallery2/g2data/tmp/g2dbgox7TVL)
filesize(/web/u698/calinico/CodePHP/gallery2/g2data/tmp/g2dbgox7TVL)
fopen(/web/u698/calinico/CodePHP/gallery2/g2data/tmp/g2dbgox7TVL, r, 0)
feof(Resource id #96)
fgets(Resource id #96, 4096)
feof(Resource id #96)
fgets(Resource id #96, 4096)
feof(Resource id #96)
fclose(Resource id #96)
unlink(/web/u698/calinico/CodePHP/gallery2/g2data/tmp/g2dbgox7TVL)
Regular Output:
Error Output:
sh: /web/u698/calinico/CodePHP/gallery2/netpbm/pnmscale: Permission non
accord�e
Status: 126 (expected 0)
file_exists(/web/u698/calinico/CodePHP/gallery2/netpbm/pnmcut)
Executing: ( "/web/u698/calinico/CodePHP/gallery2/netpbm/pnmcut"
"--version" )
2>"/web/u698/calinico/CodePHP/gallery2/g2data/tmp/g2dbgnfvMfs"
file_exists(/web/u698/calinico/CodePHP/gallery2/g2data/tmp/g2dbgnfvMfs)
filesize(/web/u698/calinico/CodePHP/gallery2/g2data/tmp/g2dbgnfvMfs)
fopen(/web/u698/calinico/CodePHP/gallery2/g2data/tmp/g2dbgnfvMfs, r, 0)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fclose(Resource id #98)
unlink(/web/u698/calinico/CodePHP/gallery2/g2data/tmp/g2dbgnfvMfs)
Regular Output:
Error Output:
sh: /web/u698/calinico/CodePHP/gallery2/netpbm/pnmcut: Permission non
accord�e
Status: 126 (expected 0)
file_exists(/web/u698/calinico/CodePHP/gallery2/netpbm/pamcut)
file_exists(/web/u698/calinico/CodePHP/gallery2/netpbm/pnmfile)
Executing: ( "/web/u698/calinico/CodePHP/gallery2/netpbm/pnmfile"
"--version" )
2>"/web/u698/calinico/CodePHP/gallery2/g2data/tmp/g2dbg3B8xD8"
file_exists(/web/u698/calinico/CodePHP/gallery2/g2data/tmp/g2dbg3B8xD8)
filesize(/web/u698/calinico/CodePHP/gallery2/g2data/tmp/g2dbg3B8xD8)
fopen(/web/u698/calinico/CodePHP/gallery2/g2data/tmp/g2dbg3B8xD8, r, 0)
feof(Resource id #100)
fgets(Resource id #100, 4096)
feof(Resource id #100)
fgets(Resource id #100, 4096)
feof(Resource id #100)
fclose(Resource id #100)
unlink(/web/u698/calinico/CodePHP/gallery2/g2data/tmp/g2dbg3B8xD8)
Regular Output:
Error Output:
sh: /web/u698/calinico/CodePHP/gallery2/netpbm/pnmfile: Permission non
accord�e
Status: 126 (expected 0)
file_exists(/web/u698/calinico/CodePHP/gallery2/netpbm/pamfile)
Executing: ( "/web/u698/calinico/CodePHP/gallery2/netpbm/pamfile"
"--version" )
2>"/web/u698/calinico/CodePHP/gallery2/g2data/tmp/g2dbgTYZ24O"
file_exists(/web/u698/calinico/CodePHP/gallery2/g2data/tmp/g2dbgTYZ24O)
filesize(/web/u698/calinico/CodePHP/gallery2/g2data/tmp/g2dbgTYZ24O)
fopen(/web/u698/calinico/CodePHP/gallery2/g2data/tmp/g2dbgTYZ24O, r, 0)
feof(Resource id #102)
fgets(Resource id #102, 4096)
feof(Resource id #102)
fgets(Resource id #102, 4096)
feof(Resource id #102)
fclose(Resource id #102)
unlink(/web/u698/calinico/CodePHP/gallery2/g2data/tmp/g2dbgTYZ24O)
Regular Output:
Error Output:
sh: /web/u698/calinico/CodePHP/gallery2/netpbm/pamfile: Permission non
accord�e
Status: 126 (expected 0)
file_exists(/web/u698/calinico/CodePHP/gallery2/netpbm/pnmcomp)
Executing: ( "/web/u698/calinico/CodePHP/gallery2/netpbm/pnmcomp"
"--version" )
2>"/web/u698/calinico/CodePHP/gallery2/g2data/tmp/g2dbgLU6IBv"
file_exists(/web/u698/calinico/CodePHP/gallery2/g2data/tmp/g2dbgLU6IBv)
filesize(/web/u698/calinico/CodePHP/gallery2/g2data/tmp/g2dbgLU6IBv)
fopen(/web/u698/calinico/CodePHP/gallery2/g2data/tmp/g2dbgLU6IBv, r, 0)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fclose(Resource id #104)
unlink(/web/u698/calinico/CodePHP/gallery2/g2data/tmp/g2dbgLU6IBv)
Regular Output:
Error Output:
sh: /web/u698/calinico/CodePHP/gallery2/netpbm/pnmcomp: Permission non
accord�e
Status: 126 (expected 0)
file_exists(/web/u698/calinico/CodePHP/gallery2/netpbm/pamcomp)
file_exists(/web/u698/calinico/CodePHP/gallery2/netpbm/pnmflip)

I seems that G2 will never work on this server!! I'm becoming quite nervous about that.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2009-04-13 03:46
Quote:
Error Output:
sh: /web/u698/calinico/CodePHP/gallery2/netpbm/pnmscale: Permission non
accord�e

Seems to be a permissions issue.

please post a php info link:
FAQ: What information is required when I ask for help in the forums?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Totoleheros

Joined: 2009-04-05
Posts: 30
Posted: Mon, 2009-04-13 08:29

http://www.calinico.fr/phpinfo.php

Thank you for your help.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2009-04-13 14:40
phpinfo wrote:
memory_limit 32M 32M
open_basedir no value no value

Seems that memory should not be an issue.
Seems that open_basedir should not be a problem.

phpinfo wrote:
safe_mode Off Off

Safe mode should not be the issue.

That leaves permissions. Did you chmod the files as well as the direcotry for netPBM?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Totoleheros

Joined: 2009-04-05
Posts: 30
Posted: Mon, 2009-04-13 14:59

The permission of the netPBM folder (and files inside) is set at 755. I tried with 777 without further success. The files (I guess you intend the g2data folder) is set with 755 permission. The files inside (ie images) are set with 644.

The permissions of the other folders in the g2data are as follows:

album (folder): 777 (and the album folders inside this are set at 755)
cache (folder): 777
ht (file): 777
install_28bb9c828d.log (file): 644
locale (folder): 755
locks (folder): 777
plugins_data (folder): 777
smarty (folder): 777
tmp (folder): 777
versions.dat: 644

Is this correct?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2009-04-14 00:13

Sorry I don't have a clue now.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Totoleheros

Joined: 2009-04-05
Posts: 30
Posted: Tue, 2009-04-14 08:34

Stop to torture your brain: my §&$#@!'?! host just mailed me that they REALIZED (after a number of exchanged mails on this issue!!!) that the development environment changed : Now, on their shared server (my case), it is not possible to run anything else than PHP. Let me tell you that the chance that I change hosting service are high!! Sorry to have bothered so many people here while the guilt was the server.

Many thanks to all of you.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2009-04-14 15:30

All right, then I'll go ahead and post what I was going to post. And what I almost posted here http://gallery.menalto.com/node/86947#comment-304952 I could see right then and there your "IT" people didn't and don't have a clue.

Your "IT" people for your "web host" should know their configuration. Apparently they do not. Heck it even looks like they don't configure and manage their own servers. Your "host" is most likely just a downstream reseller of hosting services and they have ZERO physical access to the servers and are just reselling services they have NO control over.

Get a real host. A host who owns, controls and have PHYSICAL access to their own servers, networking equipment AND their own data center. It's going to cost more than $5/month, but you get what you pay for and you'll get much better service.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Totoleheros

Joined: 2009-04-05
Posts: 30
Posted: Tue, 2009-04-14 16:02

Nivekiam, you are definitively right! It took them 10 f&@è§èing days to know that ImageMagick and netPBM cannot run on "their" server. No doubt that I will change. Just for the rest of you that might be interested, the hosting service is PHPNux. All that mess is worth some publicity, right? I'm sorry that I made all you guys lose your time...

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2009-04-15 01:09
Quote:
All that mess is worth some publicity, right?

We use to have a hosting forum where you could rant about bad hosts and give you good experience as well, but spam was taking over and we had to nuke it.
You are welcome to post your rants about your experience with your host in the services or general feedback forums.

Good luck finding a good host that fits your needs.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team