Jump to content

config options


Recommended Posts

Hey

 

Is there a limit to how many configurable options that can be created. I have set up an option for operating system we have over 30 different options I got to number 27 and it wont allow me to add any more options after entering the option name and setting the position im hitting save but the options are not being saved

 

Many Thanks

Link to comment
Share on other sites

16 hours ago, 1web said:

Is there a limit to how many configurable options that can be created. I have set up an option for operating system we have over 30 different options I got to number 27 and it wont allow me to add any more options after entering the option name and setting the position im hitting save but the options are not being saved

I suspect this is more a PHP Memory issue because a similar thing can occur when you have hundreds of TLDs in domain pricing - increasing your php memory limit should resolve the issue.

Link to comment
Share on other sites

Hi Brian

 

Thank you for the reply I have increased the memory limit but that has not resolved it. I have not had any issues with setting up domains as I use the resellerclub addon to import domain names etc 

Link to comment
Share on other sites

  • WHMCS Developer

This behavior usually indicates that something in the PHP configuration is limiting the amount of data that can be submitted via the form.

I would try increasing the following PHP and Suhosin values:

  • request.max_vars
  • max
  • post.max_vars
  • post.max_array
  • post_max_size
  • max_input_vars

You'd want to increase these values until all data submitted to the form is accepted

Link to comment
Share on other sites

Hi @steven99

Thats correct yes. I have changed the settings in cpanel,  php selector switch to php options. I have also added the below to my .htaccess file and still no change

 

php_value max_input_vars 6000
php_value suhosin.get.max_vars 6000
php_value suhosin.post.max_vars 6000
php_value suhosin.request.max_vars 6000

 

Link to comment
Share on other sites

 

10 minutes ago, steven99 said:

Are those changes reflected in WHMCS admin -> Utilities  -> System -> PHP info? 

All values set are showing in php info

local value   master value

max_execution_time 0 90
max_file_uploads 20 20
max_input_nesting_level 64 64
max_input_time -1 -1
max_input_vars 6000 2000
memory_limit 756M          756M
Link to comment
Share on other sites

  • 1 year later...

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.

  • 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