Imagemagick problem

spacio

Joined: 2007-02-18
Posts: 7
Posted: Sun, 2009-05-24 07:49

Hi everybody,
I have got problems with Imagemagick since 6.5.x version: a gallery made before march 2009 doesn't have the problem.
I can't rotate pictures.

Please find my configuration below:

Quote:
Gallery version = 2.3 noyau 1.3.0
API = Noyau 7.54, Module 3.9, Thème 2.6, Intégré 1.5
PHP version = 5.2.6 cgi
Serveur Web = Apache/1.3.41 (Unix) mod_log_bytes/1.2 mod_bwlimited/1.4 mod_auth_passthrough/1.8 FrontPage/5.0.2.2635 DAV/1.0.3 mod_ssl/2.8.31 OpenSSL/0.9.7a
Base de données = mysqlt 5.0.77-community, lock.system=flock
Boîtes à outils = ArchiveUpload, Ffmpeg, LinkItemToolkit, Thumbnail, Gd, ImageMagick, Exif, Getid3
Accélération = full/900, partial/900
Système d'exploitation = Linux serveur.mavenfrance4.com 2.6.24.2-xxxx-std-ipv4-32 #1 SMP Mon Feb 11 15:26:43 CET 2008 i686
Thème par défaut = matrix
gettext = activé
Langage = fr_FR
Navigateur Web = Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.0.10) Gecko/2009042523 Ubuntu/9.04 (jaunty) Firefox/3.0.10
Lignes dans la table GalleryAccessMap = 105
Lignes dans la table GalleryAccessSubscriberMap = 10501
Lignes dans la table GalleryUser = 22
Lignes dans la table GalleryItem = 10496
Lignes dans la table GalleryAlbumItem = 222
Lignes dans la table GalleryCacheMap = 480

And the imagemagick test result:

Quote:
is_dir(/usr/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(/home/user/public_html/galerie/g2data/tmp/)
is_dir(/usr/bin/)
file_exists(/usr/bin/gm)
file_exists(/usr/bin/identify)
is_dir(/usr/bin/)
file_exists(/usr/bin/gm)
tempnam(/home/user/public_html/galerie/g2data/tmp/, imgk_)
file_exists(/usr/bin/convert)
getParameter exec.beNice for core plugin
Executing: ( "/usr/bin/convert" "-size" "200x200" "-geometry" "200x200"
"/home/user/public_html/galerie/modules/imagemagick/data/test.gif"
"gif:/home/user/public_html/galerie/g2data/tmp/imgk_N2EyWE" )
2>"/home/user/public_html/galerie/g2data/tmp/g2dbg6xWWtY"
getParameter exec.expectedStatus for core plugin
file_exists(/home/user/public_html/galerie/g2data/tmp/g2dbg6xWWtY)
filesize(/home/user/public_html/galerie/g2data/tmp/g2dbg6xWWtY)
unlink(/home/user/public_html/galerie/g2data/tmp/g2dbg6xWWtY)
Regular Output:
Error Output:
Status: 0 (expected 0)
unlink(/home/user/public_html/galerie/g2data/tmp/imgk_N2EyWE)
is_dir(/usr/bin/)
file_exists(/usr/bin/gm)
file_exists(/usr/bin/combine)
file_exists(/usr/bin/composite)
is_dir(/usr/bin/)
file_exists(/usr/bin/gm)
tempnam(/home/user/public_html/galerie/g2data/tmp/, imgk_)
Executing: ( "/usr/bin/composite" "-geometry" "+0+0"
"/home/user/public_html/galerie/modules/imagemagick/data/test.jpg"
"/home/user/public_html/galerie/modules/imagemagick/data/test.gif"
"gif:/home/user/public_html/galerie/g2data/tmp/imgk_0wZsBi" )
2>"/home/user/public_html/galerie/g2data/tmp/g2dbgdeGZIC"
file_exists(/home/user/public_html/galerie/g2data/tmp/g2dbgdeGZIC)
filesize(/home/user/public_html/galerie/g2data/tmp/g2dbgdeGZIC)
fopen(/home/user/public_html/galerie/g2data/tmp/g2dbgdeGZIC, r, 0)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fclose(Resource id #112)
unlink(/home/user/public_html/galerie/g2data/tmp/g2dbgdeGZIC)
Regular Output:
Error Output:
sh: /usr/bin/composite: Aucun fichier ou r�pertoire de ce type
Status: 127 (expected 0)
unlink(/home/user/public_html/galerie/g2data/tmp/imgk_0wZsBi)
chdir(/home/user/public_html/galerie)

Thanks for your help !

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 6136
Posted: Sun, 2009-05-24 11:33
Quote:
sh: /usr/bin/composite: Aucun fichier ou r�pertoire de ce type
Status: 127 (expected 0)

looks like sh command is disabled.
Ask your host.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
spacio

Joined: 2007-02-18
Posts: 7
Posted: Sun, 2009-05-24 17:29

I ask to my host: sh command is disabled to forbid compilation.
Do you think is it my problem (impossible to rotate) root cause ?

Thanks