Page 2 of 3
first
previous
1
2
3
next
last
Fri Feb 16 2007, 03:34PM
I got my host to turn safemode off...

I entered the filetypes i want. now it says the upload was sucsessfull, but there are no files in the gallery. No files gets uploaded. The same goes for every other file upload site wide.
Cant seem to be able to upload anything. And i get no upload errors either. :(

Thanks for trying to help me :)

Back to top
Fri Mar 30 2007, 11:26AM
I have a problem with latest sgallery. It won't produce thumbs.
I get the error below [ pardon long script... ]

Error[phpThumb]: [../../e107_plugins/sgallery/pics/9dh2ae881j40/__sl550061.jpg -> ../../e107_plugins/sgallery/pics/9dh2ae881j40/sl550061.jpg]
phpThumb() v1.7.6-200612101028 in file "phpthumb.class.php" on line 214
setSourceFilename(../../e107_plugins/sgallery/pics/9dh2ae881j40/__sl550061.jpg) set $this->sourceFilename to "../../e107_plugins/sgallery/pics/9dh2ae881j40/__sl550061.jpg" in file "phpthumb.class.php" on line 232
file_exists() = 0 in file "phpthumb.class.php" on line 1041
is_executable() = 0 in file "phpthumb.class.php" on line 1042
ImageMagickThumbnailToGD() aborting because cannot find convert in $this->config_imagemagick_path (), and `which convert` returned () in file "phpthumb.class.php" on line 1071
$AvailableImageOutputFormats = array(text;ico;bmp;wbmp;gif;png;jpeg) in file "phpthumb.class.php" on line 830
$this->thumbnailFormat set to $this->config_output_format "jpeg" in file "phpthumb.class.php" on line 840
$this->thumbnailQuality set to "80" in file "phpthumb.class.php" on line 857
!$this->config_allow_src_above_docroot therefore setting "/e107/e107_plugins/sgallery/../../e107_plugins/sgallery/pics/9dh2ae881j40/__sl550061.jpg" (outside "D:\www\criens.nl\www\e107\e107_plugins\sgallery") to null in file "phpthumb.class.php" on line 1006
$this->sourceFilename set to "" in file "phpthumb.class.php" on line 759
phpThumb() v1.7.6-200612101028 "" does not exist in file "phpthumb.class.php" on line 3381
setCacheDirectory() starting with config_cache_directory = "" in file "phpthumb.class.php" on line 864
$this->config_cache_directory () is not a directory in file "phpthumb.class.php" on line 900
SetCacheFilename() failed because $this->config_cache_directory is empty in file "phpthumb.class.php" on line 2785
starting ExtractEXIFgetImageSize() in file "phpthumb.class.php" on line 2642
GetImageSize("") failed in file "phpthumb.class.php" on line 2665
$this->useRawIMoutput=false because "bg" is set in file "phpthumb.class.php" on line 1156
ImageMagickThumbnailToGD() aborting because $this->sourceFilename is empty in file "phpthumb.class.php" on line 1201
ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 2672
SetOrientationDependantWidthHeight() starting with ""x"" in file "phpthumb.class.php" on line 2621
SetOrientationDependantWidthHeight() setting w="640", h="480" in file "phpthumb.class.php" on line 2637
EXIF thumbnail extraction: (size=0; type=""; 0x0) in file "phpthumb.class.php" on line 2724
starting SourceImageToGD() in file "phpthumb.class.php" on line 2982
$this->useRawIMoutput=false because "bg" is set in file "phpthumb.class.php" on line 1156
ImageMagickThumbnailToGD() aborting because $this->sourceFilename is empty in file "phpthumb.class.php" on line 1201
Not using EXIF thumbnail data because $this->exif_thumbnail_data is empty in file "phpthumb.class.php" on line 3023
$this->gdimg_source is still empty in file "phpthumb.class.php" on line 3075
ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 3077
phpThumb() v1.7.6-200612101028 Unknown image type identified by "" () in SourceImageToGD()[3187] in file "phpthumb.class.php" on line 3381
SourceImageToGD() failed in file "phpthumb.class.php" on line 310


Thanks for helping out...
Crienoloog
Back to top
Thu May 03 2007, 08:19PM
Crienoloog wrote ...

I have a problem with latest sgallery. It won't produce thumbs.
I get the error below [ pardon long script... ]

Error[phpThumb]: [../../e107_plugins/sgallery/pics/9dh2ae881j40/__sl550061.jpg -> ../../e107_plugins/sgallery/pics/9dh2ae881j40/sl550061.jpg]
phpThumb() v1.7.6-200612101028 in file "phpthumb.class.php" on line 214
setSourceFilename(../../e107_plugins/sgallery/pics/9dh2ae881j40/__sl550061.jpg) set $this->sourceFilename to "../../e107_plugins/sgallery/pics/9dh2ae881j40/__sl550061.jpg" in file "phpthumb.class.php" on line 232
file_exists() = 0 in file "phpthumb.class.php" on line 1041
is_executable() = 0 in file "phpthumb.class.php" on line 1042
ImageMagickThumbnailToGD() aborting because cannot find convert in $this->config_imagemagick_path (), and `which convert` returned () in file "phpthumb.class.php" on line 1071
$AvailableImageOutputFormats = array(text;ico;bmp;wbmp;gif;png;jpeg) in file "phpthumb.class.php" on line 830
$this->thumbnailFormat set to $this->config_output_format "jpeg" in file "phpthumb.class.php" on line 840
$this->thumbnailQuality set to "80" in file "phpthumb.class.php" on line 857
!$this->config_allow_src_above_docroot therefore setting "/e107/e107_plugins/sgallery/../../e107_plugins/sgallery/pics/9dh2ae881j40/__sl550061.jpg" (outside "D:\www\criens.nl\www\e107\e107_plugins\sgallery") to null in file "phpthumb.class.php" on line 1006
$this->sourceFilename set to "" in file "phpthumb.class.php" on line 759
phpThumb() v1.7.6-200612101028 "" does not exist in file "phpthumb.class.php" on line 3381
setCacheDirectory() starting with config_cache_directory = "" in file "phpthumb.class.php" on line 864
$this->config_cache_directory () is not a directory in file "phpthumb.class.php" on line 900
SetCacheFilename() failed because $this->config_cache_directory is empty in file "phpthumb.class.php" on line 2785
starting ExtractEXIFgetImageSize() in file "phpthumb.class.php" on line 2642
GetImageSize("") failed in file "phpthumb.class.php" on line 2665
$this->useRawIMoutput=false because "bg" is set in file "phpthumb.class.php" on line 1156
ImageMagickThumbnailToGD() aborting because $this->sourceFilename is empty in file "phpthumb.class.php" on line 1201
ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 2672
SetOrientationDependantWidthHeight() starting with ""x"" in file "phpthumb.class.php" on line 2621
SetOrientationDependantWidthHeight() setting w="640", h="480" in file "phpthumb.class.php" on line 2637
EXIF thumbnail extraction: (size=0; type=""; 0x0) in file "phpthumb.class.php" on line 2724
starting SourceImageToGD() in file "phpthumb.class.php" on line 2982
$this->useRawIMoutput=false because "bg" is set in file "phpthumb.class.php" on line 1156
ImageMagickThumbnailToGD() aborting because $this->sourceFilename is empty in file "phpthumb.class.php" on line 1201
Not using EXIF thumbnail data because $this->exif_thumbnail_data is empty in file "phpthumb.class.php" on line 3023
$this->gdimg_source is still empty in file "phpthumb.class.php" on line 3075
ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 3077
phpThumb() v1.7.6-200612101028 Unknown image type identified by "" () in SourceImageToGD()[3187] in file "phpthumb.class.php" on line 3381
SourceImageToGD() failed in file "phpthumb.class.php" on line 310


Thanks for helping out...
Crienoloog


After moving hosts i too am getting this and my new host class it as a security risk which is why they have it disabled i can only modify files within my home folder.

"it is correct that you can't modify any files above /home/mysite/ (your home directory"

I am on shared hosting.
Safe mod off.

Would an update fix this or i am stuck with it and basically cant use this great plugin as there are no thumbnails etc. :(


[ Edited Thu May 03 2007, 08:29PM ]
Back to top
Fri May 04 2007, 01:13AM
The default value of allow_src_above_docroot is false - so phpthumb do not allow permissions of files above docrrot itselsf. I think the problem here is $PHPTHUMB_CONFIG['document_root'] - try to "hardcore" it in phpThumb.config.php. With the exemple below it should be:
$PHPTHUMB_CONFIG['document_root'] = D:/www/criens.nl/www/


[ Edited Fri May 04 2007, 01:14AM ]
Back to top
Fri May 04 2007, 01:36AM
Tried varying that for my problem but no success:


Error[phpThumb]: [../../modules/sgallery/pics/g01ksbacqa1l/__nutkins-pc.jpg -> ../../modules/sgallery/pics/g01ksbacqa1l/nutkins-pc.jpg] 
phpThumb() v1.7.6-200612101028 in file "phpthumb.class.php" on line 214
setSourceFilename(../../modules/sgallery/pics/g01ksbacqa1l/__nutkins-pc.jpg) set $this->sourceFilename to "../../modules/sgallery/pics/g01ksbacqa1l/__nutkins-pc.jpg" in file "phpthumb.class.php" on line 232
file_exists() = 0 in file "phpthumb.class.php" on line 1041
is_executable() = 0 in file "phpthumb.class.php" on line 1042
using ImageMagick path from `which convert` (/usr/bin/convert) in file "phpthumb.class.php" on line 1061
ImageMagick version checked with "convert --version" in file "phpthumb.class.php" on line 1088
ImageMagick convert --version says "Version: ImageMagick 6.2.6 05/11/07 Q16 http:" in file "phpthumb.class.php" on line 1096
Addding ImageMagick formats to $AvailableImageOutputFormats (text;ico;bmp;wbmp;gif;png;jpeg) in file "phpthumb.class.php" on line 824
$AvailableImageOutputFormats = array(text;ico;bmp;wbmp;gif;png;jpeg) in file "phpthumb.class.php" on line 830
$this->thumbnailFormat set to $this->config_output_format "jpeg" in file "phpthumb.class.php" on line 840
$this->thumbnailQuality set to "80" in file "phpthumb.class.php" on line 857
!$this->config_allow_src_above_docroot therefore setting "/home/prclncom/public_html/modules/sgallery/pics/g01ksbacqa1l/__nutkins-pc.jpg" (outside "/usr/local/apache/htdocs") to null in file "phpthumb.class.php" on line 1006
$this->sourceFilename set to "" in file "phpthumb.class.php" on line 759
phpThumb() v1.7.6-200612101028 "" does not exist in file "phpthumb.class.php" on line 3381
setCacheDirectory() starting with config_cache_directory = "" in file "phpthumb.class.php" on line 864
$this->config_cache_directory () is not a directory in file "phpthumb.class.php" on line 900
SetCacheFilename() failed because $this->config_cache_directory is empty in file "phpthumb.class.php" on line 2785
starting ExtractEXIFgetImageSize() in file "phpthumb.class.php" on line 2642
GetImageSize("") failed in file "phpthumb.class.php" on line 2665
$this->useRawIMoutput=false because "bg" is set in file "phpthumb.class.php" on line 1156
ImageMagickThumbnailToGD() aborting because $this->sourceFilename is empty in file "phpthumb.class.php" on line 1201
ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 2672
SetOrientationDependantWidthHeight() starting with ""x"" in file "phpthumb.class.php" on line 2621
SetOrientationDependantWidthHeight() setting w="800", h="600" in file "phpthumb.class.php" on line 2637
EXIF thumbnail extraction: (size=0; type=""; 0x0) in file "phpthumb.class.php" on line 2724
starting SourceImageToGD() in file "phpthumb.class.php" on line 2982
$this->useRawIMoutput=false because "bg" is set in file "phpthumb.class.php" on line 1156
ImageMagickThumbnailToGD() aborting because $this->sourceFilename is empty in file "phpthumb.class.php" on line 1201
Not using EXIF thumbnail data because $this->exif_thumbnail_data is empty in file "phpthumb.class.php" on line 3023
$this->gdimg_source is still empty in file "phpthumb.class.php" on line 3075
ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 3077
phpThumb() v1.7.6-200612101028 Unknown image type identified by "" () in SourceImageToGD()[3187] in file "phpthumb.class.php" on line 3381
SourceImageToGD() failed in file "phpthumb.class.php" on line 310


[ Edited Sun May 13 2007, 02:59AM ]
Back to top
Sun May 13 2007, 02:59AM
My site: http://raptor.3v0.net/~prclncom/modules/sgallery/gallery.php

Safe mod is off.
GD is installed and working.

The above error has now gone as i have it resizeing etc but its not adding "thumbnails" to my cache folder and yes its "CHOMD 777" any ideas? as i am now at a loss :(


To get it this far i changed this line in the phpthumb.class.php
var $config_allow_src_above_docroot              = true;



My phpThumb.config.php file:
// admin edit - script too long


[ Edited Wed Jun 13 2007, 10:53PM ]
Back to top
Mon May 14 2007, 05:32PM
Fixed it!

By changing:

$PHPTHUMB_CONFIG['allow_src_above_docroot'] = true;


[ Edited Mon May 14 2007, 08:37PM ]
Back to top
Mon May 14 2007, 09:41PM
I would just say - host companies are surprising me every day...
Back to top
Wed Jun 13 2007, 07:59PM
seems like a really awesome plugin however.....

i had the problems like all the above and changing the src option to TRUE worked however now all the images appear as the default corerlttlab pic thing and it doesnt actually show my image? also do i have to install ilightbox plugin seperately>?
Back to top
Wed Jun 13 2007, 08:06PM
ok have actually got the images shoing fine in the lightbox when i click thumbnail however the thumbnails arent being created correctly?

www.mostlymojo.com/~guitars/
Back to top
Page 2 of 3
first
previous
1
2
3
next
last
Moderators: SonicE, veskoto, SecretR, Stoewarius, steved, McFly, Cameron, yanniiwanow
Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF

Jump:     Back to top