Update from Version 2.6 to 2.7

Update Process

  1. In the exchange panel, go to the "Console" section and enable technical mode to prevent users from making requests on the site during the script update.

  2. In the "Plugins" section, deactivate the "Premium Exchanger" and "Premium Exchanger hooks" plugins.\

  3. Using an FTP client or file manager, delete the contents of the /wp-content/plugins/premiumbox/ folder on the server, except for the following files and folders inside it:

  • /flags/

  • /languages/

  • /moduls/ (but first, read the text in the block below)

  • If you are using the Webmoney module — do not delete the x19 folder inside the moduls folder.

  • If you are not using the Webmoney module — you can delete the moduls folder entirely.

  • /sms/

  • /userdata.php

Delete all checked files and folders on your server
  1. Delete all files from the previous license in the root folder of your site.\

Go to the "Your Licenses" section and download the archive with the license files license.zip. To do this, click on the "Download for version 2.7" link.\

Upload the downloaded archive to the root folder of your site using the user created for the site (not root!) and make sure to extract the archive.

  1. Go to the "Your Scripts" section and download the archive with update files for version 2.7 that matches your PHP version.

  1. Upload the contents of the update archive to the root folder of your site using the user created for the site (not root!). Use an FTP client or file manager. Extract the archive, replacing the files.

  2. Go to the "Plugins" section and activate the "Premium Exchanger" and "Premium Exchanger hooks" plugins.

  3. Go to the "Exchange Settings → "Migration"** section and sequentially complete each step in the "Migration (if version is less than 2.7)" block.

When you start each step, the system will determine the total number of requests that need to be executed. You can specify the number of requests to be processed in one cycle.

You will see "Technical Step X" buttons next to the "Step X" buttons. Before executing each step, the system determines the number of requests that need to be executed. In some cases, the number of requests may be too large, and the server may struggle to count them. In this case, instead of the "Step X" button, you should use the "Technical Step X" button, which allows you to manually specify an arbitrary number of requests without the server counting them.

If you use the technical step, you need to manually specify the number of requests. We recommend setting a deliberately large number, such as 100,000.

  1. Go to the "Settings → "Permalinks"** section and click the "Save Changes" button without making any changes on the page.\

  2. Go to the "Requests" section and disable the update mode.\

  1. If you are using the "Parsers 2.0" or "Bestchange Parser" modules — after disabling the update mode, you need to start the parsers in the corresponding sections by manually following the Cron link. For the operation of Parsers 2.0:

    For the operation of the BestChange parser:

  2. Make sure to delete all uploaded zip archives of the script and site backups from the root folder on the server.\

  3. Disable maintenance mode in the "Console" section.

  4. Update completed successfully!

Last updated