Jump to content

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

Share this post


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

Share this post


Link to post
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 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Hi Nathan

Increased all those but still no change

 

Thanks

Share this post


Link to post
Share on other sites

Just to confirm, these are configurable options under Setup -> Products / Services / Configurable options and not the ones given under the server module's _ConfigOptions function, correct?   The one under the module's function, IIRC, does have a limit . 

Share this post


Link to post
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

 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

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