View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
07220Bug reportsImport/Exportpublic2013-01-29 12:44
Reporterntwrk80 Assigned ToDenisChenu  
PrioritynormalSeverityblock 
Status closedResolutionfixed 
Product Version2.00+ 
Fixed in Version2.00+ 
Summary07220: PDF Export of Results in Fatal PHP Error
Description

The page will report Fatal error: Call to undefined function getLanguageRTL() in /var/www/limesurvey/application/helpers/admin/exportresults_helper.php on line 1678 when trying to export a PDF of results.

Steps To Reproduce

Export results and choose PDF.

Additional Information

If the following code is commented out, the PDF export works.

//Set some pdf metadata
1676 $lg=array();
1677 $lg['a_meta_charset'] = 'UTF-8';
1678 if (getLanguageRTL($sLanguageCode))
1679 {
1680 $lg['a_meta_dir'] = 'rtl';
1681 }
1682 else
1683 {
1684 $lg['a_meta_dir'] = 'ltr';
1685 }
1686 $lg['a_meta_language'] = $statlangcode;
1687 $lg['w_page']=$statlang->gT("page");
1688 $this->pdf->setLanguageArray($lg);

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)130122
I will donate to the project if issue is resolvedYes
BrowserChrome, IE and Firefox
Database type & versionMySQL 5.5.29
Server OS (if known)Ubuntu 12.04 LTS
Webserver software & version (if known)Apache 2.2.22
PHP Version5.3.10

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2013-01-24 19:59

developer   ~23796

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=11381

DenisChenu

DenisChenu

2013-01-26 16:45

developer   ~23829

https://github.com/LimeSurvey/LimeSurvey/commit/b419df6e7ea28574e21f126b63581e042f97816e

c_schmitz

c_schmitz

2013-01-29 12:44

administrator   ~23883

New version 2.00+ Build 120129 released

Related Changesets

LimeSurvey: master 462ab672

2013-01-24 18:56:57

DenisChenu

Details Diff
Fixed issue 07220: PDF Export of Results in Fatal PHP Error Affected Issues
07220
mod - application/helpers/admin/exportresults_helper.php Diff File

Issue History

Date Modified Username Field Change
2013-01-22 20:30 ntwrk80 New Issue
2013-01-22 21:07 c_schmitz Assigned To => DenisChenu
2013-01-22 21:07 c_schmitz Status new => assigned
2013-01-24 19:59 DenisChenu Changeset attached => LimeSurvey master 462ab672
2013-01-24 19:59 DenisChenu Note Added: 23796
2013-01-24 19:59 DenisChenu Resolution open => fixed
2013-01-26 15:59 DenisChenu Status assigned => resolved
2013-01-26 15:59 DenisChenu Fixed in Version => 2.00+
2013-01-26 16:45 DenisChenu Note Added: 23829
2013-01-29 12:44 c_schmitz Note Added: 23883
2013-01-29 12:44 c_schmitz Status resolved => closed