View Issue Details

This bug affects 1 person(s).
 14
IDProjectCategoryView StatusLast Update
11979Bug reportsStatisticspublic2017-02-01 17:44
Reporterbillydekid Assigned Tomarkusfluer 
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version2.55.x 
Fixed in Version2.56.x 
Summary11979: Graphs not working on Statistics page
Description

Graphs are not shown on fresh installation LS 2.57. It only produces canvas images. PHP GD are installed and LS temp file are have right permissions for webserver user to read and write.

Steps To Reproduce

Install fresh LS > Create simple survey > click Statistics icon from List Surveys page (in one of survey available)

TagsNo tags attached.
Attached Files
Bug heat14
Complete LimeSurvey version number (& build)Version 2.57+161202
I will donate to the project if issue is resolvedNo
BrowserFF & Chrome
Database type & versionMySQL 5.5.53-0ubuntu0.14.04.1
Server OS (if known)Ubuntu 14.04.5 LTS
Webserver software & version (if known)Apache/2.4.7 (Ubuntu)
PHP VersionPHP Version 5.5.9-1ubuntu4.20

Users monitoring this issue

Journeym

Activities

Journeym

Journeym

2016-12-06 08:18

reporter   ~42382

+1.
Upgrade installation.
Have the same issue.
Also not working in IE.

markusfluer

markusfluer

2016-12-06 10:20

administrator   ~42392

Please define your problem a bit more detailed, can you add screenshots?
Is there nothing visible on the statistics page or just empty canvas-elements?

The statistics page should only create canvas images on html.
Only on pdf-export images are created by php.

Journeym

Journeym

2016-12-06 10:48

reporter   ~42393

I'll try to add screenshots in the evening, for now i have restored earlier snapshot.
There are no elements visible on a statistics page.

g_andi

g_andi

2016-12-06 11:10

reporter   ~42395

I have the same issue since update to version 2.57.1+161205. It affects only the simple statistics page. The "expert mode" works well. It shows an error in the /tmp/assets/.../statistics.js file at line 98 (Cannot read property 'labels' of undefined(…))
It seems the code has been changed here compared to the former version.

LouisGac

LouisGac

2016-12-06 11:11

developer   ~42397

Markus: 2 people affected. Please, try harder to reproduce.

LouisGac

LouisGac

2016-12-06 11:15

developer   ~42398

BTW: I can reproduce. SimpleStats not working.

markusfluer

markusfluer

2016-12-06 11:37

administrator   ~42401

Ok now I know what everyone is talking.
SimpleStats. I never tried that.
Fixed now.

markusfluer

markusfluer

2016-12-06 11:38

administrator   ~42402

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=21703

Journeym

Journeym

2016-12-08 14:49

reporter   ~42472

Can i just rewrite "application/views/admin/export/generatestats/simplestats/_statisticsoutput_graphs.php" from github on my local install "limesurvey2.57.1+161205" to test?

Journeym

Journeym

2016-12-08 16:09

reporter   ~42476

Yeah, it worked :)

c_schmitz

c_schmitz

2017-01-06 12:15

administrator   ~42656

New version released.

DenisChenu

DenisChenu

2017-02-01 17:44

developer   ~42934

HTML stat are not related to gd. HTML stat are done in javascript

Related Changesets

LimeSurvey: master 7434346b

2016-12-06 11:38:13

markusfluer

Details Diff
Fixed issue 11979: Graphs not working on Statistics page
Dev: talking about simnplestats
Affected Issues
11979
mod - application/views/admin/export/generatestats/simplestats/_statisticsoutput_graphs.php Diff File

Issue History

Date Modified Username Field Change
2016-12-05 21:37 billydekid New Issue
2016-12-05 21:37 billydekid File Added: limesurvey_survey_119661.lss
2016-12-06 08:16 Journeym Issue Monitored: Journeym
2016-12-06 08:18 Journeym Note Added: 42382
2016-12-06 09:56 LouisGac Assigned To => markusfluer
2016-12-06 09:56 LouisGac Status new => assigned
2016-12-06 10:20 markusfluer Note Added: 42392
2016-12-06 10:27 markusfluer Status assigned => feedback
2016-12-06 10:48 Journeym Note Added: 42393
2016-12-06 11:10 g_andi Note Added: 42395
2016-12-06 11:11 LouisGac Note Added: 42397
2016-12-06 11:15 LouisGac Note Added: 42398
2016-12-06 11:16 LouisGac Status feedback => new
2016-12-06 11:37 markusfluer Note Added: 42401
2016-12-06 11:38 markusfluer Changeset attached => LimeSurvey master 7434346b
2016-12-06 11:38 markusfluer Note Added: 42402
2016-12-06 11:38 markusfluer Resolution open => fixed
2016-12-06 11:39 markusfluer Status new => resolved
2016-12-06 11:39 markusfluer Fixed in Version => 2.56.x
2016-12-08 14:49 Journeym Note Added: 42472
2016-12-08 16:09 Journeym Note Added: 42476
2017-01-06 12:15 c_schmitz Note Added: 42656
2017-01-06 12:15 c_schmitz Status resolved => closed
2017-02-01 17:44 DenisChenu Note Added: 42934
2021-08-05 05:37 guest Bug heat 12 => 14