Copy survey results in blank page

More
3 years 5 months ago #110156 by stevelegare
stevelegare created the topic: Copy survey results in blank page
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?
Attachments:

Please Log in to join the conversation.

More
3 years 5 months ago #110161 by tpartner
tpartner replied the 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.

Please Log in to join the conversation.

More
3 years 5 months ago #110182 by stevelegare
stevelegare replied the topic: Copy survey results in blank page
This is the result :
Undefined variable: aData
application\controllers\admin\surveyadmin.php(964)
}
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?

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!