What is this error? Help please. I cant activate my survey.
Code:
PHP warning
implode(): Invalid arguments passed
/srv/www/htdocs/limesurvey/application/controllers/admin/surveyadmin.php(482)
470 $aViewUrls['output']= "<br />\n<div class='messagebox ui-corner-all'>\n" .
471 "<div class='header ui-widget-header'>".$clang->gT("Activate Survey")." ($iSurveyID)</div>\n";
472 if ($aResult['error']=='surveytablecreation')
473 {
474 $aViewUrls['output'].="<div class='warningheader'>".$clang->gT("Survey table could not be created.")."</div>\n";
475 }
476 else
477 {
478 $aViewUrls['output'].="<div class='warningheader'>".$clang->gT("Timings table could not be created.")."</div>\n";
479 }
480 $aViewUrls['output'].="<p>" .
481 $clang->gT("Database error!!")."\n <font color='red'>" ."</font>\n" .
482 "<pre>".implode(' ', $aResult['error'])."</pre>\n
483 <a href='".Yii::app()->getController()->createUrl("admin/survey/sa/view/surveyid/".$iSurveyID)."'>".$clang->gT("Main Admin Screen")."</a>\n</div>" ;
484 }
485 else
486 {
487 $aViewUrls['output']= "<br />\n<div class='messagebox ui-corner-all'>\n"
488 ."<div class='header ui-widget-header'>".$clang->gT("Activate Survey")." ({$iSurveyID})</div>\n"
489 ."<div class='successheader'>".$clang->gT("Survey has been activated. Results table has been successfully created.")."</div><br /><br />\n";
490
491 if (isset($aResult['warning']))
492 {
493 $aViewUrls['output'] .= "<div class='warningheader'>"
494 .$clang->gT("The required directory for saving the uploaded files couldn't be created. Please check file premissions on the /upload/surveys directory.")
Stack Trace
#0
–
/srv/www/htdocs/limesurvey/application/controllers/admin/surveyadmin.php(482): implode(" ", "surveytablecreation")
477 {
478 $aViewUrls['output'].="<div class='warningheader'>".$clang->gT("Timings table could not be created.")."</div>\n";
479 }
480 $aViewUrls['output'].="<p>" .
481 $clang->gT("Database error!!")."\n <font color='red'>" ."</font>\n" .
482 "<pre>".implode(' ', $aResult['error'])."</pre>\n
483 <a href='".Yii::app()->getController()->createUrl("admin/survey/sa/view/surveyid/".$iSurveyID)."'>".$clang->gT("Main Admin Screen")."</a>\n</div>" ;
484 }
485 else
486 {
487 $aViewUrls['output']= "<br />\n<div class='messagebox ui-corner-all'>\n"
#1
unknown(0): SurveyAdmin->activate("755457")
#2
+
/srv/www/htdocs/limesurvey/framework/web/actions/CAction.php(107): ReflectionMethod->invokeArgs(SurveyAdmin, array("755457"))
#3
–
/srv/www/htdocs/limesurvey/application/core/Survey_Common_Action.php(100): CAction->runWithParamsInternal(SurveyAdmin, ReflectionMethod, array("surveyid" => "755457", "sa" => "activate", "iSurveyId" => "755457", "iSurveyID" => "755457"))
095 $oMethod = new ReflectionMethod($this, $sDefault);
096 }
097
098 // We're all good to go, let's execute it
099 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params
100 return parent::runWithParamsInternal($this, $oMethod, $params);
101 }
102
103 /**
104 * Some functions have different parameters, which are just an alias of the
105 * usual parameters we're getting in the url. This function just populates
#4
+
/srv/www/htdocs/limesurvey/framework/web/CController.php(309): Survey_Common_Action->runWithParams(array("surveyid" => "755457", "sa" => "activate"))
#5
+
/srv/www/htdocs/limesurvey/framework/web/CController.php(287): CController->runAction(SurveyAdmin)
#6
+
/srv/www/htdocs/limesurvey/framework/web/CController.php(266): CController->runActionWithFilters(SurveyAdmin, array())
#7
–
/srv/www/htdocs/limesurvey/application/controllers/AdminController.php(169): CController->run("survey")
164 $this->redirect($this->createUrl('/admin/authentication/sa/login'));
165 }
166
167 }
168
169 return parent::run($action);
170 }
171
172 /**
173 * Routes all the actions to their respective places
174 *
#8
+
/srv/www/htdocs/limesurvey/framework/web/CWebApplication.php(276): AdminController->run("survey")
#9
+
/srv/www/htdocs/limesurvey/framework/web/CWebApplication.php(135): CWebApplication->runController("admin/survey/sa/activate")
#10
+
/srv/www/htdocs/limesurvey/framework/base/CApplication.php(162): CWebApplication->processRequest()
#11
+
/srv/www/htdocs/limesurvey/index.php(178): CApplication->run()