![]() |
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:
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 |
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. |
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 |
I ran it a third time and it seems to have worked... no explanation or anything... didn't do anything different..... |
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