label set 5000+ entries

More
5 years 4 months ago #81084 by bairdc3
bairdc3 created the topic: label set 5000+ entries
When adding a label set with 5000+ entries in it to a question I am getting:

Access denied!
Security alert: Someone may be trying to use your LimeSurvey session (CSRF attack suspected). If you just clicked on a malicious link, please report this to your system administrator.
Also this problem can occur when you are working/editing in LimeSurvey in several browser windows/tabs at the same time.


Anyway to stop this?

Please Log in to join the conversation.

More
5 years 4 months ago #81085 by bairdc3
bairdc3 replied the topic: label set 5000+ entries
Sorry this should have been in the design issues section please move. Also the error_log has this error in it

[29-May-2012 20:16:51] LimeSurvey ERROR while checking POST session- Probable CSRF attack Received= / Expected= inm9meee3a for action=updateansweroptions .

[29-May-2012 20:37:30] LimeSurvey ERROR while checking POST session- Probable CSRF attack Received= / Expected= z8cpzhdduv for action=updateansweroptions .

Please Log in to join the conversation.

More
5 years 4 months ago #81089 by c_schmitz
c_schmitz replied the topic: label set 5000+ entries
The problem is that your server cannot handle that many items when submitting the page to save, so some of these are cut off and leads to the described error.

Best regards

Carsten Schmitz
LimeSurvey project leader

Please Log in to join the conversation.

More
5 years 4 months ago #81108 by bairdc3
bairdc3 replied the topic: label set 5000+ entries
Hmm it handled the SQL query that I ran that dumped the 5000 entries into the label set. I wonder what could be blocking it? Doesn't seem to be a server performance issue.

Please Log in to join the conversation.

More
5 years 4 months ago #81145 by c_schmitz
c_schmitz replied the topic: label set 5000+ entries
Check the documentation for 'Suhosin' (which is a server module that limits the number of information that can be posted).

Best regards

Carsten Schmitz
LimeSurvey project leader

Please Log in to join the conversation.

More
5 years 4 months ago #81245 by bairdc3
bairdc3 replied the topic: label set 5000+ entries
Suhosin is not installed :-( any other ideas?

Please Log in to join the conversation.

More
4 years 2 months ago #98304 by bairdc3
bairdc3 replied the topic: label set 5000+ entries
Add an entry to php.ini max_input_vars =



./cpanel/scripts/php.ini

Please Log in to join the conversation.

More
4 years 2 months ago #98312 by Mazi
Mazi replied the topic: label set 5000+ entries
When adding such a large number of items, there can be different server configurations causing problems. Besides the "max_input_vars", the "memory_limit" or the "max_execution_time" can be reached.

Always check the Apache error logs first. You should find additional information there about which setting caused the problem.

Suhosin can also causing similar problems. For more suhosin settings check manual.limesurvey.org/General_FAQ#Survey...gh._What_can_I_do.3F


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now