PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   upgrade busted (http://www.photopost.com/forum/photopost-pro-installation-upgrades/121988-upgrade-busted.html)

aspen0 January 5th, 2006 03:24 PM

upgrade busted
 
You upgrade script is busted.

I just tried to upgrade from 4.82 to the current release and on this step it got all messed up:

http://www.xxxxx.com/photos/upgrade....ade=485&step=2

It ran the first time and gave me all errors saying no permission. You should have warned us that it was necessary. So I then did a chmod 777 on all the files, hit refresh, and it says:

Quote:

This step has completed. If you had file errors, you can REFRESH this page to keep moving files or retry moves that did not work if you fixed any permissions issues.

When you are finished, click here to continue to next step --->

Refresh over and over, nothing works.

Now the software is broken. All the images are no longer properly associated in the database.

How am I supposed to fix this?


Chris Beasley

aspen0 January 5th, 2006 03:43 PM

I reverted to a backup copy of the DB & tried again, this time I did not get the error messages, but I was still left with a nonfunction gallery at the end of it.

I logged into the admin section and tried rebuilding thumbnails. For each picture in my db it said it couldn't find it and so removed it from the DB. In addition to that not helping it removed it all from my DB without warning. Honestly, I don't mean to be mean, but this is some extremely sloppy coding. Why would you run a delete like that without providing any hint to the user that you will do that? It should rebuild thumbnails and if the image doesn't exist throw out a warning, not just delete it.

Chuck S January 5th, 2006 03:49 PM

Okay what you need to do is yes you can run step2 multiple times but you can not run step3 many times

Basically check your data path make sure all directories are 777

restore the table and run that step once

The upgrade is not broken ;) Running step3 more than once you are prepending the userid on the image file more than once so yes images will not be found

aspen0 January 5th, 2006 04:07 PM

I ran it a third time and it seems to have worked... no explanation or anything... didn't do anything different.....

Chuck S January 5th, 2006 04:17 PM

well if your images were deleted when you ran a rebuild step 3 could not have been ran or ran more than once. Thats the only way the rebuild thumbs thing could delete em.

We have had a few people blow out there photos table because of running it multiple times.


All times are GMT -5. The time now is 03:24 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