Difference between revisions of "Upgrading to JReviews 3"

From JReviews Documentation
Jump to: navigation, search
(= Server Requirements)
Line 5: Line 5:
 
'''JReviews 3 is still in Beta and not deemed suitable for production sites. Please install it on a development site first and [https://forum.jreviews.com/forum/112-bugs-30-beta-1/ report any bugs in the forum]. The documentation for JReviews 3 is still a work in progress.'''
 
'''JReviews 3 is still in Beta and not deemed suitable for production sites. Please install it on a development site first and [https://forum.jreviews.com/forum/112-bugs-30-beta-1/ report any bugs in the forum]. The documentation for JReviews 3 is still a work in progress.'''
  
=== Server Requirements ==
+
=== Server Requirements ===
  
 
* PHP 7.0, 7,.1
 
* PHP 7.0, 7,.1

Revision as of 12:19, 8 March 2018

Upgrading to JReviews 3

JReviews 3 is still in Beta and not deemed suitable for production sites. Please install it on a development site first and report any bugs in the forum. The documentation for JReviews 3 is still a work in progress.

Server Requirements

  • PHP 7.0, 7,.1
  • ionCube Loaders
  • PHP Extensions: json, mbstring, curl, bcmath
  • upload_max_filesize in php.ini must be higher than 6M to be able to upload the installation packages

Upgrade Guide

JReviews 3 has a very large number of code changes so it is not possible to upgrade using the remote updates feature. Also, given the number of changes, none of the previous version files, including theme files, are compatible with this version, so you will need to bring all your code overrides up to date.

To upgrade from JReviews 2.x you need to follow these steps without skipping any of them.

1. Make a backup of your site and be prepared to use it if something goes wrong. Consider first testing the update in localhost or a development domain, especially if you have customizations.

2. If you have customizations, disable JReviews overrides to disable them because they will not be compatible with JReviews 3. To do this, rename the following folder to keep a backup of your changes. Do not rename the folder back to its original name after the upgrade:


Joomla

/templates/jreviews_overrides

WordPress:

/jreviews_overrides


3. Disable all installed Add-ons by renaming or deleting the entire Add-ons folder. Do not rename the folder back to its original name after the upgrade. You can find the Add-ons folder at:

Joomla

/components/com_jreviews_addons

WordPress:

/wp-content/plugins/jreviews_addons

4. Uninstall the S2Framework and JReviews from your site. This step is important to remove all the outdated files from the system before installing the new version.

Joomla: Use the Extensions manager to uninstall the S2Framework Component and the JReviews component. Don’t uninstall the JReviews modules because you will lose all your module settings if you do this. WordPress: Use the Plugins Manager to uninstall the S2Framework Plugin and the JReviews Plugin.

5. Continue with normal installation steps for JReviews.

Joomla

Use the Extensions Manager to install the S2Framework component first, then the JReviews component.

WordPress

Use the Plugins Manager to install the S2Framework plugin first, then the JReviews plugin.