PDA

View Full Version : When I try to fetch a list of galleries for thumbs...


V_RocKs
08-31-2004, 09:02 PM
I get errors...

Warning: getimagesize(./temp/tnab3736b9f84e.jpg): failed to open stream: No such file or directory in /home/jayjmcgh/apache/rhinosthumbs.com/htdocs/tmanager/image.inc.php on line 245
http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=924029-0000&PA=765478&HTML=http://www.panty-lez.com/galleries/0415h-cc/blondebrunette.html 12 images

Warning: getimagesize(./temp/tn17ef132a43cd.jpg): failed to open stream: No such file or directory in /home/jayjmcgh/apache/rhinosthumbs.com/htdocs/tmanager/image.inc.php on line 245
http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=924029-0000&PA=765478&HTML=http://www.panty-lez.com/galleries/0415h-cc/blondebrunette.html 12 images

Warning: getimagesize(./temp/tn38b9b6eafda7.jpg): failed to open stream: No such file or directory in /home/jayjmcgh/apache/rhinosthumbs.com/htdocs/tmanager/image.inc.php on line 245



This is what is inside the files in ./temp
cat full03a53b911639.jpg
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>


You don't have permission to access /cgi-bin/pl073_DoraTrisha.jpg
on this server.</p>
</body></html>

Sometimes it works and others it doesn't. Seems like it works when the server is rebooted and it doesn't about a day later...

Dichotomy
08-31-2004, 09:17 PM
its not bug, its your gallery.
try add it one by one specifying gallery url and url to full size image (url to full size image without ccbill click - thats what causing problem).

V_RocKs
08-31-2004, 09:49 PM
Warning: copy(../tthumbs/./temp/tnc45b7bf0308c.jpg): failed to open stream: No such file or directory in /home/jayjmcgh/apache/rhinosthumbs.com/htdocs/tmanager/admin.php on line 4797

Warning: copy(../tthumbs/./temp/tn6300d812a1e1.jpg): failed to open stream: No such file or directory in /home/jayjmcgh/apache/rhinosthumbs.com/htdocs/tmanager/admin.php on line 4797


This is with this option, I was trying to import galleries from a site I already have with the second list option:
GalleryURL PictureURL

Made a list and it fetched them correctly but then when I clicked ALL and add marked, delete the rest...

Looking at ../tthumbs/./temp/tn6300d812a1e1.jpg
I think it is obvious the software is trying to find them in the

/home/jayjmcgh/apache/rhinosthumbs.com/htdocs/tthumbs/

directory as ./temp/file when it should be looking in

/home/jayjmcgh/apache/rhinosthumbs.com/htdocs/tmanager

for the temp directory.

I will try making a symbolic link from tthumbs/temp => tmanager/temp and see if that will quick fix my problem.

Dichotomy
08-31-2004, 09:54 PM
hmm, I remember that case.

V_RocKs
08-31-2004, 09:56 PM
Symbolic link seems to have fixed it but it is weird that it has no problem right after reboot and then has one later on....

Dichotomy
08-31-2004, 09:57 PM
Symbolic link seems to have fixed it but it is weird that it has no problem right after reboot and then has one later on....

you should look at your server then. maybe you have some probs with filesystem. or apache is configured some wierd way?

Dichotomy
08-31-2004, 10:14 PM
another thing I have in mind - have any perl/c scripts running there that might leak memory? some spiders fetching galleries/ect?

Oh, if all goes wrong, sometimes updating PHP to latest helps.

V_RocKs
09-01-2004, 03:33 AM
I have never had this problem up until now and I have been using the script since June. I am not sure 100% but 95% it was either after the upgrade or when a second installation was performed that this started happening.

Dichotomy
09-01-2004, 03:39 AM
hmm, what image magick version you have there?

try /usr/local/bin/convert | more - should give you out some crap and at the start version

V_RocKs
09-01-2004, 03:55 AM
Version: ImageMagick 5.5.7 04/02/04 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 2003 ImageMagick Studio LLC

Dichotomy
09-01-2004, 04:18 AM
here we go. ver6 is required, on earlier it might give out whole lot of interesting things. try update it to 6.

Dichotomy
09-01-2004, 08:55 PM
now its official - I just got second case like that.

image magick ver6 is the answer. try turn off image magick support in both scripts and see what happens then with adding thumbs. all should be peachy!

V_RocKs
09-03-2004, 04:48 AM
Updated image magic and all is well.