Topics

User Functions

Events

There are no upcoming events

What's New

Stories

1 new Stories in the last 2 weeks

Comments last 2 weeks

No new comments

Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Saturday, May 25 2013 @ 08:06 AM EDT


 Forum Index > Support > General Geeklog Support New Topic Post Reply
 A MAJOR Poll Problem
First | Previous | 1 2 | Next | Last
   
samstone
 09/05/08 11:21PM  
+++++
Full Member

Status: offline


Registered: 09/29/02
Posts: 820
I have reported similar problem previously here.

I am interested in the solution also.

Thanks,

Sam

 
Profile Email
 Quote
Anonymous: trohko
 09/09/08 07:38PM  

excited


Nope. No template files were edited.
I even started to compare this version of plugin with older ones (since polls moved out of geeklog core).
I found that polls plugin v1.1.0 of Geeklog v1.4.1 release works just fine. So I took that version and put it into geeklog v1.5 . It still worked just fine! Then, I switched back to original version (v2.0.1), the one that ships with geeklog v1.5. I tried to set up some parameters for poll plugin and found a SOLUTION! 8)

My webhosting server is uses the Suhosin extension for PHP. And this extension is limiting the number of variables, that pass through HTTP requests. If poll plugin is set to accept 10 options for 10 question in a single poll, that is 100 fields + options + some more variables , that need to pass through PHP server / Suhosin extension. In cases like that this suhosin quietly truncates fields to its limit; that's why field "mode" and some others were lost during POST action.

How to check for Suhosin limit in action: create a test.php file in your public directory and insert this line:
PHP Formatted Code
<?php phpinfo();?>

Somewhere in that long list, there should be a section like:

suhosin.get.max_vars 100 100
or
suhosin.post.max_vars 200 200
or
suhosin.request.max_vars 200 200

Based on testing: values 6-questions & 10-options works for me, but you should try your own server for it's limits.

Feels like .... marvelous! Big Grin

 
 Quote
First | Previous | 1 2 | Next | Last
Content generated in: 0.75 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to post 
Filtered HTML Allowed 
Censored Content