Yesterday morning (Beijing time), WHMCS officially released the latest security patch. At the same time, the official also released the stable version of WHMCS5.2.1 and 5.1.4. At the same time, you log in to your < The official user center download page of bpt2>WHMCS no longer provides download links for WHMCS5.1.2 and earlier. Currently, the latest WHMCS5.2.1 has passed VPSAA and good VPS tribe tests for normal use in terms of Chinese language package and Alipay (instant payment) interface, so I would like to share the relevant upgrade information here.
Before upgrading, log in to the WHMCS backend, general settings, and select maintenance mode to avoid customer access. At the same time, I strongly recommend that everyone make a complete backup of all data. Users who use the WHMCS host provided by VPSAA, please log in to your host cPanel panel, select backup, download or generate all backups, and then you can choose to back up to this space or off-site FTP. At the same time, in order to avoid being foolproof, I recommend that you log in to the database management Page PhpMyAdmin, make another backup and export of the database.
Next, download the official new version source code, such as WHMCS5.2.1. You can download it from WHMCS official website, or you can log in to the VPSAA Customer Center and download it from the resource download at the bottom of your product.
***It is recommended that you download the official source code and add and replace the modified parts of the Chinese package and Alipay plug-in. If you upgrade, you can delete the configuration.php.new file. If we downloaded it in the VPSAA User Center, we have already Add and replace. ***
Interlude: This article was actually written in the early morning of March 14th, but I encountered a problem after upgrading to 5.2.1. The bill after payment was displayed as unpaid in the background and would not be returned. According to rumors, on the 14th, I saw a solution provided by howie on the loc forum that finally solved this problem, so I posted it after solving it.
OK, start the upgrade process.
First, repackage the official source code and transfer it to your WHMCS installation directory, unzip it, and overwrite the original file (everyone has their own way of doing this step. You can also FTP one by one, which is very slow). If you have ever modified After passing the admin directory, please modify it simultaneously;
Then, access the background and upgrade according to the prompts. I agree, next step.
whmcs5.2.1-01
In this step, the system will ask you again whether you have backed up data, select it, and then start the upgrade.
whmcs5.2.1-02
Don’t think you have to wait a long time, it will be OK in two seconds. After that, go to the file management and delete the install folder.
Next, if the Chinese package is not transmitted, the Alipay plug-in should be passed in first, then log in to the background, check the settings, and debug.
If the source code you downloaded from the VPSAA User Center has integrated Chinese language and Alipay plug-in, the Alipay plug-in is made into 2 compressed packages (instant payment and dual function), please unzip it according to your personal needs.
If you need to modify it yourself, please open the payment gateway folder modulesgateways

Modify the alipay_callback.php file and remove these two lines
include("../../../dbconnect.php");
include("../../../includes/functions .php");
changed to
include("../../../init.php");

Finally, cancel debugging mode and officially complete.
It is currently known that there is a small BUG in WHMCS5.2.1. It has been submitted to the official but has not yet received a response. It is to log in to the management background, system settings, automatic tasks, there is a Client Status Update at the bottom, and the option cannot be changed (no matter what it is) Which item, it will be the second item after saving), other problems have not been found yet, and everyone is welcome to submit BUG reports.


Hong Kong/United States/Domestic High Speed ​​VPS

postid
10649

Leave a Reply