View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 04556 | Bug reports | Conditions | public | 2010-08-21 22:15 | 2010-09-08 17:27 |
| Reporter | Assigned To | lemeur | |||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | no change required | ||
| Product Version | 1.90+ | ||||
| Summary | 04556: 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. | ||||
| Tags | No tags attached. | ||||
| Bug heat | 6 | ||||
| Complete LimeSurvey version number (& build) | 1.94 | ||||
| I will donate to the project if issue is resolved | |||||
| Browser | firefox | ||||
| Database type & version | mysql | ||||
| Server OS (if known) | linux ubuntu | ||||
| Webserver software & version (if known) | apache | ||||
| PHP Version | 5.1 | ||||
|
Please attach a tiny sample survey to reproduce the problem |
|
|
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 :) |
|
|
oops ,yeah right no answers were added to that question which made it invalid |
|
|
Fix was released in 1.90+ version. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2010-08-21 22:15 |
|
New Issue | |
| 2010-08-21 22:15 |
|
Status | new => assigned |
| 2010-08-21 22:15 |
|
Assigned To | => lemeur |
| 2010-08-22 07:54 |
|
Issue Monitored: user9405 | |
| 2010-08-22 07:54 |
|
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 |
|
Note Added: 12710 | |
| 2010-08-25 15:08 |
|
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 |