|
|
|
|
|
Joined: Mon Nov 12 2007, 03:41PM
Posts: 14
|
Sun Nov 18 2007, 12:56AM
|
|
|
ImageMagick version: "" n/a
is what it says in the server check. However i am sure it is installed. I use some crons that use the convert.
convert -version tells me 6.3.7 is installed.
Where do i go wrong? do i miss some link with php / apache?
|
|
|
|
e107 developer
Joined: Sat Nov 18 2006, 06:29PM
Posts: 1170
|
Mon Nov 19 2007, 10:49AM
|
|
|
|
Open sgallery/includes/phpThumb.config.php and set the path to your imageMagick (convert) installation.
|
|
|
|
Joined: Mon Nov 12 2007, 03:41PM
Posts: 14
|
Fri Nov 23 2007, 05:33PM
|
|
|
Thank you for your info secretr. What else do i need to config to get this to work? set to /usr/bin/convert where i have my imagemagick install. But is still produces errors:
../../extra/sgallery/pics/hmj448x9b6gc/__dscf0103.jpg -> ../../extra/sgallery/pics/hmj448x9b6gc/dscf0103.jpg
phpThumb() v1.7.8-200709161750 in file "phpthumb.class.php" on line 216
setSourceFilename(../../extra/sgallery/pics/hmj448x9b6gc/__dscf0103.jpg) set $this->sourceFilename to "../../extra/sgallery/pics/hmj448x9b6gc/__dscf0103.jpg" in file "phpthumb.class.php" on line 243
file_exists() = 0 in file "phpthumb.class.php" on line 1099
is_executable() = 0 in file "phpthumb.class.php" on line 1100
ImageMagickThumbnailToGD() aborting because cannot find convert in $this->config_imagemagick_path (), and `which convert` returned (/usr/bin/convert) in file "phpthumb.class.php" on line 1129
$AvailableImageOutputFormats = array(text;ico;bmp;wbmp;gif;png;jpeg) in file "phpthumb.class.php" on line 882
$this->thumbnailFormat set to $this->config_output_format "jpeg" in file "phpthumb.class.php" on line 893
$this->thumbnailQuality set to "80" in file "phpthumb.class.php" on line 910
$this->sourceFilename set to "/home/username/domains/domain.nl/public_html/extra/sgallery/pics/hmj448x9b6gc/__dscf0103.jpg" in file "phpthumb.class.php" on line 811
setCacheDirectory() starting with config_cache_directory = "" in file "phpthumb.class.php" on line 917
$this->config_cache_directory () is not a directory in file "phpthumb.class.php" on line 953
SetCacheFilename() failed because $this->config_cache_directory is empty in file "phpthumb.class.php" on line 2999
starting ExtractEXIFgetImageSize() in file "phpthumb.class.php" on line 2856
$this->useRawIMoutput=false because "bg" is set in file "phpthumb.class.php" on line 1217
$this->useRawIMoutput=false after checking $UnAllowedParameters in file "phpthumb.class.php" on line 1223
ImageMagickThumbnailToGD() aborting because ImageMagickCommandlineBase() failed in file "phpthumb.class.php" on line 1827
ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 2886
SetOrientationDependantWidthHeight() starting with "1728"x"2304" in file "phpthumb.class.php" on line 2835
SetOrientationDependantWidthHeight() setting w="600", h="800" in file "phpthumb.class.php" on line 2851
exif_thumbnail() does not exist, cannot extract EXIF thumbnail in file "phpthumb.class.php" on line 2933
starting SourceImageToGD() in file "phpthumb.class.php" on line 3196
$this->useRawIMoutput=false because "bg" is set in file "phpthumb.class.php" on line 1217
$this->useRawIMoutput=false after checking $UnAllowedParameters in file "phpthumb.class.php" on line 1223
ImageMagickThumbnailToGD() aborting because ImageMagickCommandlineBase() failed in file "phpthumb.class.php" on line 1827
Not using EXIF thumbnail data because $this->exif_thumbnail_data is empty in file "phpthumb.class.php" on line 3245
$this->gdimg_source is still empty in file "phpthumb.class.php" on line 3297
ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 3299
phpThumb() v1.7.8-200709161750 All attempts to create GD image source failed. ImageMagick is not installed (it is highly recommended that you install it). Source image is too large (1728x2304 = 4.0Mpx, max=4.2Mpx) for GD creation (either install ImageMagick or increase PHP memory_limit to at least 24M). in file "phpthumb.class.php" on line 3614
phpThumb() v1.7.8-200709161750 Image is too large for PHP-GD memory_limit, please install ImageMagick or increase php.ini memory_limit setting in file "phpthumb.class.php" on line 3614
SourceImageToGD() failed in file "phpthumb.class.php" on line 323
No "out of the box"-experience for me :(
|
|
|
|
e107 developer
Joined: Sat Nov 18 2006, 06:29PM
Posts: 1170
|
Sat Nov 24 2007, 12:40AM
|
|
|
Read this (the latest posts) - http://www.free-source.net/forum-t568-0.html You have the same issue I think.
|
|
|
|
Joined: Mon Nov 12 2007, 03:41PM
Posts: 14
|
Tue Nov 27 2007, 06:29PM
|
|
|
Disabled imagemagick ( iam very sad this is not working) Raised the memory limit from 20M to 25M which seems to have solved the problem, if i raise it more php errors and starts complaining it has not have enough mem.
[ Edited Tue Nov 27 2007, 06:44PM ]
|
|
|
|
e107 developer
Joined: Sat Nov 18 2006, 06:29PM
Posts: 1170
|
Wed Nov 28 2007, 11:24PM
|
|
|
|
You are using Windows server, don't expect too much :)
|
|
|
|
Joined: Mon Nov 12 2007, 03:41PM
Posts: 14
|
Thu Nov 29 2007, 02:08PM
|
|
|
Where did you read that? I haven't said so.... I use CentOS 4.5 Linux distro. :(
|
|
|
|
e107 developer
Joined: Sat Nov 18 2006, 06:29PM
Posts: 1170
|
Thu Nov 29 2007, 11:40PM
|
|
|
|
So it can't be imageMagick problem. Your server messes somehow realpath() and/or dirname() so that phpThumb API can't find them. You could try to enable 'path above docroot' setting. You could also try to set docroot (first phpThumb.config setting) to fit your server configuration. I still can't identify why/when/where some users have issues with phpThumb relative paths - I can't reproduce it.
|
|
|
|
|
|
Moderators: SonicE, veskoto, SecretR, Stoewarius, steved, McFly, Cameron, yanniiwanow
|
|
|