Upgrading the Product from v2 to v3

Notice: Be sure to backup your site and your database before attempting to upgrade.
If your upgrade is being handled by our staff they will take care of these steps for you. Running step 14 more than one time will mess up your site. Running step 16 more than one time will mess up your site.

If you want to save the hassle of upgrading your website, just order the Upgrade Service and our technicians will do it for you!

After some tests performed by me and by data66, we have found that some extra steps are needed to perform a proper upgrade from v2 to v3.

The steps from 1 to 10 are required because most of the add-ons for phpFox v2 are not compatible with phpFox v3, causing problems during the upgrade.

Here is the list of steps you need to perform to complete your upgrade properly:

1. Disable every non-default or 3rd-party plug-in from the plug-ins list, by removing the checkbox from the "active" column, and then clicking on "update". This can be done into at:
AdminCP >> Extension >> Plugins >> Manage Plugins


2. Remove every non-default or 3rd-party module from the modules list, by clicking on the drop-down icon next to the module and selecting "uninstall". This can be done into at:
AdminCP >> Extension >> Modules >> Manage Modules


3. Remove every non-default or 3rd-party product from the product list, by clicking on the drop-down icon next to the product and selecting "Delete". This can be done into at:
AdminCP >> Extension >> Products >> Manage Product


4. Move all 3rd-party folders out from the folder "module/" on the server as well. For example, create a folder called "backups" outside the folder "module/" and move all the 3rd-party folders from here to "backups".


5. Revert back to the default theme. This can be done at:
AdminCP >> Extension >> Themes >> Manage Themes


6. Disable all 3rd-party themes in the same place:
AdminCP >> Extension >> Themes >> Manage Themes


7. Revert to default all template & css changes performed to the default theme through the AdminCP. This can be done at:
AdminCP >> Extension >> Themes >> Manage Themes >> (click on drop-down icon next to the default theme) >> Edit Templates

Look for all templates marked in red (modified) and select "revert" at the bottom of the text box.


8. Clear the site's cache.


9. Check for errors (enabling the debug mode) in the home page of your site, the AdminCP, the profile pages and any other page you consider necessary.


10. In case you have custom blocks, disable all of them. This can be done at:
AdminCP >> CMS >> Blocks >> Manage Blocks

There is no need to delete them, just disable them by clicking on the green button next to the block (it will turn red when the block is disabled).


11. At this step, follow the normal instructions to upgrade the site.


12. If you are upgrading to Beta 5, follow the instructions found in this bug report: http://www.phpfox.com/tracker/view/7850 (by Raymond Benc):
Quote:

Temporary fix is to download this ZIP file:
http://www.phpfox.com/file/attachment/fix-theme2.z...

This contains 1 PHP file that needs to be uploaded to your sites root directory. The name of the file is "fix-theme.php".

Once you have uploaded the file to your sites root visit the file via your web browser. Example: http://www.yoursite.com/fix-theme.php

Once you execute the script it should say "Done!". Visit your site and see if you can now load the default v3 theme.

Note this script will remove all themes/styles and install the supported default styles we provide.

Please remove this file after you have used it.

Addressed in 3.0.0RC1.

13. Once upgraded, turn your site offline, to proceed with the next steps:
AdminCP >> Settings >> System Settings >> Global Settings >> Site Offline/Online


14. After that, run the option Update Privacy for v3 Upgrade (Only run this if you have just upgraded to v3 and make sure to only run this once.) at:
AdminCP >> Tools >> Counters


15. Clear the site's cache one more time.


16. Run the option Import Groups from v2 to v3 Pages (Only run this if you have just upgraded to v3 and make sure to only run this once.) at:
AdminCP >> Tools >> Counters


17. Clear the site's cache again.

Not working? Best would be to get the "Upgrade Service" and our technicians will upgrade it for you.

Comments
Only verified clients can post comments on our community. If you have any questions feel free to contact us here.
Altan wrote at February 15, 2012, 6:26 am
0 Votes

Is it possible to upgrade from v1.6 to v3.0? If so, would you provide some pointers?

Altan
Victor Lau wrote at February 14, 2012, 3:07 pm
0 Votes

I have just been informed phpFox support who did my upgrade that there is no need to uninstall or delete the modules or products. Disabling them would be sufficient. Apparently all the data collected in the mods would be loss if step 2 and 3 were carried out.

Victor Lau
Victor Lau wrote at February 14, 2012, 8:20 am
0 Votes

How do we reinstall the updated mods?

Victor Lau
21FunSalute wrote at February 1, 2012, 10:18 am
0 Votes

I upgraded from V.3 to V.3.1 following your steps exactly and it erased all my member files, pictures, profiles, new photo categories and everything else I had modified on V.3. How do I do an upgrade to a new version without over writing all my member records and new profile and other categories I have created on the previous version?

21FunSalute
kwelch wrote at January 15, 2012, 4:30 am
0 Votes

I have duplicated pages as a result of the conversion of groups. I tried deleting one and it deleted all of them and imagine the data from the database. Any fix for this? also, how do you edit and event? or when it is posted it is permanent and not to be edited?

kwelch
Luis Aguayo wrote at December 29, 2011, 12:31 pm
0 Votes

About point 2. I have uninstalled modules in modules, but it remains an external module in core, this have to be removed too?

Luis Aguayo
jw77 wrote at December 20, 2011, 6:40 pm
0 Votes

In the admin panel, under CMS> Manage Menus>

We've been trying to uncheck something from being "active" and check another so that it is active. When we click on "Update" after making a change (or even when we don't make a change on the page) we get:

User Error: Unable to call class: admincp_service_menu_process - include/library/phpfox/error/error.class.php (91)
1 include/library/phpfox/error/error.class.php : 91 trigger_error("Unable to call class: admincp_service_menu_process", 256)
2 include/library/phpfox/phpfox/phpfox.class.php : 224 Phpfox_Error::trigger("Unable to call class: admincp_service_menu_process", 256)
3 include/library/phpfox/module/module.class.php : 687 Phpfox::getObject("admincp_service_menu_process")
4 include/library/phpfox/phpfox/phpfox.class.php : 439 Phpfox_Module->getService("admincp.menu.process", Array(0))
5 module/admincp/include/component/controller/menu/index.class.php : 33 Phpfox::getService("admincp.menu.process")
6 include/library/phpfox/module/module.class.php : 794 Admincp_Component_Controller_Menu_Index->process()
7 include/library/phpfox/module/module.class.php : 400 Phpfox_Module->getComponent("admincp.menu.index", Array(1), "controller")
8 include/library/phpfox/module/module.class.php : 268 Phpfox_Module->getController()
9 module/admincp/include/component/controller/index.class.php : 340 Phpfox_Module->setController("admincp.menu.index")
10 include/library/phpfox/module/module.class.php : 794 Admincp_Component_Controller_Index->process()
11 include/library/phpfox/module/module.class.php : 400 Phpfox_Module->getComponent("admincp.index", Array(1), "controller")
12 include/library/phpfox/phpfox/phpfox.class.php : 1148 Phpfox_Module->getController()
13 index.php : 42 Phpfox::run()


How do we fix this?

jw77
sapgaurav wrote at December 15, 2011, 5:39 pm
1 Vote

i have one question here, if we revert all themes and templates to default then we will loos our all modifictions?

sapgaurav
DMAN wrote at November 2, 2011, 12:49 pm
1 Vote

Last weekend we upgraded my 2.0.5 clone to V3 beta 5. I've looked over the upgraded clone very carefully and am reporting this because others have asked if they will loose anything:

http://www.phpfox.com/forum/installation-and-upgra...

So far it looks real good!

I have not lost any custom fields created for user profiles.

The comments posted onto profiles, polls, quizzes, videos, blogs, photos are still intact.

All photo uploads and all photos uploaded into albums and groups are still there with the comments.

All attachments migrated successfully.

All forums and replies migrated successfully.

Last Update on November 2, 2011, 12:52 pm by DMAN
DMAN
DMAN wrote at October 31, 2011, 2:56 pm
0 Votes
THANK YOU Data66 and Fern!

Your efforts and energies will help a lot of people whose sites are heavily modded or who might have core edits upgrading from V2.xxx to V3.
Last Update on October 31, 2011, 2:56 pm by DMAN
DMAN