Closed (fixed)
Project:
Leaflet
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
19 Jan 2014 at 10:56 UTC
Updated:
31 Aug 2015 at 04:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
interdruper commentedHave you tried the suggested action in the error message ?:
Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini
I suggest you to set it to 1500. This is sometimes required by heavy admin pages, like some of the ones used by Commerce module, o precisely this one from Leaflet.
Comment #2
interdruper commentedComment #3
gcbComment #4
blur702I also ran into this problem.
Image of Error
I am using Geofield, address, and (of course) Leaflet.
I increased the max_input_vars to 5000 and still received this error.
If it helps, I made a new content type with a geofield and leaflet map display and received the same error
Comment #5
kinshuksunil commentedWas there any fix for this?
I am trying to create a view with a leaflet map to show listings of addresses, and faced the same error for max_input_vars.
The problem persists, even when I updated the max_input_vars to 5000 from the default 1000.
Comment #6
bazzmann commentedHi there,
it seems to be a problem from the included new token feature in Leaflet module. We solved using the module https://www.drupal.org/project/token_tweaks and setting the depth parameter to "1" (that's to say that the system load just the first level of token list).
For little project it could work also with greater level number, instead of "1".
With this solution you don't need to change "max_input_vars" value (we still are using 1000).
Hope it helps,
M.
Comment #7
weavie commented#6 worked for me.
thanks bazzmann.
Comment #8
interdruper commented#6 seems the way to follow. It would be nice to quote it in the documentation of the module.
Comment #9
guypaddock commentedThis is not RTBC -- no patch was supplied (see: https://www.drupal.org/issue-queue/status). Token tweaks is a workaround for the symptom of the actual defect.
Leaflet should NOT be sending down so many variables in POST.
My recommendation is that if this is caused by the Token browser, then move the Tokens to the pop-out Token browser UI. This would also help with the slow load time of the settings for Leaflet fields since AJAX would not be sending down so many things to render.
Comment #10
claudiu.cristeaRemoved also the fieldset wrapper as now it has lost its scope.
Comment #11
claudiu.cristeaComment #12
rdeboerGood one Claudiu!
Committed.
Available in Leaflet 7.x-1.x-dev and in 7.x-1.2 or later when released.
Rik
Comment #13
rdeboer