View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
05058Bug reportsImport/Exportpublic2011-04-11 11:30
Reportermedicnick Assigned Toc_schmitz  
PriorityhighSeveritypartial_block 
Status closedResolutionfixed 
Product Version1.91RC5 
Fixed in Version1.91RC6 
Summary05058: Question export error
Description

Using latest SVN build.

Three questions were exported. When importing to a new group this error was returned:
Warning: simplexml_load_file() [function.simplexml-load-file]: file:///e%3A/web/priorihealt/htdocs/limesurvey/tmp/townlimesurvey_question_179.lsq:2: parser error : Extra content at the end of the document in E:\web\priorihealt\htdocs\limesurvey\admin\importquestion.php on line 709

Warning: simplexml_load_file() [function.simplexml-load-file]: <b>Warning</b>: Missing argument 3 for bHasSurveyPermission(), called in E:\web in E:\web{PATH}\limesurvey\admin\importquestion.php on line 709

Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in E:\web{PATH}\limesurvey\admin\importquestion.php on line 709

Notice: Trying to get property of non-object in E:\web{PATH}\limesurvey\admin\importquestion.php on line 710
This is not a valid LimeSurvey question structure XML file.

Each question was found to contain this message above the <document>:
<br />
<b>Warning</b>: Missing argument 3 for bHasSurveyPermission(), called in E:\web{PATH}\limesurvey\admin\html.php on line 1722 and defined in <b>E:\web{PATH}\limesurvey\admin\admin_functions.php</b> on line <b>71</b><br />
<br />
<b>Notice</b>: Undefined variable: sCRUD in <b>E:\web{PATH}\limesurvey\admin\admin_functions.php</b> on line <b>74</b><br />

Additional Information

Line 1722 is [if($export4lsrc === true && bHasSurveyPermission($surveyid,'export'))]. So this appears to be a survey permissions test that failed, although I am SuperAdmin. I have submitted another report that I am unable to access the Survey Permissions page. Is this related?

Line 71 is [function bHasSurveyPermission($iSID, $sPermission, $sCRUD, $iUID=null)].

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)9908
I will donate to the project if issue is resolvedNo
BrowserIE9 and Chrome
Database type & versionMSSQL 2008R2
Server OS (if known)Win
Webserver software & version (if known)IIS7
PHP Version5.2.5

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2011-04-11 11:30

administrator   ~14757

1.91RC6 released.

Issue History

Date Modified Username Field Change
2011-03-26 08:21 medicnick New Issue
2011-03-26 11:56 c_schmitz Assigned To => c_schmitz
2011-03-26 11:56 c_schmitz Status new => assigned
2011-03-29 17:49 c_schmitz Status assigned => resolved
2011-03-29 17:49 c_schmitz Fixed in Version => 1.91RC6
2011-03-29 17:49 c_schmitz Resolution open => fixed
2011-04-11 11:30 c_schmitz Note Added: 14757
2011-04-11 11:30 c_schmitz Status resolved => closed