Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Copy survey results in blank page

Copy survey results in blank page 2 years 1 month ago #110156

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:
The administrator has disabled public write access.

Copy survey results in blank page 2 years 1 month ago #110161

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6111
  • Thank you received: 1356
  • Karma: 532
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 administrator has disabled public write access.

Copy survey results in blank page 2 years 1 month ago #110182

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?
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.489 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form