Hi Whoismanu,
First thanks for PhotoQ, I'm using it for a long time now, butsince I have to deploy it on a new platform, I'm getting this error with PhotoQ 1.7 and Wordpress 2.8 on a Mac OSX 10.5.
From what I can read, it begins to break when fetching the ImageMagick version:
ImageMagick version checked with ""/opt/local/bin/convert" --version" in file "phpthumb.class.php" on line 1152
ImageMagick did not return recognized version string (Version: ImageMagick 6.4.8 2009-01-20 Q8 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC) in file "phpthumb.class.php" on line 1158
ImageMagick convert --version says "" in file "phpthumb.class.php" on line 1160
Then, the sourceFilename and cache directory seem to be empty:
$this->sourceFilename set to "" in file "phpthumb.class.php" on line 817
...
SetCacheFilename() failed because $this->config_cache_directory is empty in file "phpthumb.class.php" on line 3076
I've verified the permissions and the path to convert, this path is ok because it fetch the version number even if it can't recognized it.
Im hoping someone else got this error on Mac OSX, I remember to struggle last year when I installed it for a friend: it was working on the webhost but not on the local Mac OSX install, so all debug occured directly on the webhoster.
Cheers,
Alex
----
Full debug log:
phpThumb() v1.7.9-200805132119
"" does not exist
phpThumb() v1.7.9-200805132119 in file "phpthumb.class.php" on line 216
setSourceFilename(/Users/alx/Sites/rosa/wp-content/qdir/Picture-5.png) set $this->sourceFilename to "/Users/alx/Sites/rosa/wp-content/qdir/Picture-5.png" in file "phpthumb.class.php" on line 243
file_exists(/opt/local/bin/convert) = 1 in file "phpthumb.class.php" on line 1105
is_executable(/opt/local/bin/convert) = 1 in file "phpthumb.class.php" on line 1106
using ImageMagick path from $this->config_imagemagick_path (/opt/local/bin/convert) in file "phpthumb.class.php" on line 1108
ImageMagick version checked with ""/opt/local/bin/convert" --version" in file "phpthumb.class.php" on line 1152
ImageMagick did not return recognized version string (Version: ImageMagick 6.4.8 2009-01-20 Q8 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC) in file "phpthumb.class.php" on line 1158
ImageMagick convert --version says "" in file "phpthumb.class.php" on line 1160
$AvailableImageOutputFormats = array(text;ico;bmp;wbmp;gif;png;jpeg) in file "phpthumb.class.php" on line 888
$this->thumbnailFormat set to $this->config_output_format "jpeg" in file "phpthumb.class.php" on line 899
$this->thumbnailQuality set to "95" in file "phpthumb.class.php" on line 916
!$this->config_allow_src_above_docroot therefore setting "/Users/alx/Sites/rosa/wp-content/qdir/Picture-5.png" (outside "/Library/WebServer/Documents") to null in file "phpthumb.class.php" on line 1070
$this->sourceFilename set to "" in file "phpthumb.class.php" on line 817
phpThumb() v1.7.9-200805132119
"" does not exist in file "phpthumb.class.php" on line 3709
setCacheDirectory() starting with config_cache_directory = "" in file "phpthumb.class.php" on line 923
$this->config_cache_directory () is not a directory in file "phpthumb.class.php" on line 959
SetCacheFilename() failed because $this->config_cache_directory is empty in file "phpthumb.class.php" on line 3076
starting ExtractEXIFgetImageSize() in file "phpthumb.class.php" on line 2920
skipping GetImageSize() because $this->sourceFilename is empty in file "phpthumb.class.php" on line 2932
GetImageSize("") failed in file "phpthumb.class.php" on line 2959
$this->useRawIMoutput=true after checking $UnAllowedParameters in file "phpthumb.class.php" on line 1252
ImageMagickThumbnailToGD() aborting because $this->sourceFilename is empty in file "phpthumb.class.php" on line 1295
ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 2966
SetOrientationDependantWidthHeight() starting with ""x"" in file "phpthumb.class.php" on line 2899
SetOrientationDependantWidthHeight() setting w="80", h="0" in file "phpthumb.class.php" on line 2915
EXIF thumbnail extraction: (size=0; type=""; 0x0) in file "phpthumb.class.php" on line 3015
starting SourceImageToGD() in file "phpthumb.class.php" on line 3273
$this->useRawIMoutput=true after checking $UnAllowedParameters in file "phpthumb.class.php" on line 1252
ImageMagickThumbnailToGD() aborting because $this->sourceFilename is empty in file "phpthumb.class.php" on line 1295
Not using EXIF thumbnail data because $this->exif_thumbnail_data is empty in file "phpthumb.class.php" on line 3329
$this->gdimg_source is still empty in file "phpthumb.class.php" on line 3381
ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 3383
phpThumb() v1.7.9-200805132119
Unable to create image, neither filename nor image data suppplied in SourceImageToGD() [3490] in file "phpthumb.class.php" on line 3709
SourceImageToGD() failed in file "phpthumb.class.php" on line 323
not resolved