View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
04960Bug reportsPrint Viewpublic2011-02-17 18:25
Reportermaurice Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.90+ 
Fixed in Version1.91RC4 
Summary04960: 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!

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)9642
I will donate to the project if issue is resolvedNo
BrowserFirefox 3.6.13
Database type & versionMySQL 5.1.52
Server OS (if known)Linux CentOS
Webserver software & version (if known)Apache 2.2.17
PHP Version5.2.4

Users monitoring this issue

There are no users monitoring this issue.

Activities

maurice

maurice

2011-02-17 12:20

reporter   ~14207

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.

:-)

c_schmitz

c_schmitz

2011-02-17 18:25

administrator   ~14212

1.91RC4 released

Issue History

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