Jump to content

Setup / Products/Services / Domain Pricing

Recommended Posts

Hello, I've added a lot of domain name TLD's on the Domain Pricing page.  All of the sudden, I'm unable to add any additional TLD's unless I use the Duplicate TLD button.  If I try to add another TLD, the response is that the Changes Saved Successfully; however, after scrolling all the way down, I don't see that the new TLD has been added.  I have even searched for the TLD in case it was sorted differently; however, it just doesn't exist.

Is there an issue going on right now?



Share this post

Link to post
Share on other sites

Hello Vikash,

Thank you for your post.

When a customer has more than 160 TLDs in their WHMCS application, they may be unable to save settings on certain, what seem to be random TLDs.  The reason for this is due to a setting in PHP called `max_input_vars`.  By default it is set to 1000.  This setting truncates forms that contain more input fields than the setting and results in some TLDs being saved and others not.

To correct this, you cannot change the setting at runtime (ie in configuration.php using ini_set) but you can set it in a php.ini or .htaccess file.  In the admin folder create an .htaccess file if it doesn't already exist and add:

php_value max_input_vars 10000


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated