Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Copy survey results in blank page

  • stevelegare
  • stevelegare's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
9 years 8 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?
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 8 months ago #110161 by tpartner
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
  • stevelegare's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
9 years 8 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)
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.

Lime-years ahead

Online-surveys for every purse and purpose