Welcome, Guest
Username: Password: Remember me

TOPIC: label set 5000+ entries

label set 5000+ entries 2 years 2 months ago #81084

  • bairdc3
  • bairdc3's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 17
  • Karma: 0
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?
The administrator has disabled public write access.

Re: label set 5000+ entries 2 years 2 months ago #81085

  • bairdc3
  • bairdc3's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 17
  • Karma: 0
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 .
The administrator has disabled public write access.

Re: label set 5000+ entries 2 years 2 months ago #81089

  • c_schmitz
  • c_schmitz's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 754
  • Thank you received: 104
  • Karma: 87
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.
Support us, too. Donate to the LimeSurvey project and help keep us going!
The administrator has disabled public write access.

Re: label set 5000+ entries 2 years 2 months ago #81108

  • bairdc3
  • bairdc3's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 17
  • Karma: 0
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.
The administrator has disabled public write access.

Re: label set 5000+ entries 2 years 2 months ago #81145

  • c_schmitz
  • c_schmitz's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 754
  • Thank you received: 104
  • Karma: 87
Check the documentation for 'Suhosin' (which is a server module that limits the number of information that can be posted).
Support us, too. Donate to the LimeSurvey project and help keep us going!
The administrator has disabled public write access.

Re: label set 5000+ entries 2 years 2 months ago #81245

  • bairdc3
  • bairdc3's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 17
  • Karma: 0
Suhosin is not installed :-( any other ideas?
The administrator has disabled public write access.

label set 5000+ entries 1 year 1 month ago #98304

  • bairdc3
  • bairdc3's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 17
  • Karma: 0
Add an entry to php.ini max_input_vars =



./cpanel/scripts/php.ini
The administrator has disabled public write access.

label set 5000+ entries 1 year 1 month ago #98312

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5324
  • Thank you received: 294
  • Karma: 248
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)limesurvey.org'"
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.135 seconds
Donation Image