Jump to content

Configurable Options Won't Save Past Certain Point


Bestrafung

Recommended Posts

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

Link to comment
Share on other sites

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.

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.

  • 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