View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
04960 | Bug reports | Print View | public | 2011-02-17 12:08 | 2011-02-17 18:25 |
Reporter | maurice | Assigned To | c_schmitz | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 1.90+ | ||||
Fixed in Version | 1.91RC4 | ||||
Summary | 04960: Problem printing a survey from the admin console. | ||||
Description | Hi. I have a problem printing a survey from the admin console. Version 1.90 (Build 9642). I get the following error message. Fatal error: Call to undefined function sprint() in /home/mauricem/public_html/surveys/admin/printablesurvey.php on line 629 Looked at the file and it appears that there are two instances of sprint() [no 'f'] in the same IF/ ELSEIF block. Am I right to assume these should be sprintf() and not sprint()? | ||||
Steps To Reproduce | Select a survey and then click on the "Printable version of survey" icon. | ||||
Additional Information | Great tool, thanks you. I will be donating when I've earned my next pay cheque! | ||||
Tags | No tags attached. | ||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 9642 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Firefox 3.6.13 | ||||
Database type & version | MySQL 5.1.52 | ||||
Server OS (if known) | Linux CentOS | ||||
Webserver software & version (if known) | Apache 2.2.17 | ||||
PHP Version | 5.2.4 | ||||
I modified the /public_html/surveys/admin/printablesurvey.php file by replacing the sprint() instances with sprintf() (x2) and tried again and it cleared the bug. Don't have an editor with line numbers but if the first sprint() was on line 629 the second was on 636. :-) |
|
1.91RC4 released |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2011-02-17 12:08 | maurice | New Issue | |
2011-02-17 12:20 | maurice | Note Added: 14207 | |
2011-02-17 17:24 | c_schmitz | Assigned To | => c_schmitz |
2011-02-17 17:24 | c_schmitz | Status | new => assigned |
2011-02-17 18:25 | c_schmitz | Status | assigned => resolved |
2011-02-17 18:25 | c_schmitz | Fixed in Version | => 1.91RC4 |
2011-02-17 18:25 | c_schmitz | Resolution | open => fixed |
2011-02-17 18:25 | c_schmitz | Note Added: 14212 | |
2011-02-17 18:25 | c_schmitz | Status | resolved => closed |