PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds Bug Reports (http://www.photopost.com/forum/classifieds-bug-reports/)
-   -   Error when rebuilding thumb nail images (http://www.photopost.com/forum/classifieds-bug-reports/135690-error-when-rebuilding-thumb-nail-images.html)

1QuickSI March 3rd, 2008 07:39 PM

Error when rebuilding thumb nail images
 
There is something definatly not working properly with the thumbnail images. I removed an ad and lsot the thumbnail (same image used). Then I tried to click on the rebuild thumb nail and got this error:

Warning: getimagesize(/home/public_html/classifieds/data/2/header1.gif) [function.getimagesize]: failed to open stream: No such file or directory in /home/public_html/classifieds/image-inc.php on line 269

And

Unable to read the format of file: /home/public_html/classifieds/data/2/header1.gif

Chuck S March 3rd, 2008 08:20 PM

Can you please give us more of an example here. If you remove an ad then everything is deleted. Basically that error tells me the image is not found meaning the normal ad so please post a url and test login and what exact steps you are doing to get the error so I can try and recreate it on my test site. Also tell me what version your using and if permissions on your data directory are set to 777 at every level.

Taner April 1st, 2009 05:48 AM

sound similiar. couldn't find any hint to resolve problem.

LOG
Rebuilding thumbnail: /usr/home/xxxxx/data/75/thumbs/pws5.jpg
Creating from /usr/home/xxxxx/data/75/pws5.jpg ... completed!

Rebuilding thumbnail: /usr/home/xxxxx/data/59/thumbs/diamond.jpg
Creating from /usr/home/xxxxx/data/59/diamond.jpg ...
Warning: getimagesize(/usr/home/xxxxx/data/59/pearl.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /usr/www/users/xxxxx/image-inc.php on line 270


Message
Unable to read the format of file: /usr/home/xxxxx/data/59/pearl.jpg


This issue happens when scaning DB for "Rebuild all thumbnails"


NB: Replaced original path with xxxxx

Chuck S April 1st, 2009 07:49 AM

/usr/home/xxxxx/data/59/pearl.jpg

Is that image corrupt?

If other images rebuild and it simply stops on one image permissions are wrong on that image or it is corrupt.

Taner April 2nd, 2009 01:39 AM

yes it is corrupt, that's what pp classifieds says at some point.

Chuck S April 2nd, 2009 07:54 AM

Yes you need to verify its correct delete it and then you can continue.

Taner April 5th, 2009 04:04 PM

is there a way to delete the photos through the classifieds backend? if yes, how do i know to which advert-id the photo belongs to.

at the moment i am using ftp what is not necessary the most comfortable way to do such things.

cheers

Chuck S April 5th, 2009 04:53 PM

Taner you can do a search using the seach function on the filename and it should pull up the photo once you know the ad you can delete it.


All times are GMT -5. The time now is 05:56 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97