- Posts: 112
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Copy survey results in blank page
- stevelegare
- Topic Author
- Offline
- Premium Member
Less
More
9 years 10 months ago #110156
by stevelegare
Copy survey results in blank page was created by stevelegare
Hi,
A user wants to add a new survey with the "Copy" function.
The result is a blank page.
I look at the new survey and everything is there except the items for comboboxes and radio buttons.
It seems that the permissions are the problem because with superadmin access the copy is fine.
Do you have a clue?
A user wants to add a new survey with the "Copy" function.
The result is a blank page.
I look at the new survey and everything is there except the items for comboboxes and radio buttons.
It seems that the permissions are the problem because with superadmin access the copy is fine.
Do you have a clue?
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10103
- Thank you received: 3591
9 years 10 months ago #110161
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Copy survey results in blank page
In /application/config/config.php, set "config" to 1 and check for errors.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- stevelegare
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 112
- Thank you received: 0
9 years 10 months ago #110182
by stevelegare
Replied by stevelegare on topic Copy survey results in blank page
This is the result :
Undefined variable: aData
application\controllers\admin\surveyadmin.php(964)
Do you have an idea?
Undefined variable: aData
application\controllers\admin\surveyadmin.php(964)
Code:
} 953 954 // if (isset($aImportResults['error']) && $aImportResults['error']) safeDie($aImportResults['error']); 955 956 if (!$aData['bFailed']) 957 { 958 $aData['action'] = $action; 959 $aData['sLink'] = $this->getController()->createUrl('admin/survey/sa/view/surveyid/' . $aImportResults['newsid']); 960 $aData['aImportResults'] = $aImportResults; 961 } 962 } 963 964 $this->_renderWrappedTemplate('survey', 'importSurvey_view', $aData); 965 } 966 967 /** 968 * questiongroup::organize() 969 * Load ordering of question group screen. 970 * @return 971 */ 972 public function organize($iSurveyID) 973 { 974 $iSurveyID = (int)$iSurveyID; 975 976 if (!empty($_POST['orgdata']) && Permission::model()->hasSurveyPermission($iSurveyID, 'surveycontent', 'update'))
Do you have an idea?
The topic has been locked.