Zum Inhalt springen

Jm_gallery keine datein werden Erzeugt!

Erstellt am 11. März 2006 · 1 Antwort · letzte Antwort am 12. März 2006

Tags: Bilder, Server & Hosting, Frage

buhny ·

Hallo,

Ich hab die extension jm_gallery installiert und in meiner Gallery werden keine Bilder angezeigt.

hier der Debugtext:

# Imagemagick: 1
# Path To Imagemagick: /var/www/html/web522/html/cms/imagemagick-4.2.9/
# Does convert exist in this directory?: Yes
# Checking for IM in different directory, found: /usr/bin/convert
# IM command for resizing:
/var/www/html/web522/html/cms/imagemagick-4.2.9/convert -geometry 30x27! -quality 70 typo3/gfx/icon_ok.gif typo3temp/test.jpg
# Did it work?: Failed
# Error message from IM:
# GDlib Version: bundled (2.0.28 compatible)
# Imagemagick Version

Aber Imagemagick läuft sonst einwandfrei (alle Test im install bestanden und ich seh thumbs BE und Bilder im FE)

Ausserdem kommt beim Debugg dieser Fehler:

Warning: shell_exec() has been disabled for security reasons in /var/www/html/web522/html/cms/typo3conf/ext/jm_gallery/pi1/class.tx_jmgallery_pi1.php on line 727

Warning: shell_exec() has been disabled for security reasons in /var/www/html/web522/html/cms/typo3conf/ext/jm_gallery/pi1/class.tx_jmgallery_pi1.php on line 148

Aber in der Gallerie nicht.
Hab die neuste Version von jm_gallery drauf und safe-mode in php ist on.

buhny

m00re ·

ich schätze der grund ist, dass (wie in deinem debug output zu sehen) shell_exec() nicht verfügbar ist. stattdessen müsste die extension exec() benutzen (werd ich mir vormerken für die nächste version. solange muss man das per hand anpassen in der class.tx_jmgallery_pi1.php - funktion resizeImage($width, $height, $quality, $source, $target)). jedoch ist exec() im safe_mode auch eingeschränkt.

laut php manual:

Note: When safe mode is enabled, you can only execute executables within the safe_mode_exec_dir. For practical reasons it is currently not allowed to have .. components in the path to the executable.

ich hoffe das hilft dir weiter

gruß jens