Update from Version 2.5 to 2.6
A list of updates for version 2.6 is available at this link.
Before starting the script update, please ensure that the Ioncube Loader on your server is updated to version 13.0 or higher (if your current version is below 13, refer to the instructions for checking the installed version** and instructions for updating). Your hosting provider's technical support can assist you with the update.
Starting from version 2.6, support for PHP 7.1, 7.2, 7.3, and 7.4 has been removed for security reasons, and support for PHP 8.2 has been added. If you were using PHP 7.4 or lower in version 2.5, you need to update the PHP version on your server before updating the script. We recommend updating PHP through your hosting provider's technical support.
Instructions for checking the PHP version installed on the server.
If you are using merchant and auto-payment modules that were specifically developed for you, please request updated modules in your Telegram group (not through technical support via the bot).
If you are using merchant and auto-payment modules, as well as other types of modules from third-party developers, they will not work on version 2.6 without updates from the developers.
If you used the Electrum modules and/or "Trading Actions" in version 2.5, please request the modules for version 2.6 in your Telegram group (not through technical support via the bot).
Before updating, make sure to back up your website and database!
If something goes wrong during the update, you can always restore your site from the backup. Backup methods may vary depending on your hosting provider, so you should contact their technical support for assistance.
The easiest way to back up your website is through your server's control panel (ISP Manager or other software) using the built-in file manager or via an FTP client (download the website files to your computer, and also download the database from the database management section or through PhpMyAdmin).
Please note — when updating the script from version 2.5 to 2.6, you need to update (for free) any custom themes for your website!
If you are using such a theme, please send the archive for adaptation to version 2.6.
To do this, navigate to the folder on your server at www/<your_site_name>/wp-content/themes/
, find the folder with your theme, zip it, download it to your computer, and then send the archive in your Telegram group.
In the exchange panel, go to the "Console" section and enable technical mode for the exchanger so that users cannot make requests on the site during the script update.
In the "Plugins" section, deactivate the "Premium Exchanger" and "Premium Exchanger hooks" plugins.
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 internal accounts — do not delete the domacc folder inside the
moduls
folder.If you are not using internal accounts — you can delete the
moduls
folder entirely.
After updating the script, you need to transfer internal accounts to the new module — instructions for transferring (relevant only if you used internal accounts in 2.5)
If you are using the Webmoney module, do not delete the
x19
folder inside themoduls
folder.If you are not using the Webmoney module — you can delete the
moduls
folder entirely.
/sms/
/userdata.php

Delete all files from the previous license in the root folder of your website.\
Go to the "Your Licenses" section and download the archive with the license files license.zip
. To do this, click on the link "Download for version 2.6".

Upload the downloaded archive to the root folder of your website under the user created for the site (not root!) and be sure to extract the archive.
Make sure to complete step 4, even if the license files were previously uploaded to the server — otherwise, the site will not function!
Go to the "Your Scripts" section and download the archive with files for updating to version 2.6 for your PHP version.
You need to know the exact PHP version installed on your server to select the appropriate archive. Instructions for checking the PHP version installed on the server.

Upload the contents of the update archive to the root folder of your website under the user created for the site (not root!). Use an FTP client or file manager. Extract the archive, replacing the files.
Go to the "Plugins" section and activate the "Premium Exchanger" and "Premium Exchanger hooks" plugins.
Navigate to the "Exchange Settings → "Migration"** section and sequentially complete each step in the "Migration (if version is less than 2.6)" block.

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

By default, the number of requests = 50. If you are unsure about your server's capacity, we recommend not changing the default value.
If necessary, you can specify any other value, but if the execution cycle with the specified value is too resource-intensive for the server, it will result in an error.
Go to the "Settings" → "Permalinks" section and click the "Save Changes" button without making any changes on the page.
Navigate to the "Exchange Settings" → "General Settings" section and disable the update mode.

An alternative option is to select "No" for the "Update Mode" parameter in this section and save the changes.

The update mode is activated each time the main plugin is deactivated and reactivated, so it must always be manually disabled.
If you are using the "Parsers 2.0" or "Bestchange parser" modules, after disabling the update mode, you need to manually start the parsers in the corresponding sections by following the Cron link.
For the operation of Parsers 2.0:

For the operation of the BestChange parser:


Make sure to delete any uploaded zip archives of the script and website backups from the root folder on the server.

Disable maintenance mode in the "Console" section.
The update was successful!
Changes in the Admin Panel
After the update, you need to make changes in the admin panel for the script to function correctly.
To enable email registration confirmation, you need to activate the "Email Confirmation Before Registration" (confirmregmail) module in the "Modules" section. If you are not using this option, you can leave the module turned off.
Starting from version 2.6, the "Captcha for the Site (Image Selection)" (sitecaptcha_img) module automatically generates options for users to choose from on the site. In the previous version of the module, you could create your own tasks; starting from version 2.6, this option has been disabled, so changes to the captcha's appearance will be reflected on the site immediately.
After the update, in the "Exchange Settings" -> "General Settings" section, make sure to select the logic for handling requests when using receiving merchants for the option "Action if the merchant fails." For more details on how this option works, refer to the "General Merchant Settings" guide.
Last updated