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 How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old September 14th, 2008, 02:27 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2008
Posts: 5
Lost my database, but not my files

Never mind how, but I lost my database. I've read Chuck's guide about how to restore from this situation by making a file backup (dataold) and uploading (skip the upload) from the backup directories. Here's the hiccup:

Doing a fresh install of Photopost (6.11) creates three directories in the data directory, 1, 2 and 500. Looking at the database, and the way the uploads happen, sub-directory 1 corresponds to category 1, which is the main category, and created categories are from 501 on. I manually created categories 501-515, which in turn created the sub-directories 501-515. I uploaded (skip the upload) from the backup files, and everything went swimmingly into the subdirectories 501-515, creating categories with database ID's 501-515. All as expected so far.

Now!!!!

When I try to upload to category ID #1 (Main), Photopost complains that it cannot upload to sub-directory 0. I manually created sub-directory 0, and the upload worked, but Main is still category 1 from Photopost's point of view, and the images do not appear when you try to view Main. WTF!!!

Any clues???

Last edited by penningtonj1964; September 17th, 2008 at 09:22 AM.
penningtonj1964 is offline   Reply With Quote
Old September 14th, 2008, 03:10 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
I am not sure what your trying to say about subcat 0 as that would not be a selection in our software

do you have a url and test login for me to try and upload to cat 1?
__________________
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 September 15th, 2008, 05:41 AM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2008
Posts: 5
I'm rebuilding by hand, and at the moment, if you tried this on our site, you'd break all the current work, but what you say is interesting.

My understanding, from observing the behaviour, is that Main is category 1. If I do an insertion of pictures from a server-side backup directory to Main, and the system tries to put it in directory 0, then that sounds to me like an off-by-one error of some kind.

Is the path information stored in the database, or is it constructed on the fly every time from the record ID? If it's in the database, I should be able to change it manually, should I not, then rename the directory?
penningtonj1964 is offline   Reply With Quote
Old September 15th, 2008, 05:53 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
The photos are stored on disk and info like title description are stored in the photo insert.

You have not provided me with your url here. Why would you be renaming a directory you should not have a directory 0 on the server. You can not upload to main because main can not contain photos. Maybe thats your issue. You can upload to A Category.
__________________
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 September 15th, 2008, 06:27 AM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2008
Posts: 5
That's great information... Thanks.

So you're saying I should never have had anything in the number 1 directory, is that correct? If it is, that answers a question for me.

If I upload to 'A Category' will the photos end up in subdirectory data/1?

Currently my installation is offline, so I can't post access in public - sorry.
penningtonj1964 is offline   Reply With Quote
Old September 15th, 2008, 06:13 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
No the photos would end up in category 2

If you want photos in category 1 make sure to edit that category and set contains thumbs to yes

I am just saying in a default photopost cat 1 does not contain photos
__________________
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 September 17th, 2008, 09:24 AM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2008
Posts: 5
Now I'm getting it. So, setting the 'contains thumbs' to 'yes' enables posting to the main forum, and that would be cat 1, and that would put stuff in the sub-directory '1', is that correct?

BTW - Thanks for all this help. It's been an expensive rebuild so far.

Also, we're now up, so www.grenadaphotogallery.com, and if you register, I'll get you access to rummage around.

Last edited by penningtonj1964; September 17th, 2008 at 09:35 AM.
penningtonj1964 is offline   Reply With Quote
Old September 17th, 2008, 06:50 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
YES that is the setting you want
__________________
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 September 18th, 2008, 07:26 AM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2008
Posts: 5
Hate to do this to you, but one more issue has arisen as part of this: Because I copied the existing data directories to create the initial structure (at least I think this is the cause), I have a bunch of thumbnails visible in Photopost that link to nothing. So...

If I delete the contents of a thumbs sub-directory, then rebuild thumbnails from the Photopost 'Scan Database' administration page, will that create thumbnails only for those images that exist in the data directory? In other words, fix the problem?
penningtonj1964 is offline   Reply With Quote
Old September 18th, 2008, 06:10 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
If you run a scan database rebuild thumbs it will only save those images that truly exist correct.
__________________
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
lost photos, database empty ! touba Photopost Pro How Do I...? 8 November 25th, 2007 06:27 PM
pictures lost database ok Ivo2 Photopost Pro How Do I...? 1 June 24th, 2007 11:52 AM
SQL database lost chrisaka Photopost Pro Installation & Upgrades 1 December 1st, 2006 06:33 AM
Database Error when uploading files dcpaq2 Bugs - vBulletin 3.6x 9 October 13th, 2006 08:41 PM
I think I lost my gallery files fabianv Photopost Pro How Do I...? 2 August 24th, 2006 08:45 PM


All times are GMT -5. The time now is 02:29 AM.

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