- Posts: 103
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
What is this error? Help please.
- Serafim
- Topic Author
- Offline
- Premium Member
Less
More
9 years 7 months ago - 9 years 7 months ago #111162
by Serafim
implode(): Invalid arguments passed
What is this error? Help please. I cant activate my survey.
Thanks
This is the error:
What is this error? Help please. was created by Serafim
implode(): Invalid arguments passed
What is this error? Help please. I cant activate my survey.
Thanks
This is the error:
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()
Attachments:
Last edit: 9 years 7 months ago by DenisChenu.
The topic has been locked.
- Serafim
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 103
- Thank you received: 1
9 years 7 months ago #111192
by Serafim
Replied by Serafim on topic What is this error? Help please.
Can someone help?
I ve tested the survey and it worked fine, but when i try to activate i have this error.
I ve tested the survey and it worked fine, but when i try to activate i have this error.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13907
- Thank you received: 2546
9 years 7 months ago #111210
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic What is this error? Help please.
Hi,
What is Your LS version ?
Because you have a lot of question code with accent.
Maybe fixing this can be a great solution.
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.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: Serafim
The topic has been locked.
- Serafim
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 103
- Thank you received: 1
9 years 7 months ago - 9 years 7 months ago #111217
by Serafim
Replied by Serafim on topic What is this error? Help please.
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.
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: 9 years 7 months ago by Serafim.
The topic has been locked.
- delarammahdaviii
- Offline
- Senior Member
Less
More
- Posts: 57
- Thank you received: 3
7 years 10 months ago - 7 years 10 months ago #136039
by delarammahdaviii
big survey , a lot of attributes , a lot of sub question's relevance , very big array numbers
a lot of question have logic connection
What shall I do now?
Replied by delarammahdaviii on topic What is this error? Help please.
exactly that's my problemSerafim wrote: 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.
big survey , a lot of attributes , a lot of sub question's relevance , very big array numbers
a lot of question have logic connection
What shall I do now?
Last edit: 7 years 10 months ago by delarammahdaviii.
The topic has been locked.
- Ben_V
- Offline
- Platinum Member
Less
More
- Posts: 1223
- Thank you received: 351
7 years 10 months ago #136045
by Ben_V
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
Replied by Ben_V on topic What is this error? Help please.
You may read this other
post about survey size
, number of columns etc. A provided solution is to split big survey in several smallest surveys (sharing some key ID)
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The topic has been locked.