PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   Upgrade problem 4.0 to 5.2 (http://www.photopost.com/forum/photopost-pro-installation-upgrades/116700-upgrade-problem-4-0-5-2-a.html)

VW Derf November 11th, 2005 10:35 PM

Upgrade problem 4.0 to 5.2
 
I'm in the midst of upgrading to the lates version when I ran into some problems with permissions on the upgrade to 4.8. The end result was duplication was added to the names in the database. ie the names are stored as:

202752027520275187.JPG

rather than 20275187.JPG (20275 is inserted an extra two times).

Also the script did not create all the correct new thumbnails in the right spots. I assume the thumbnails and such can all easily be re-created so the big thing is removing the two extra username ids on the picture names.

Also what is the best way to update the old links? Is there a script out there to make all the med and thumb pictures links to the sub directories to keep old links alive?

Thanks,

Fred

VW Derf November 11th, 2005 11:45 PM

Well, I restarted from scratch and things went better this time.

However I have one question. Has anyone made any redirect scripts or soft links to keep the old links alive?

VW Derf November 12th, 2005 12:44 AM

One more question. In 4.0 I allowed PDF files to be available. I added this to the multimedia variable in pp-inc.php, but now I don't have an option to download the pdf file and the thumbnails are not working. Below is the line I updated:

elseif ( stristr($bigimage,".wmv") || stristr($bigimage,".mpg") || stristr($bigimage,".avi") || stristr($bigimage,".doc") || stristr($bigimage,".xls") || stristr($bigimage,".pdf") ) {

Thanks for any advice.

Fred

Chuck S November 12th, 2005 08:12 AM

Hello you dont edit code.

You would in Upload Options place pdf as an available multimedia type.

Second there is no way to keep old links above without some fancy mod rewrite or either going in and changing the links in your database.


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

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