View Issue Details

This issue affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
04556Bug reportsConditionspublic2010-09-08 17:27
Reporteruser9405Assigned Tolemeur  
PrioritynormalSeverityminor 
Status closedResolutionno change required 
Product Version1.90+ 
Summary04556: Warning while viewing the question
Description

Warning: Division by zero in /home/abhi/www/limesurvey/common.php on line 1129

Warning: Division by zero in /home/abhi/www/limesurvey/common.php on line 1129

Warning: Division by zero in /home/abhi/www/limesurvey/common.php on line 1162

$columns = ceil($answer_count/ceil($answer_count/$columns));

use some conditional statement to monitor division by zero.

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)1.94
I will donate to the project if issue is resolved
Browserfirefox
Database type & versionmysql
Server OS (if known)linux ubuntu
Webserver software & version (if known)apache
PHP Version5.1

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2010-08-22 10:47

administrator   ~12677

Please attach a tiny sample survey to reproduce the problem
Thank you!

mdekker

mdekker

2010-08-25 09:22

reporter   ~12707

Just by looking at the code this is only possible if you did not add answers to a question, rendering the question invalid anyway. If this is not the case, I am curious to see the sample survey :)

user9405

2010-08-25 15:08

  ~12710

oops ,yeah right no answers were added to that question which made it invalid

c_schmitz

c_schmitz

2010-09-08 17:27

administrator   ~12788

Fix was released in 1.90+ version.

Issue History

Date Modified Username Field Change
2010-08-21 22:15 user9405 New Issue
2010-08-21 22:15 user9405 Status new => assigned
2010-08-21 22:15 user9405 Assigned To => lemeur
2010-08-22 07:54 user9405 Issue Monitored: user9405
2010-08-22 07:54 user9405 Issue End Monitor: user9405
2010-08-22 10:47 c_schmitz Note Added: 12677
2010-08-22 10:47 c_schmitz Status assigned => feedback
2010-08-25 09:22 mdekker Note Added: 12707
2010-08-25 15:08 user9405 Note Added: 12710
2010-08-25 15:08 user9405 Status feedback => assigned
2010-09-04 11:16 lemeur Status assigned => resolved
2010-09-04 11:16 lemeur Resolution open => no change required
2010-09-08 17:27 c_schmitz Note Added: 12788
2010-09-08 17:27 c_schmitz Status resolved => closed