View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
04688Bug reportsStatisticspublic2010-11-03 20:41
Reporteruser10213Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.90+ 
Fixed in Version1.90+ 
Summary04688: Function imagefilledpolygon() fails to generate graphics
Description

Hi,
I am using limesurvey version 1.9+ build 9284 and i am getting the next error
message:

Warning: imagefilledpolygon() [function.imagefilledpolygon]: You must have at
least 3 points in your array in /home/content/m/i/s/miso023/html/sidec/sidec
/cuestionarios/classes/pchart/pchart/pChart.class on line 2695

When i am trying to generate statistics with graphics.

Steps To Reproduce

1) Create a survey
2) Register some responses
3) Generate statistics with graphics.

TagsNo tags attached.
Attached Files
statistics_function.php (149,872 bytes)
Bug heat4
Complete LimeSurvey version number (& build)9284
I will donate to the project if issue is resolved
Browser
Database type & versionmysql Ver 14.12 Distrib 5.0.45
Server OS (if known)redhat-linux-gnu (i686) using readline 5.0
Webserver software & version (if known)apache
PHP VersionPHP Version 5.2.14

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2010-10-21 00:26

administrator   ~13294

I can't reproduce that here. Does this happen for you with every survey?
Or just certain ones?

user10213

2010-10-21 01:08

  ~13295

Just certain ones, i send you an example of the survey, i do not know if the error is for the number of questions or for the number of possible answers because one question has 350 options.

regards

user10213

2010-10-21 02:08

  ~13296

The error is caused by the first question that it has 350 answer options if i omit it i can see the graphs.

However if i use the rest of the questions except for the first, i get the error by apache:

Premature end of script headers:

I suppose it is because the string that it is sent by method post is too large

Then, can i do a long survey with limesurvey?, is there a predefined limit?

Regards

c_schmitz

c_schmitz

2010-10-21 21:22

administrator   ~13303

There is no limit - any limits imposed are by your server.
Can you attach your phpinfo as HTML file so we can have a look?

user10213

2010-10-22 21:34

  ~13313

i already attach my phpinfo

c_schmitz

c_schmitz

2010-10-22 22:11

administrator   ~13314

Your phpinfo looks okay. Can you attach the survey structure? (*.lss file)

user10213

2010-10-23 00:47

  ~13315

here lss file goes, i can see the graphics but the warning message still appear

c_schmitz

c_schmitz

2010-10-25 15:25

administrator   ~13337

Miso?

user10213

2010-10-25 17:37

  ~13342

sorry, i was out of the city, i send you the database dump

Thanks

c_schmitz

c_schmitz

2010-10-28 01:02

administrator   ~13360

ok, I can reproduce it now :-)

c_schmitz

c_schmitz

2010-10-28 02:33

administrator   ~13363

Attached fixed file. Fixed in rev. 9349

c_schmitz

c_schmitz

2010-10-28 02:38

administrator   ~13364

Btw, the error originates from a problem in your templates.
Please check your templates if the Javascript is working everywhere.
Try to use one of the standard templates and compare output.

c_schmitz

c_schmitz

2010-11-03 20:41

administrator   ~13409

Fix was released in latest 1.90+ version.

Issue History

Date Modified Username Field Change
2010-10-20 23:23 user10213 New Issue
2010-10-21 00:26 c_schmitz Note Added: 13294
2010-10-21 00:26 c_schmitz Assigned To => c_schmitz
2010-10-21 00:26 c_schmitz Status new => feedback
2010-10-21 01:08 user10213 Note Added: 13295
2010-10-21 01:08 user10213 Status feedback => assigned
2010-10-21 02:08 user10213 Note Added: 13296
2010-10-21 21:22 c_schmitz Note Added: 13303
2010-10-21 21:22 c_schmitz Status assigned => feedback
2010-10-22 21:33 user10213 File Added: phpInfoSidec.pdf
2010-10-22 21:34 user10213 Note Added: 13313
2010-10-22 21:34 user10213 Status feedback => assigned
2010-10-22 22:11 c_schmitz Note Added: 13314
2010-10-22 22:11 c_schmitz Status assigned => feedback
2010-10-23 00:47 user10213 Note Added: 13315
2010-10-23 00:47 user10213 Status feedback => assigned
2010-10-23 01:08 c_schmitz Status assigned => feedback
2010-10-23 01:27 user10213 File Added: limesurvey_survey_43294.lss.encuesta
2010-10-23 01:30 user10213 Status feedback => assigned
2010-10-23 02:02 c_schmitz View Status public => private
2010-10-23 02:03 c_schmitz Status assigned => feedback
2010-10-25 15:25 c_schmitz Note Added: 13337
2010-10-25 17:37 user10213 Note Added: 13342
2010-10-25 17:37 user10213 Status feedback => assigned
2010-10-25 17:37 user10213 File Added: LimeSurvey_encuestas2010_dump_2010-10-25.sql.zip
2010-10-28 01:02 c_schmitz Note Added: 13360
2010-10-28 02:31 c_schmitz File Added: statistics_function.php
2010-10-28 02:31 c_schmitz File Deleted: LimeSurvey_encuestas2010_dump_2010-10-25.sql.zip
2010-10-28 02:32 c_schmitz File Deleted: limesurvey_survey_43294.lss.encuesta
2010-10-28 02:32 c_schmitz File Deleted: phpInfoSidec.pdf
2010-10-28 02:33 c_schmitz Note Added: 13363
2010-10-28 02:33 c_schmitz Status assigned => resolved
2010-10-28 02:33 c_schmitz Fixed in Version => 1.90+
2010-10-28 02:33 c_schmitz Resolution open => fixed
2010-10-28 02:38 c_schmitz Note Added: 13364
2010-10-28 02:47 c_schmitz View Status private => public
2010-11-03 20:41 c_schmitz Note Added: 13409
2010-11-03 20:41 c_schmitz Status resolved => closed