PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   How to upgrade from 4.7 to 5.31 (http://www.photopost.com/forum/photopost-pro-installation-upgrades/127313-how-upgrade-4-7-5-31-a.html)

Yellowspurs September 16th, 2006 08:49 PM

How to upgrade from 4.7 to 5.31
 
I run an old photopost version, version 4.7 and want to upgrade to 5.31 but I can't find instruction to upgrade from 4.7 to 5.31. There is no upgrade folder in version 5.31 or specific upgrade instruction so I need help with upgrading.

Chuck S September 16th, 2006 08:53 PM

Check your documentation folder upgrade.txt

Basically you upload everything except config-inc.php and run the upgrade script and select every upgrade version you need to run ONCE.

Yellowspurs September 16th, 2006 11:24 PM

never mind this part

Yellowspurs September 17th, 2006 12:05 AM

I figure out that I need to edit the config-inc.php.NEW and config-int.php.NEW and rename the file as .php extension.

I was able to upgrade from
4.6 to 4.6.7 successfully
4.6.7 to 4.7 successfully
4.7 to 4.8.2 successfully

I don't quite understand the message that come up after each version upgrade below:

" This install script will upgrade your 4.8.5 or 4.8.6 release. Only run this upgrade if you have the 4.8.5 or 4.8.6 version of the database in place (either by previous upgrades or if upgrading in order to the latest)."

I hit Proceed to Upgrade after this and I got the following error.

Warning: main(/home/sites/yoursite/photopost/languages/english.php): failed to open stream: No such file or directory in /hsphere/local/home/ganoico/mysite.com/photopostextra/pp-inc.php on line 175

Warning: main(/home/sites/yoursite/photopost/languages/english.php): failed to open stream: No such file or directory in /hsphere/local/home/ganoico/mysite.com/photopostextra/pp-inc.php on line 175

Fatal error: main(): Failed opening required '/home/sites/yoursite/photopost/languages/english.php' (include_path='.:/usr/local/lib/php:/usr/local/lib/php/PEAR:/usr/local/share/pear') in /hsphere/local/home/ganoico/mysite.com/photopostextra/pp-inc.php on line 175

Please tell me where I can get the missing stuff. It seems that I am missing some versions

Yellowspurs September 17th, 2006 12:33 AM

Photopost upgrading is very unfriendly. Not like phpbb2. Photopost upgrade instruction left out too much detail. In version 5.31, you have to edit config-inc.php.NEW and config-int.php.NEW and rename both files to config-inc.php and drop out the .NEW extension

And I'm stuck in the middle of the upgrade with error.

Chuck S September 17th, 2006 09:02 AM

The upgrade is pretty easy. Upgrade instructions are included in the documenations folder. It would seem by the error your posting that your have overwrote your config-inc.php file which the upgrade instructions state not to do. Try making sure everything in your config-inc.php is correct especially the $PP_PATH which should be

/hsphere/local/home/ganoico/mysite.com/photopostextra

Yellowspurs September 17th, 2006 12:13 PM

Thank for your help but I still has error.
I restore the database with the backup and upload the old config-inc.php and redo the upgrade again and did as you said and I got the following error.

Warning: main(config-int.php): failed to open stream: No such file or directory in /hsphere/local/home/ganoico/mysite.com/photopostextra/header-inc.php on line 11

Fatal error: main(): Failed opening required 'config-int.php' (include_path='.:/usr/local/lib/php:/usr/local/lib/php/PEAR:/usr/local/share/pear') in /hsphere/local/home/ganoico/mysite.com/photopostextra/header-inc.php on line 11


The upgrade looked for the config-int.php but can't find it. There is no where in the upgrade instruction telling people that they have to edit and rename the config-int.php.NEW and drop out the .NEW extension. After I dropped the .NEW extension and uploaded it, I was able to make some progress and reached all the way to the "file moving" part but has the following error. There are just a small part of it.:
________________________________
Preparing to move files..

Warning: fopen(/hsphere/local/home/ganoico/mysite.com/photopostextra/data/1/thumbs/index.htm): failed to open stream: Permission denied in /hsphere/local/home/ganoico/mysite.com/photopostextra/pp-inc.php on line 3252

Warning: fclose(): supplied argument is not a valid stream resource in /hsphere/local/home/ganoico/mysite.com/photopostextra/pp-inc.php on line 3253

Warning: fopen(/hsphere/local/home/ganoico/mysite.com/photopostextra/data/1/medium/index.htm): failed to open stream: Permission denied in /hsphere/local/home/ganoico/mysite.com/photopostextra/pp-inc.php on line 3258

Warning: copy(/hsphere/local/home/ganoico/mysite.com/photopostextra/data/2/thumbs/107IMG_0282.JPG): failed to open stream: Permission denied in /hsphere/local/home/ganoico/mysite.com/photopostextra/upgrade.php on line 1878
Copy of photo 565: /hsphere/local/home/ganoico/mysite.com/photopostextra/data/2/107IMG_0282-thumb.JPG to /hsphere/local/home/ganoico/mysite.com/photopostextra/data/2/thumbs/107IMG_0282.JPG failed!


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 --->

I click on the link and go through the next part but has error below:
________________________________

Updating filenames...

Updates completed...

Preparing to remove files which are no longer used by PhotoPost.
Warning: unlink(/hsphere/local/home/ganoico/mysite.com/photopostextra/dcfp_auth_lib.php): Permission denied in /hsphere/local/home/ganoico/mysite.com/photopostextra/upgrade.php on line 1939

Warning: unlink(/hsphere/local/home/ganoico/mysite.com/photopostextra/subscribe.php): Permission denied in /hsphere/local/home/ganoico/mysite.com/photopostextra/upgrade.php on line 1940


Upgrade complete! You should continue to next step


_______________________________

This install script will upgrade your 5.0 release to 5.1. Only run this upgrade if you have the 5.0 version of the database in place (either by previous upgrades or if upgrading in order to the latest).

Proceed to Upgrade -->

_______________________________
Warning: unlink(/hsphere/local/home/ganoico/mysite.com/photopostextra/adm-userg.php): Permission denied in /hsphere/local/home/ganoico/mysite.com/photopostextra/upgrade.php on line 2100

We're sorry, but the system experienced an unrecoverable error. Please try again later.


Please tell me what I've done wrong. I can always restore my backup database and try to upgrade on this test gallery until everything work ok then I'll try to upgrade my main gallery.

Chuck S September 17th, 2006 02:04 PM

You need to restore your backup of the database since I dont know where you are in the process.

Make sure as I previously stated that you overwrote your config-inc.php file that it has the proper information in it.

Please read the upgrade.txt file in the documentation folder which provides upgrade instructions

Make sure your data folders at every level are 777 it would appear they are not. Especially if we can not fopen the index files that should be in the new directories created by the upgrade

Run any required upgrade once.

jjj0923 September 19th, 2006 01:00 PM

I upgraded from 4.6 to 5.31 yesterday and it went very smoothly...


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