Difference between revisions of "Troubleshooting Guide"

From WHMCS Documentation

(Created page with 'This guide will explain and help resolve many of the most common error messages that can occur whilst using WHMCS. Before contacting support please run through this step-by-step …')
(No difference)

Revision as of 17:04, 23 November 2011

This guide will explain and help resolve many of the most common error messages that can occur whilst using WHMCS. Before contacting support please run through this step-by-step guide as you may be able to resolve the matter yourself.

Module Command Error

Module Command Errors are errors returned from the module and not WHMCS, so for provisioning modules (cPanel, Plesk etc) they come from your server, for registrar modules (eNom, ResellerClub etc) they come from your domain registrar.

Therefore to discover the cause of such errors refer to your server/registrar's documentation or support team. We have collected some of the most most common errors and their causes, refer to the appropriate page in the following sections:

Once the necessary corrections have been made use the Module Command buttons under the client's Products/Services or Domains tabs to attempt the command again.

Unknown Error

Sometimes the module returns an error WHMCS isn't expecting and this can result in an Unknown Error message. In these cases the System Module Debug Log should be used to obtain the full response from the module. This will contain an error message that the server/registrar's documentation or support team will be able to explain.

Blank Page

If at any time you encounter a blank page in the WHMCS system ensure display_errors is enabled in the server's PHP configuration, add the following line to your WHMCS configuration.php file and then try the process again.

You should then get an error output to the screen. Once testing is complete, be sure to remove the $display_errors line again from that file so that clients aren't getting warnings or errors.

 $display_errors = true;

We have collected some of the most most common errors and their causes, refer to the appropriate page in the following sections:

Payments Not Recorded

Should a payment not be recorded in WHMCS the first thing to check are the callback settings on your payment gateway's website to ensure it is configured to communicate with your WHMCS installation. As a rule callback commands should be sent to the appropriate file in the /modules/gateways/callback directory but specific instructions for individual gateways can be found at Payment Gateways.

If the configuration is correct navigate to Billing > Gateway Log and review the debug data at the time payment was made, this should display an error message or code which your payment gateway's documentation or support team will be able to explain.

If there is no log entry at-all and you are using a merchant gateway this suggests that the client has no card details on file.
Otherwise it means your gateway is unable to communicate with the callback file on your server, a server setting such as the firewall or mod_security could be blocking them. Liaise with your payment gateway and server administrator to resolve such matters.