Jump to content

Configuration Options Unable to Add or Edit Items


jljubich

Recommended Posts

I have noted in WHMCS 5.2.10 (and now in 5.2.12) that Configurable Options were unable to add or edit items when there are about 7 in a list. I mean that items can be added or edited in new lists; but, when reaching a determined number of items, they are not able to be added or edited anymore. Did you also note this issue as well?

Link to comment
Share on other sites

I had this same issue, a while back. However, I could add up to 72 items, then it wouldn't let me add anymore. I put in a ticket to WHMCS. They said it was not a bug, and responded with the following resolution:

 

There is no upper limit or restriction in WHMCS as to the maximum number of configurable options or items an invoice can contain. The theoretical maximum is the limit of MySQL which is 2147483647 (similarly, this is the highest invoice ID that can be used).

 

So to resolve this, first check MySQL Strict mode is disabled and no MySQL error is occurring (by enabling Setup > General Settings > Other tab > MySQL Debug, reproducing the problem and checking Utilities > Logs > Activity Log for an errir). If that's all good then this behaviour will be caused by the server configuration, usually suhosin. Increasing the request.max_vars max, post.max_vars and post.max_array values in the server's suhosin configuration should allow you to add more configurable options. It would also be worth increasing the post_max_size and max_input_vars values in the PHP configuration to eg. 64MB

Link to comment
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.

Guest
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.

×
×
  • 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