Welcome, Guest
Username: Password: Remember me

TOPIC: What is this error? Help please.

What is this error? Help please. 3 months 6 days ago #111162

  • Serafim
  • Serafim's Avatar
  • OFFLINE
  • Expert Lime
  • Posts: 114
  • Thank you received: 2
  • Karma: 2

File Attachment:

File Name: limesurvey_survey_755457.lss
File Size: 363 KB

implode(): Invalid arguments passed

What is this error? Help please. I cant activate my survey.

Thanks

This is the error:
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()
Last Edit: 3 months 3 days ago by DenisChenu.
The administrator has disabled public write access.

What is this error? Help please. 3 months 4 days ago #111192

  • Serafim
  • Serafim's Avatar
  • OFFLINE
  • Expert Lime
  • Posts: 114
  • Thank you received: 2
  • Karma: 2
Can someone help?

I ve tested the survey and it worked fine, but when i try to activate i have this error.
The administrator has disabled public write access.

What is this error? Help please. 3 months 3 days ago #111210

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6472
  • Thank you received: 855
  • Karma: 254
Hi,

What is Your LS version ?

Because you have a lot of question code with accent.
Attention: Several question codes were updated. Please check these carefully as the update may not be perfect with customized expressions.

Maybe fixing this can be a great solution.
The administrator has disabled public write access.
The following user(s) said Thank You: Serafim

What is this error? Help please. 3 months 3 days ago #111217

  • Serafim
  • Serafim's Avatar
  • OFFLINE
  • Expert Lime
  • Posts: 114
  • Thank you received: 2
  • Karma: 2
My LS is Version 2.00+ Build 130116

But I found the problem, but I don´t think it as a solution.

I have a lot of attributes, and the results table just gets too big, my questions are not much, but they are matrix with numbers from 0 to 10. I tried to remove a few options from one of the questions and it worked.

Or I find a solution or I have to review some of the questions.
Last Edit: 3 months 3 days ago by Serafim.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.182 seconds
Donation Image