Bestrafung Posted October 22, 2013 Share Posted October 22, 2013 I opened a support ticket on this a long time ago and we were never able to figure it out. My configurable options are used for pricing and don't change often so I kind of forgot about it. I had hoped that by now with all of the updates it would be resolved but the issue has cropped up again. When editing a configurable option with more than approximately 71 tables the changes aren't saved. New entries can't be added either. Using a debug script the developers provided indicates the array is being cut off prematurely and thus not being entered into the database. Entering the option and editing the prices manually via PHPMyAdmin seems to work. The option can then be seen in WHMCS but cannot be edited there. I've checked the PHP settings several times but still no luck. I'm still waiting for a response from the developers and if we figure it out I'll be sure to post here if possible for future Googlers. Here's my relevant info, let me know if I've left anything out. Any assistance would be much appreciated. Windows Server 2008 SP1 x64 (NT 6.0 build 6001) IIS 7.0 PHP 5.4.3 NTS, CGI/FastCGI MySQL Community Server 5.1.49 Win64 WHMCS 5.2.7 IIS PHP Runtime Limits: Maximum POST Size: 64M Upload Maximum File Size: 48M Maximum Execution Time: 90 Maximum Files to Upload: 20 Maximum Input Time: 90 Memory Limit: 192M 0 Quote Link to comment Share on other sites More sharing options...
Bestrafung Posted October 24, 2013 Author Share Posted October 24, 2013 If anyone else has this issue it ended up being a PHP setting. The configurable options are saved as variables in an array. The array was being cut off at 1000 entries. Looking at the PHP error log I found: [22-Oct-2013 22:15:53 UTC] PHP Warning: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0 Replaced ; max_input_vars = 1000 With max_input_vars = 2000 and all is well again. I can now save and edit all my configurable options again. Hope this helps someone else. 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.