PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   multiple errors upgrading 4.8 to 5.2 (http://www.photopost.com/forum/photopost-pro-installation-upgrades/121452-multiple-errors-upgrading-4-8-5-2-a.html)

redbox December 10th, 2005 01:59 PM

multiple errors upgrading 4.8 to 5.2
 
I recieved several errors during the upgrade process, though each page ended with "upgrade complete, you should continue with the next step". So I assumed whatever error was corrected, and I went on to the next step. After completing the upgrade, I went to my site and there are errors at the top of the page. I've apparently done something wrong, but am not sure what.

I'm using vB3 version 3.5.2

The errors I received during the uprade were:

Preparing to remove files which are no longer used by PhotoPost.
Warning: unlink(/home/adminfcc/public_html/member-gallery/dcfp_auth_lib.php): Permission denied in /home/adminfcc/public_html/member-gallery/upgrade.php on line 1936

(followed by a long list similar to the above)



Preparing to update database...


Warning: unlink(/home/adminfcc/public_html/member-gallery/adm-userg.php): Permission denied in /home/adminfcc/public_html/member-gallery/upgrade.php on line 2097

Warning: unlink(/home/adminfcc/public_html/member-gallery/adm-approve.php): Permission denied in /home/adminfcc/public_html/member-gallery/upgrade.php on line 2098

Warning: unlink(/home/adminfcc/public_html/member-gallery/adm-db.php): Permission denied in /home/adminfcc/public_html/member-gallery/upgrade.php on line 2099

Warning: unlink(/home/adminfcc/public_html/member-gallery/adm-menu.php): Permission denied in /home/adminfcc/public_html/member-gallery/upgrade.php on line 2100

Upgrade complete! You should continue to next step

Preparing to update database...

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/adminfcc/public_html/member-gallery/pp-inc.php on line 2908

Upgrade complete! You may now remove the upgrade.php script.

Then I visited the site and this is at the top of my page:

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/adminfcc/public_html/member-gallery/forums/vb3.php on line 351

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/adminfcc/public_html/member-gallery/pp-inc.php on line 2931

Further problems
I can't log into the Photopost admin, it just sends me back to the gallery home page. I read the posts here by Chuck saying we needed our vB cookie prefix in settings 172 - 173 but when checking mine via phpmyadmin, my settings jump from 164 straight to 185 with nothing in between.

Chuck S December 10th, 2005 06:40 PM

Make sure you ran all the upgrades you needed. Looks to me like you are missing an upgrade which added a field to your usergroup table hense we can not assign permissions to the categories etc.

redbox December 10th, 2005 08:12 PM

I deleted everything, uploaded new files, restored from backup and ran the upgrade again. I received fewer errors this time, but it had the same result.

I still received this error --
Warning: unlink(/home/adminfcc/public_html/member-gallery/adm-userg.php): No such file or directory in /home/adminfcc/public_html/member-gallery/upgrade.php on line 2097

Warning: unlink(/home/adminfcc/public_html/member-gallery/adm-approve.php): No such file or directory in /home/adminfcc/public_html/member-gallery/upgrade.php on line 2098

Warning: unlink(/home/adminfcc/public_html/member-gallery/adm-db.php): No such file or directory in /home/adminfcc/public_html/member-gallery/upgrade.php on line 2099

Warning: unlink(/home/adminfcc/public_html/member-gallery/adm-menu.php): No such file or directory in /home/adminfcc/public_html/member-gallery/upgrade.php on line 2100

And during the last step, I received this error --
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/adminfcc/public_html/member-gallery/pp-inc.php on line 2908


Checking the settings in the database and it still jumps from 164 to 185.

Something I didn't mention before was that the version I was upgrading from is 4.8c and that is not listed in the choices when upgrading. It offers 4.82, 4.85/86, then 5 and up. When clicking on 4.82, nothing happened, but I was able to start with 4.85. Did something happen between 4.8c and 4.85 that might have caused this?

Chuck S December 10th, 2005 09:34 PM

Okay so your missing 4.82 that explains why you have your issue.

In upgrade.php at the top of the file add the line in bold here and run 482 upgrade

Code:

Content visible to verified customers only.


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