View Issue Details

This issue affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
04312Bug reportsOtherpublic2010-07-06 11:22
ReporterJoyLaneResearch Assigned Tojcleeland  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.87+ 
Summary04312: "Survey quotas" screen does not display completed surveys within quota groups.
Description

I have a survey with 8 quota groups defined. The qoutas work as expected, and they look correct in the underlying database tables, but the screen that displays quota progress does not. Instead of showing numbers in the "Completed" column, the display shows only "N/A" for each quota. (I recently cloned this survey from a 1.85+ installation, where it did not have this display problem.)

Steps To Reproduce

I've had this same problem on two different Windows server environments (jlrsurveys.com, running on MySQL, and jlrsurveys2.com running on SQL Server 2005).

Additional Information

I also can't get the "Quick CSV report" to work. I receive the error, "Unable to download admin.php from jlrsurveys2.com."

TagsNo tags attached.
Attached Files
common.php (276,497 bytes)
Bug heat6
Complete LimeSurvey version number (& build)8518
I will donate to the project if issue is resolved
BrowserIE8
Database type & versionMS SQL Server 2005
Server OS (if known)Windows
Webserver software & version (if known)IIS?
PHP Version5.2
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

Mazi

Mazi

2010-05-10 17:10

updater   ~11748

  1. Please add a screen shot of the quota overview which shows the wrong numbers.

  2. Please attach a sample survey which can be used to reproduce the problem.

  3. The "Unable to download admin.php" error might have been caused by an incorrect header/mime type when downloading files. I think this has already been corrected.
    If you can still reproduce that problem at the latest 1.890 beta please open a new bug report for it.

jcleeland

jcleeland

2010-05-29 16:34

reporter   ~12028

This is caused by an error in common.php in 1.87, and plus variants in the getQuotaInformation function:

if (!isset($_SESSION['s_lang']))
{
    return array();
} 

It can be corrected by change the lines to:

if (!isset($_SESSION['s_lang']))
{
    $_SESSION['s_lang']=$baselang;
}

Is it possible to do bugfixes for 1.87plus anymore?

Mazi

Mazi

2010-05-29 16:37

updater   ~12029

As far as I know there are no bugfixes for 1.87. Best approach seems to be to fix this in the current 1.90 branch AND add the fixed file for 1.87 at the bugtracker.

JoyLaneResearch

JoyLaneResearch

2010-06-02 12:48

reporter   ~12089

Last edited: 2010-06-03 00:57

@jcleeland - your code solved my problem. Thank you!

Mazi

Mazi

2010-06-04 01:50

updater   ~12136

Jason, can you add a fixed version of common.php for the 1.87 release here?

jcleeland

jcleeland

2010-06-23 06:56

reporter   ~12285

Modified common.php for version 1.87 build 8518 uploaded

Issue History

Date Modified Username Field Change
2010-05-07 13:41 JoyLaneResearch New Issue
2010-05-07 13:41 JoyLaneResearch Status new => assigned
2010-05-07 13:41 JoyLaneResearch Assigned To => user372
2010-05-09 14:43 lemeur Assigned To user372 => machaven
2010-05-10 17:10 Mazi Note Added: 11748
2010-05-10 17:10 Mazi Status assigned => feedback
2010-05-29 16:34 jcleeland Note Added: 12028
2010-05-29 16:37 Mazi Note Added: 12029
2010-06-02 12:48 JoyLaneResearch Note Added: 12089
2010-06-02 12:48 JoyLaneResearch Status feedback => assigned
2010-06-03 00:57 JoyLaneResearch Note Edited: 12089
2010-06-04 01:50 Mazi Note Added: 12136
2010-06-04 01:50 Mazi Assigned To machaven => jcleeland
2010-06-23 06:55 jcleeland File Added: common.php
2010-06-23 06:56 jcleeland Note Added: 12285
2010-06-23 06:57 jcleeland Status assigned => resolved
2010-06-23 06:57 jcleeland Resolution open => fixed
2010-07-06 11:22 c_schmitz Status resolved => closed