PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Classifieds Support > Classifieds Installation & Upgrades

Classifieds Installation & Upgrades If you're having install or upgrade problems, post here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old May 11th, 2008, 09:52 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2004
Posts: 25
Upgrade and can't rebuild thumbnails

Upgrade from 2.1 to 3 and everything went fine. I'm trying to rebuild the thumbnails and I'm keep running into an error as a result of file permissions on the 'thumbs' folder being set to 666. I set the permissions to 777 and rerun and then i get the same error for images in a differ thumbs folder. I go there and change it.

No matter how many times I set the folders to 777 a different one (always a thumbs folder) will revert back to 666.

Any ideas?

Error:

Code:
Content visible to verified customers only.
If I set the data/5/thumbs to 777 and rerun I'll get the error on data/7/thumbs. I've checked all thumbs folders and ran but when the process starts it's resetting the folder permissions somehow...????
Alteczen is offline   Reply With Quote
Old May 11th, 2008, 10:59 PM   #2 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2004
Posts: 25
After further investigation the permission issue has been resolved by setting the owner of the files to root. However when I run the database scan -> rebuild all thumbnails it will process about 15-20 files and then throw the above warnings and quit. I can re-run the process and it will process some more files and quit on a different file. There doesn't seem to be a pattern : /

Any ideas?
Alteczen is offline   Reply With Quote
Old May 11th, 2008, 11:28 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2004
Posts: 25
If I change the image processing to GD2 it seems to process more than using Imagemagick. However both ultimately fail due to not being able to open a thumbs folder.

Code:
Content visible to verified customers only.
Error creating thumbnail! Error code: 1
Command: "/usr/bin/X11/mogrify" -size 100x75 -quality 60 -geometry 100x75 /home/tmcowne/public_html/market/data/10/thumbs/

So it will process files into folder '5/thumb's and choke on one going to '10/thumbs'. If I rerun it it will choke on some other file in '5/thumbs'....

I'm pulling out my hair on this one...
Alteczen is offline   Reply With Quote
Old May 12th, 2008, 06:18 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
Try SSH to your server using putty ssh client or so and as root and go to your classifieds directory and type this to set permissions recursively to ensure permissions are changed and try again. Seems to me like permissions issues.

chmod -R data
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 12th, 2008, 07:28 AM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2004
Posts: 25
No luck with that... I've ran chmod -R 777 * on the data dir about 10 times and retried. If I check the permissions everything says 777...
Alteczen is offline   Reply With Quote
Old May 12th, 2008, 07:34 AM   #6 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2004
Posts: 25
Here is a perfect example of the situation. Look at the top line where it shows a thumbnail generating in the "data/6/thumbs" folder but stoping on it at the end...

Code:
Content visible to verified customers only.
Alteczen is offline   Reply With Quote
Old May 12th, 2008, 07:53 AM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
It is failing on specific images which might indicate an issue with that specific image maybe its corrupt. Have you tried searching to find out what ad that is and actually viewing to see if the main image is corrupt?

We can not rebuild a thumb if the main image is corrupt.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 12th, 2008, 08:02 AM   #8 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2004
Posts: 25
I think that something like this may be possible... However I'm a little concerned as there are a ton of ads... I seem to have better luck using GD2 to resize thumbs (it processes more before it fails). However with GD2 it fails on an image that doesn't even exist...???...
Alteczen is offline   Reply With Quote
Old May 12th, 2008, 08:07 AM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2004
Posts: 25
here is a log of the the gd2 processing... it throws some warning saying the file couldn't be opened to write to but then it stops on 82.JPG - which doesn't exit on the server...?
Attached Files
File Type: txt results.txt (91.1 KB, 1 views)
Alteczen is offline   Reply With Quote
Old May 12th, 2008, 08:30 AM   #10 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2004
Posts: 25
So I removed the 82.JPG from the db and it finished processing using GD2. However there are hundreds of warnings similar to the one's in the attached txt file above. About half of the thumbnail on the board are missing...

From a support standpoint what are my options? Can I source you (Chuck) to login and take a look?
Alteczen is offline   Reply With Quote
Old May 12th, 2008, 03:27 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
Hello

The issue here is you need to look at each place it fails and find the corrupted image and delete it. It looks to me like definate image corruption.

A good way to delete ads so your not littered with old ads is to make sure you run the sendnotice.php script which should be setup as a cron to remove your old expired ads. That may elimate your need to find issues for ads which should have long been deleted.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 12th, 2008, 08:16 PM   #12 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2004
Posts: 25
I've gone through and cleaned up the ads... 900 down to < 200. Of those I am able to rebuild the thumbs with a few here and there not completing because the directory cannot be opened for writing (as in text file).

After completing this the board is missing 90% of the thumbnails... images are missing everywhere - and no product has a thumbnail that will show on the category page. All of the show the "no thumb" graphic.

How would all of these go missing???
Alteczen is offline   Reply With Quote
Old May 12th, 2008, 08:18 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
please post your site link so we can see it and see if we can see what your issue might be.

You might also want to post an admin login to us via pm. Did you have a recent server move anything?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 12th, 2008, 09:11 PM   #14 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2004
Posts: 25
I pm'ed you a login. The board is locked down so I could do the updates... I'm not sure if this is relevant but with the ads it seems like the first 3 images on most (if not all ads) are missing... but after that (images 4-6) they are there is they were uploaded.
Alteczen is offline   Reply With Quote
Old May 12th, 2008, 09:34 PM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
Your issue is easy once I saw your site

You ran an upgrade again you where not suppose to run. You had 2.5 or higher before. You ran the 2.4 upgrade which renamed your first 3 images see because in 2.4 we also added the ability to upload 3 more images for a total of 6 so seeing your site and how the first 3 images where only messed up told me explicitly that you had reran that upgrade when you where not suppose to.

To fix your issue you would need to restore a backup of your cp_products table before the upgrade and run the 2.5 or 2.6 upgrades only do not run any prior upgrades.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 12th, 2008, 10:18 PM   #16 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2004
Posts: 25
thx for the help...that certainly fixed the missing thumbs for the 1st 3 images. Before I started the upgrade I logged in and the stats page said I had version 2.11... Sorry for the goof and thx for the help!
Alteczen is offline   Reply With Quote
Old May 13th, 2008, 09:43 AM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
Not a problem. You have a good day.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
error on rebuild thumbnails ncangler Classifieds Bug Reports 1 February 19th, 2008 09:00 AM
Can I rebuild all thumbnails? Pauline Kenny Photopost Pro How Do I...? 2 February 6th, 2007 01:58 PM
Rebuild Individual Thumbnails StuartDH Photopost Pro How Do I...? 1 August 28th, 2006 05:22 PM
2.91 Rebuild all thumbnails larrywcc ReviewPost Bug Reports 1 August 1st, 2006 08:20 AM
ImageMagick Rebuild Thumbnails TundraSoul Photopost Pro Installation & Upgrades 6 April 14th, 2005 11:27 AM


All times are GMT -5. The time now is 06:16 AM.

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