Personal tools
Namespaces

Variants
Actions

How To Update WHMCS Module

From ModulesGarden Wiki
(Difference between revisions)
Jump to: navigation, search
(Update Instructions)
Line 10: Line 10:
 
==Update Instructions==
 
==Update Instructions==
 
{|
 
{|
|style="padding: 10px 0px 20px 15px;"|'''1. In the beginning, please make a backup of your server.'''
+
|style="padding: 10px 0px 20px 15px;"|'''1. In the beginning, please make a backup of your WHMCS files and database.'''
 
|}
 
|}
 
{|
 
{|
 
|style="padding: 0px 0px 15px 15px;"|2. '''Addon Modules Only:''' Log in to your WHMCS system admin area.<br />
 
|style="padding: 0px 0px 15px 15px;"|2. '''Addon Modules Only:''' Log in to your WHMCS system admin area.<br />
 
Go to '' 'Settings' '' → '' 'Addon Modules' '' and deactivate the module you wish to update.<br />
 
Go to '' 'Settings' '' → '' 'Addon Modules' '' and deactivate the module you wish to update.<br />
''Note: This step is recommended but skip it if you want to keep your module's settings.''
+
'' '''Note:''' This step is recommended but skip it if you want to keep your module's settings.''
 
|}
 
|}
 
{|
 
{|
Line 29: Line 29:
 
|style="padding: 0px 0px 15px 15px;"|6. Proceed to the module location and remove the '' 'license.php' '' file.<br />
 
|style="padding: 0px 0px 15px 15px;"|6. Proceed to the module location and remove the '' 'license.php' '' file.<br />
 
Now, rename '' 'license_RENAME.php' '' to '' 'license.php' '' file and edit it by providing your module license.<br />
 
Now, rename '' 'license_RENAME.php' '' to '' 'license.php' '' file and edit it by providing your module license.<br />
''Note: This step is mandatory only in some part of cases, due to changes in the packaging system.''
+
'' '''Note:''' This step is mandatory only in some part of cases, due to changes in the packaging system.''
 
|}
 
|}
 
{|
 
{|

Revision as of 11:48, 23 November 2017

How To Update WHMCS Module

This article will help you go through the process of updating a WHMCS module.

Proceed with steps shown below to complete a basic update.
We will also list additional steps which may be needed.

Update Instructions

1. In the beginning, please make a backup of your WHMCS files and database.
2. Addon Modules Only: Log in to your WHMCS system admin area.

Go to 'Settings' 'Addon Modules' and deactivate the module you wish to update.
Note: This step is recommended but skip it if you want to keep your module's settings.

3. Download the latest version of the module from our website.
4. Remove all files of the old module version (except license.php file).
5. Upload and extract the new files to your WHMCS root directory. They will overwrite the old files.
6. Proceed to the module location and remove the 'license.php' file.

Now, rename 'license_RENAME.php' to 'license.php' file and edit it by providing your module license.
Note: This step is mandatory only in some part of cases, due to changes in the packaging system.

7. Remove all files from '\your_whmcs\template_c\' directory.
8. (Addon Modules Only) Log in to your WHMCS system admin area.

Go to 'Settings' 'Addon Modules' and activate the recently updated module.

Additional Instructions

It may happen, that after the update of a module, it still causes a lot of errors.

If so, we advice to check the module's wiki article and check whether additional actions are needed.
Especially look for:
1. Folders which need specific chmods.
2. Earlier settings of chmods which got overwritten.
3. New cron job added or old cron job removed.
4. Use of migration tool needed to import settings from earlier version.
5. Settings removed during the update.
6. Integration codes that need to be changed after the update.
7. Additional steps listed in the installation instruction.

In case of failure, return to the previous version of the module and report a problem.


Navigation
WHMCS Modules
WHMCS Widgets
Translations
cPanel Modules
General
FAQ
Community