Order Form Issues

From WHMCS Documentation

Revision as of 02:18, 27 July 2017 by John (talk | contribs) (Error: 0 - php_network_getaddresses: getaddrinfo failed: Name or service not known)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

There was an error in your request

When checking a domain availability this indicates that your firewall is blocking the whois port; 43. Please ensure port 43 is open. It could also indicate your server is unable to connect to the whois server listed in the /includes/whoisservers.php file - ensure your server is able to connect to the whois server on port 43 for the TLD listed in this file.

There was a problem connecting to the domain registry

When checking a domain availability this indicates that your firewall is blocking the whois port; 43. Please ensure port 43 is open. It could also indicate your server is unable to connect to the whois server listed in the /includes/whoisservers.php file - ensure your server is able to connect to the whois server on port 43 for the TLD listed in this file.

Domain Checker reports domains available when they are registered

The cause of this problem is the same as the above two points; a connection problem with the whois server. Begin by reviewing Utilities > Logs > Activity Log for any error messages beginning with WHOIS Lookup Error at the time of performing the domain availability check. Some potential errors are explained below:

Extension not listed in includes/whoisservers.php

WHMCS can check the availability of over 800 domain extensions as standard, unfortunately .the domain you are looking up is not amongst them. However this can be added by modifying the /includes/whoisservers.php file and entering the whois server details for the desired TLD.

Further information is published here.

Error: 110 - Connection Error

This error indicates that your firewall is blocking the whois port; 43. Please ensure port 43 is open. It could also indicate your server is unable to connect to the whois server listed in the /includes/whoisservers.php file - ensure your server is able to connect to the whois server on port 43 for the TLD listed in this file.

Error: 0 - php_network_getaddresses: getaddrinfo failed: Name or service not known

This indicates that an entry does exist in the /resources/domains/dist.whois.json file for the TLD in question or your server is unable to resolve it.

Double-check with the IANA database that you're connecting to the correct whois server, and if not it can be added or changed by following these instructions. If the entry for the TLD in question does exist, speak to your server admin to investigate why you server is unable to resolve it.

Error detail unknown

See Connection Error above

eNom Namespinner

For errors beginning with eNom Namespinner: please refer to Domain Namespinning Troubleshooting.

Invalid TLD/Registration Period Supplied for Domain Registration

Watch Video Tutorial


This error indicates an order has been placed for a TLD or registration period that hasn't been configured. Please review the following video to resolve the issue: http://www.youtube.com/watch?v=JB_IZAKMYw4&hd=1

An order cannot be created because no products or domain registration items have been selected

Same as above; this error indicates an order has been placed for a TLD or registration period that hasn't been configured. Please review the following video to resolve the issue: http://www.youtube.com/watch?v=JB_IZAKMYw4&hd=1

Watch Video Tutorial

Order form not displaying domain results

This problem manifests itself as follows; during the product ordering price after selecting the "Use an existing domain and change the nameservers" option and clicking "Go", no results are returned.

This problem is caused by Cloudflare script minification/Rocketloader features. This causes Cloudflare to replace the javascripts WHMCS uses to check the availability with their own copies. Cloudflare's javascripts do not contain the necessary code.

Please disable RocketLoader and script minification options in your Cloudflare control panel.

Free domains do not show as free on product configuration step

When configuring an order, the domain will show as full price until the checkout page. This is because the discount is reliant upon the client selecting the appropriate TLD, product and billing cycle, so cannot be applied until both the domain and product are in the cart with the billing cycle selected so WHMCS knows that they're eligible to receive the free domain.

Product price displays a smaller amount on the cart than configured

This is caused by the Monthly Pricing Breakdown feature. If you do not wish prices displayed in this way, it can be disabled under Setup > General Settings > Ordering tab.

Product is configured as prorata but no pro-rating is occurring

Problem: You have ticked the "Prorata" option in a product's Pricing tab with in the admin area, but upon ordering the price is not being pro-rated. Solution: This is caused by the Signup Anniversary Prorata feature which overrides the product prorata setting. If you'd rather products be po-rated to a specific date rather than the client's signup date, this option can be disabled under Setup > General Settings > Ordering tab.