How To Update WHMCS Module
From ModulesGarden Wiki
(Difference between revisions)
(→Framework Cron Commands) |
(→Update Process) |
||
Line 16: | Line 16: | ||
|} | |} | ||
{| | {| | ||
− | |style="padding: 0px 0px 15px 15px;"|1. '''Backup your WHMSC installation''' | + | |style="padding: 0px 0px 15px 15px;"|1. '''Backup your WHMSC installation:''' |
* Before proceeding, create a full backup of your WHMCS files and database. This step is crucial in case of an update failure or other issues. | * Before proceeding, create a full backup of your WHMCS files and database. This step is crucial in case of an update failure or other issues. | ||
|} | |} | ||
Line 34: | Line 34: | ||
|} | |} | ||
{| | {| | ||
− | |style="padding: 0px 0px 15px 15px;"|5. '''Adjust the license file (if required)''' | + | |style="padding: 0px 0px 15px 15px;"|5. '''Adjust the license file (if required):''' |
* In some cases, you may need to navigate to the module's folder and delete the existing <code>license.php</code> file. | * In some cases, you may need to navigate to the module's folder and delete the existing <code>license.php</code> file. | ||
* Rename <code>license_RENAME.php</code> to <code>license.php</code> and edit it by entering your module’s license key. | * Rename <code>license_RENAME.php</code> to <code>license.php</code> and edit it by entering your module’s license key. | ||
|} | |} | ||
{| | {| | ||
− | |style="padding: 0px 0px 15px 15px;"|6. '''Clear | + | |style="padding: 0px 0px 15px 15px;"|6. '''Clear cache:''' |
* Navigate to ''/your_whmcs/template_c/'' and delete all files except ''index.php'' to remove old cache data. | * Navigate to ''/your_whmcs/template_c/'' and delete all files except ''index.php'' to remove old cache data. | ||
* Refresh your browser cache using one of the following key combinations: | * Refresh your browser cache using one of the following key combinations: | ||
Line 47: | Line 47: | ||
{| | {| | ||
|style="padding: 0px 0px 15px 15px;"|7. '''Check for additional update steps:''' | |style="padding: 0px 0px 15px 15px;"|7. '''Check for additional update steps:''' | ||
− | * Some modules may require additional actions for a successful update | + | * Some modules may require additional actions for a successful update. |
* Review the module’s [https://www.docs.modulesgarden.com documentation] for specific instructions related to file permissions, cron jobs, integration codes, or PHP version compatibility. | * Review the module’s [https://www.docs.modulesgarden.com documentation] for specific instructions related to file permissions, cron jobs, integration codes, or PHP version compatibility. | ||
|} | |} |
Revision as of 14:11, 3 March 2025
Article update is ongoing on this page, watch out for broken links, unclear descriptions and images!
We are sorry for the inconvenience caused.
This guide provides essential instructions for updating any ModuelsGarden modules for WHMCS. Follow the steps one by one to ensure a smooth update process while minimizing the risk of data loss or unexpected issues. Carefully review the entire guide before proceeding to avoid potential complications. |
Update Process
To successfully update a module, follow these steps: |
1. Backup your WHMSC installation:
|
2. Download the latest version of the module from our client area. |
3. Remove the old module files:
|
4. Upload and extract the new files:
|
5. Adjust the license file (if required):
|
6. Clear cache:
|
7. Check for additional update steps:
|
8. Activate the updated module:
|
9. Reissue the license:
|
Module Cron Commands
The following cron commands are available for managing modules based on the new framework: |
php cron.php module upgrade list
php cron.php module upgrade run <version> for example: php cron.php module upgrade run 3.5.0
php cron.php module activate
php cron.php module deactivate
php cron.php module deactivate --remove-database-tables |
Conclusions
Following these steps will ensure proper module management in WHMCS. Always back up your installation before making changes, and verify the module functionality after updating. If any issues arise, refer to your module documentation or contact our support team for assistance. |