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 Pro Support Forums > Photopost Pro Bug Reports

Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old August 31st, 2009, 04:38 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Feb 2005
Location: Canada
Posts: 57
Files Deleting On Small Thumbnail Rebuild

Here is what this script does when the path to ImageMagick doesn't work. It starts DELETING files!

I moved servers and ran all the other database scans individually and they all seemed to work but as soon as I tried to rebuild All thumbs it decides to start deleting files.

Processing may take a while... please be patient and wait the for FINISHED message...

Checking photo #4: image /home/extremea/public_html/gallery/data/500/28-Orion-Final.jpg not found, removing from database... done.
Checking photo #5: rebuilding /home/extremea/public_html/gallery/data/500/thumbs/28-Orion-Final-Annotated.jpg from /home/extremea/public_html/gallery/data/500/28-Orion-Final-Annotated.jpg ...

Error creating thumbnail! Error code: 126

Command:

"/usr/bin/convert/mogrify" +profile "*" -size 100x67 -quality 100 -geometry 100x67 -unsharp 10 '/home/extremea/public_html/gallery/data/500/thumbs/28-Orion-Final-Annotated.jpg'

Last edited by AstroDude; August 31st, 2009 at 05:27 PM.
AstroDude is offline   Reply With Quote
Old August 31st, 2009, 09:08 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
Yes that is a possibility it will delete that one file and stop with the DIEWELL command that is displaying the message.

If you move servers part of the move process involves making sure the proper image processors are selected etc.

How to Move Servers and/or Change Directories

Its always very important to check everything after a server move.
__________________
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 August 31st, 2009, 09:19 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Feb 2005
Location: Canada
Posts: 57
Quote:
Originally Posted by Chuck S View Post
Yes that is a possibility it will delete that one file and stop with the DIEWELL command that is displaying the message.

If you move servers part of the move process involves making sure the proper image processors are selected etc.

How to Move Servers and/or Change Directories

Its always very important to check everything after a server move.
If for some reason ImageMagick isn't setup right or you enter the wrong path and try the Rebuild All Thumbs it will delete a file every time you try that selection. I would imagine it would do it until there's nothing left.

This should not be happening and it needs fixing regardless of a server move given the way it occurs. I mean just because a path statement is wrong or ImageMagick isn't installed correctly makes it acceptable that the script starts deleting files from the server and database.
AstroDude is offline   Reply With Quote
Old August 31st, 2009, 09:29 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
One of the requirements to run the program is a functioning image processor. The whole code is dependent on this so its really not a bug. One of the things that move document states is check uploads. Therefore if the program was moved correctly and everything updates this issue would not be happening.

You could maybe try line 408 changing it to this

Code:
Content visible to verified customers only.
would instead be

Code:
Content visible to verified customers only.
But really if the program was properly installed this issue would not be here.
__________________
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 August 31st, 2009, 09:44 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Feb 2005
Location: Canada
Posts: 57
Quote:

But really if the program was properly installed this issue would not be here.
I agree the issue wouldn't be here if it was setup perfectly the first time. Switching over to GD works just fine. It just doesn't seem reasonable that because of a simple path statement not being right, things start getting hacked out of the database and deleted off the server. I would have expected a better response from any script.

I'll try your code out.

Thanks
AstroDude is offline   Reply With Quote
Old August 31st, 2009, 09:56 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
okay well the change simply prevents it being deleted if the path is wrong to mogrify

&& is_file( $Globals['mogrify_command'] )

Therefore what this says if your only going to get a file deleted if the checkfile can not be created and mogrify does exist. So if it doesnt exist that if clause does not run.
__________________
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Better Thumbnail Rebuild StuartDH Photopost Pro Bug Reports 1 November 9th, 2007 09:52 AM
Rebuild a thumbnail aacircle Photopost Pro How Do I...? 2 March 12th, 2007 08:24 PM
Rebuild thumbnail? catnipmercer Photopost Pro How Do I...? 4 October 27th, 2006 11:27 AM
rebuild deleted files robert_2004 Installs and Upgrade - vBulletin 3.0.X 2 January 17th, 2005 10:24 AM
Rebuild Thumbnail rbl vBGallery Suggestions 3 December 28th, 2004 09:47 PM


All times are GMT -5. The time now is 11:58 PM.

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