1web Posted March 8, 2019 Share Posted March 8, 2019 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 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted March 9, 2019 Share Posted March 9, 2019 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. 0 Quote Link to comment Share on other sites More sharing options...
1web Posted March 10, 2019 Author Share Posted March 10, 2019 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 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Developer WHMCS Nathan Posted March 11, 2019 WHMCS Developer Share Posted March 11, 2019 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 0 Quote Link to comment Share on other sites More sharing options...
1web Posted March 11, 2019 Author Share Posted March 11, 2019 Hi Nathan Increased all those but still no change Thanks 0 Quote Link to comment Share on other sites More sharing options...
steven99 Posted March 11, 2019 Share Posted March 11, 2019 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 . 0 Quote Link to comment Share on other sites More sharing options...
1web Posted March 11, 2019 Author Share Posted March 11, 2019 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 0 Quote Link to comment Share on other sites More sharing options...
steven99 Posted March 12, 2019 Share Posted March 12, 2019 Are those changes reflected in WHMCS admin -> Utilities -> System -> PHP info? 0 Quote Link to comment Share on other sites More sharing options...
1web Posted March 12, 2019 Author Share Posted March 12, 2019 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 0 Quote Link to comment Share on other sites More sharing options...
mauwiks Posted October 1, 2020 Share Posted October 1, 2020 By any chance, did anyone resolve this issue? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.