Welcome, Guest
Username: Password: Remember me

TOPIC: Copy survey results in blank page

Copy survey results in blank page 3 months 6 hours 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 months 4 weeks ago #110161

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4191
  • Thank you received: 787
  • Karma: 359
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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Copy survey results in blank page 2 months 4 weeks 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.150 seconds
Donation Image