Welcome to Geeklog, Anonymous Tuesday, June 09 2026 @ 07:39 pm EDT
Geeklog Forums
Answer remaining questions
Status: offline
Avendano
Forum User
Newbie
Registered: 07/13/05
Posts: 3
Location:Madrid
I have a problem with a poll where votes are not saved. Users get the message 'Please answer all remaining questions' when there are no questions remaining.
The poll only has two questions but 150+ options for each one. I have deleted the poll and created again from scratch but with the same result. I have a similar poll running successfully but with only 50 answers for each of the two questions. Could there be a problem with the number of answers?
Any help appreciated. Thanks.
Luis
The poll only has two questions but 150+ options for each one. I have deleted the poll and created again from scratch but with the same result. I have a similar poll running successfully but with only 50 answers for each of the two questions. Could there be a problem with the number of answers?
Any help appreciated. Thanks.
Luis
19
15
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Just a wild guess, but do you have Suhosin installed on your site? Suhosin is a patch for PHP to improve the security. It also limits the amount of data in a POST request, a problem that we had before.
bye, Dirk
bye, Dirk
16
18
Quote
Status: offline
Avendano
Forum User
Newbie
Registered: 07/13/05
Posts: 3
Location:Madrid
I had read that question and had already modified htaccess with:
php_value suhosin.request.max_vars 2048
php_value suhosin.post.max_vars 2048
php_value suhosin.get.max_vars 2048
php_value suhosin.cookie.max_vars 2048
although my phpinfo page does not show Suhosin as installed.
However, I now find that my first poll that was working correctly no longer works showing the same problem. It was working fine until I put up the new poll.
I have accessed the MySQL directly and see that there are no strange entries in gl_polltopics, gl_pollquestions, and gl_pollanswers
Could the Polls plugin be sending the variables from both forms although one is not open for voting?
UPDATE
Answer: I don't think so. I have deleted the new poll but the old one after having worked successfully registering votes no longer works although it's now the only poll on the site.
php_value suhosin.request.max_vars 2048
php_value suhosin.post.max_vars 2048
php_value suhosin.get.max_vars 2048
php_value suhosin.cookie.max_vars 2048
although my phpinfo page does not show Suhosin as installed.
However, I now find that my first poll that was working correctly no longer works showing the same problem. It was working fine until I put up the new poll.
I have accessed the MySQL directly and see that there are no strange entries in gl_polltopics, gl_pollquestions, and gl_pollanswers
Could the Polls plugin be sending the variables from both forms although one is not open for voting?
UPDATE
Answer: I don't think so. I have deleted the new poll but the old one after having worked successfully registering votes no longer works although it's now the only poll on the site.
12
19
Quote
All times are EDT. The time is now 07:39 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content