|
|
|
|
|
Joined: Fri Sep 14 2007, 07:29PM
Posts: 5
|
Mon Oct 15 2007, 08:32PM
|
|
|
OK you all...
I did a lot of research and wound up getting this error via a different plugin... The purple scroll TinyMCE editor which uses phpthumb as well.
I skipped their plugin and looked for another which modified iBrowser (current TinyMCE uploader) and discovered some discussion about IIS and phpThumb...
In the case of my errors...
The CGI Error is cause by the w= and h= parameters... (i.e. '&w=48&h=48&far=1&bg=ffffff&f=jpg') For this to work in IIS I had to remove a lot of built - in functions that added this tag to the file. In some areas the results were not as desired - but the image displayed (which it never did before)
In the case of the empty thumbnail setting being passed to the phpThumb script for example here: $this->sourceFilename set to "" in file "phpthumb.class.php
this was fixed by following the below post and instructions:
http://tinymce.moxiecode.com/punbb/viewtopic.php?pid=11065
Esentially it was adding this function to phpThumb.class
function fixslashes($unc) { $unc = str_replace( "\\", "/", $unc) ; $unc = str_replace( "//", "/", $unc) ; $check=strpos($unc, "//"); if($check==false) { return($unc); } else { fixslashes($unc); }
}
And then calling it in respective areas: if ($this->sourceFilename=="" OR $this->sourceFilename==null) {$this->sourceFilename=$this->fixslashes($this->src); }
hopefully this helps!
|
|
|
|
e107 developer
Joined: Sat Nov 18 2006, 06:29PM
Posts: 1170
|
Mon Oct 15 2007, 11:07PM
|
|
|
Thanks for the important info. However I'm still sure it's all about realpath/dirname functions issue. I'll investigate it further and contact the phpThumb author. Thanks again.
|
|
|
|
Joined: Mon Mar 16 2009, 11:21PM
Posts: 1
|
Mon Mar 23 2009, 02:17AM
|
|
|
Any updates about that?
I get this:
Error(s) detected:
Fehler[phpThumb]:
../../e107_plugins/sgallery/pics/hnqbbizrn9ws/__gaf_logo.png -> ../../e107_plugins/sgallery/pics/hnqbbizrn9ws/gaf_logo.png
phpThumb() v1.7.8-200709161750 in file "phpthumb.class.php" on line 216
setSourceFilename(../../e107_plugins/sgallery/pics/hnqbbizrn9ws/__gaf_logo.png) set $this->sourceFilename to "../../e107_plugins/sgallery/pics/hnqbbizrn9ws/__gaf_logo.png" 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 () 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/www/915d53c275ef34e16dce874dc06781e2/web/e107_plugins/sgallery/../../e107_plugins/sgallery/pics/hnqbbizrn9ws/__gaf_logo.png" in file "phpthumb.class.php" on line 811
phpThumb() v1.7.8-200709161750 "/home/www/915d53c275ef34e16dce874dc06781e2/web/e107_plugins/sgallery/../../e107_plugins/sgallery/pics/hnqbbizrn9ws/__gaf_logo.png" does not exist in file "phpthumb.class.php" on line 3614
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
GetImageSize("/home/www/915d53c275ef34e16dce874dc06781e2/web/e107_plugins/sgallery/../../e107_plugins/sgallery/pics/hnqbbizrn9ws/__gaf_logo.png") failed in file "phpthumb.class.php" on line 2879
$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 ""x"" in file "phpthumb.class.php" on line 2835
SetOrientationDependantWidthHeight() setting w="640", h="480" in file "phpthumb.class.php" on line 2851
EXIF thumbnail extraction: (size=0; type=""; 0x0) in file "phpthumb.class.php" on line 2938
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
starting ImageCreateFromFilename(/home/www/915d53c275ef34e16dce874dc06781e2/web/e107_plugins/sgallery/../../e107_plugins/sgallery/pics/hnqbbizrn9ws/__gaf_logo.png) in file "phpthumb.class.php" on line 3111
empty $filename or GetImageSize(/home/www/915d53c275ef34e16dce874dc06781e2/web/e107_plugins/sgallery/../../e107_plugins/sgallery/pics/hnqbbizrn9ws/__gaf_logo.png) failed in file "phpthumb.class.php" on line 3160
Populating $rawimagedata in file "phpthumb.class.php" on line 3168
cannot fopen(/home/www/915d53c275ef34e16dce874dc06781e2/web/e107_plugins/sgallery/../../e107_plugins/sgallery/pics/hnqbbizrn9ws/__gaf_logo.png) in file "phpthumb.class.php" on line 3179
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 Unknown image type identified by "" () in SourceImageToGD()[3411] in file "phpthumb.class.php" on line 3614
SourceImageToGD() failed in file "phpthumb.class.php" on line 323
1 Bild(er) erfolgreich hochgeladen
could this be because of our new site is build in a subdomain, of our maindomain? It is just for testing and development purpose. so we setup a subdomain e107.gaf-team.com?
Your Gallery and your widget are great, sooo please Help! And many Thanks! Good work! If it helps, i can post the "Server Check" results of your plugin too.
|
|
|
|
Joined: Fri Feb 22 2008, 05:38AM
Posts: 15
|
Mon Mar 23 2009, 05:18AM
|
|
|
|
hey SecretR thxs for this release but this doesnt solve my problem with the problem u worked on...
|
|
|
|
Joined: Tue May 19 2009, 12:46AM
Posts: 2
|
Tue May 19 2009, 01:12AM
|
|
|
May be the problem is in a large quanity of duplicates? Now I use Clone Remover to find images and music files duplicates and I solve my problem with the duplicates. What do you think about it?
[Edit] URL removed. Me stupid. User will be removed soon as well.
[ Edited Tue Aug 04 2009, 11:27PM ]
|
|
|
|
e107 developer
Joined: Sat Nov 18 2006, 06:29PM
Posts: 1170
|
Thu May 21 2009, 01:58AM
|
|
|
|
Duplicates?
|
|
|
|
Joined: Tue May 19 2009, 12:46AM
Posts: 2
|
Sat May 23 2009, 02:24AM
|
|
|
I had a lot of duplicates of musical files on my PC. I used to delete duplicate files duplicate music finder, which is called Clone Remover. It is a usefull program for all files, not only music. May be, it will solve your problem. Good luck!
[Edit] URL removed. I missed this somehow.
[ Edited Tue Aug 04 2009, 11:26PM ]
|
|
|
|
Joined: Tue Aug 04 2009, 04:06PM
Posts: 1
|
Tue Aug 04 2009, 04:17PM
|
|
|
If i undrstand your problem you need a programme to remove duplicates or duplicate music finder to resolve the problem. I am using a software called duplicate finder 2009 it has been great for me to remove duplicate files, Duplicate File Finder - Find and remove duplicate files, byte by byte/crc32.
[Edit] URL removed. Cheap SEO (or call it SPAM), buy yourself Google Adsense campaign.
[ Edited Tue Aug 04 2009, 11:24PM ]
|
|
|
|
|
|
Moderators: SonicE, veskoto, SecretR, Stoewarius, steved, McFly, Cameron, yanniiwanow
|
|