- Posts: 17
- Thank you received: 1
Ask the community, share ideas, and connect with other LimeSurvey users!
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
[b]Notice[/b]: Undefined offset: 0 in [b]/opt/applis/limesurvey/limesurvey6.15.22/vendor/yiisoft/yii/framework/web/CUrlManager.php[/b] on line [b]668[/b] [b]Warning[/b]: Cannot modify header information - headers already sent by (output started at /opt/applis/limesurvey/limesurvey6.15.22/vendor/yiisoft/yii/framework/web/CUrlManager.php:668) in [b]/opt/applis/limesurvey/limesurvey6.15.22/vendor/yiisoft/yii/framework/base/CErrorHandler.php[/b] on line [b]293[/b]PHP noticeUndefined offset: 0/opt/applis/limesurvey/limesurvey6.15.22/vendor/yiisoft/yii/framework/web/CUrlManager.php(668)656 */ 657 public function __construct($route,$pattern) 658 { 659 if(is_array($route)) 660 { 661 foreach(array('urlSuffix', 'caseSensitive', 'defaultParams', 'matchValue', 'verb', 'parsingOnly') as $name) 662 { 663 if(isset($route[$name])) 664 $this->$name=$route[$name]; 665 } 666 if(isset($route['pattern'])) 667 $pattern=$route['pattern']; 668 $route=$route[0]; 669 } 670 $this->route=trim($route,'/'); 671 672 $tr2['/']=$tr['/']='\\/'; 673 674 if(strpos($route,'<')!==false && preg_match_all('/<;(\w+)>/',$route,$matches2)) 675 { 676 foreach($matches2[1] as $name) 677 $this->references[$name]="<$name>"; 678 } 679 680 $this->hasHostInfo=!strncasecmp($pattern,'http://',7) || !strncasecmp($pattern,'https://',8); Stack Trace#0+ /opt/applis/limesurvey/limesurvey6.15.22/vendor/yiisoft/yii/framework/web/CUrlManager.php(270): [b]CUrlRule[/b]->[b]__construct[/b](array("<_sid:\d+>/lang-<_lang:\w+[-\w]+>/tk-<_token:\w+>/*" => "survey/index/sid/<_sid>/lang/<_lang>/token/<_token>", "<_sid:\d+>/lang-<_lang:\w+[-\w]+>/*" => "survey/index/sid/<_sid>/lang/<_lang>", "<_sid:\d+>/tk-<_token:\w+>/*" => "survey/index/sid/<_sid>/token/<_token>", "<_sid:\d+>/*" => "survey/index/sid/<_sid>", ...), "rules") #1+ /opt/applis/limesurvey/limesurvey6.15.22/vendor/yiisoft/yii/framework/web/CUrlManager.php(226): [b]CUrlManager[/b]->[b]createUrlRule[/b](array("<_sid:\d+>/lang-<_lang:\w+[-\w]+>/tk-<_token:\w+>/*" => "survey/index/sid/<_sid>/lang/<_lang>/token/<_token>", "<_sid:\d+>/lang-<_lang:\w+[-\w]+>/*" => "survey/index/sid/<_sid>/lang/<_lang>", "<_sid:\d+>/tk-<_token:\w+>/*" => "survey/index/sid/<_sid>/token/<_token>", "<_sid:\d+>/*" => "survey/index/sid/<_sid>", ...), "rules") #2+ /opt/applis/limesurvey/limesurvey6.15.22/vendor/yiisoft/yii/framework/web/CUrlManager.php(206): [b]CUrlManager[/b]->[b]processRules[/b]() #3+ /opt/applis/limesurvey/limesurvey6.15.22/vendor/yiisoft/yii/framework/base/CModule.php(394): [b]CUrlManager[/b]->[b]init[/b]() #4+ /opt/applis/limesurvey/limesurvey6.15.22/vendor/yiisoft/yii/framework/base/CApplication.php(531): [b]CModule[/b]->[b]getComponent[/b]("urlManager") #5– /opt/applis/limesurvey/limesurvey6.15.22/application/core/LSHttpRequest.php(157): [b]CApplication[/b]->[b]getUrlManager[/b]()152 // Dont run this code in console 153 if (php_sapi_name() == 'cli') { 154 return; 155 } 156 157 $route = Yii::app()->getUrlManager()->parseUrl($this); 158 159 if ($this->enableCsrfValidation) { 160 $validationRoutes = $this->noCsrfValidationRoutes; 161 $validationParams = $this->noCsrfValidationParams; 162 // $validationRoutes = 'plugins/direct/plugin/AuthSAML/function/acs'; #6+ /opt/applis/limesurvey/limesurvey6.15.22/vendor/yiisoft/yii/framework/web/CHttpRequest.php(119): [b]LSHttpRequest[/b]->[b]normalizeRequest[/b]() #7+ /opt/applis/limesurvey/limesurvey6.15.22/vendor/yiisoft/yii/framework/base/CModule.php(394): [b]CHttpRequest[/b]->[b]init[/b]() #8+ /opt/applis/limesurvey/limesurvey6.15.22/vendor/yiisoft/yii/framework/base/CApplication.php(522): [b]CModule[/b]->[b]getComponent[/b]("request") #9+ /opt/applis/limesurvey/limesurvey6.15.22/vendor/yiisoft/yii/framework/web/CWebApplication.php(545): [b]CApplication[/b]->[b]getRequest[/b]() #10– /opt/applis/limesurvey/limesurvey6.15.22/application/core/LSYii_Application.php(121): [b]CWebApplication[/b]->[b]init[/b]()116 } 117 118 /* @inheritdoc */ 119 public function init() 120 { 121 parent::init(); 122 $this->initLanguage(); 123 // These take care of dynamically creating a class for each token / response table. 124 Yii::import('application.helpers.ClassFactory'); 125 ClassFactory::registerClass('Token_', 'Token'); 126 ClassFactory::registerClass('Response_', 'Response'); #11+ /opt/applis/limesurvey/limesurvey6.15.22/vendor/yiisoft/yii/framework/base/CApplication.php(170): [b]LSYii_Application[/b]->[b]init[/b]() #12– /opt/applis/limesurvey/limesurvey6.15.22/application/core/LSYii_Application.php(98): [b]CApplication[/b]->[b]__construct[/b](array("name" => "LimeSurvey", "localeClass" => "LSYii_Locale", "defaultController" => "surveys", "modules" => array("HelloWorld" => array("class" => "modules.root.HelloWorld.HelloWorldModule")), ...))093 if (array_key_exists('use_custom_twig_extensions', $baseConfig) && $baseConfig ['use_custom_twig_extensions']) { 094 $aApplicationConfig = $this->getTwigCustomExtensionsConfig($baseConfig['usertwigextensionrootdir'], $aApplicationConfig); 095 } 096 097 /* Construct CWebApplication */ 098 parent::__construct($aApplicationConfig); 099 100 /* Because we have app now : we have to call again the config (usage of Yii::app() for publicurl) */ 101 $this->setConfigs(); 102 /* Since session can be set by DB : need to be set again … */ 103 $this->setSessionByDB($aApplicationConfig); #13+ /opt/applis/limesurvey/limesurvey6.15.22/vendor/yiisoft/yii/framework/YiiBase.php(132): [b]LSYii_Application[/b]->[b]__construct[/b](array("basePath" => "/opt/applis/limesurvey/limesurvey6.15.22/application", "name" => "LimeSurvey", "localeClass" => "LSYii_Locale", "defaultController" => "surveys", ...)) #14+ /opt/applis/limesurvey/limesurvey6.15.22/index.php(161): [b]YiiBase[/b]::[b]createApplication[/b]("LSYii_Application", array("basePath" => "/opt/applis/limesurvey/limesurvey6.15.22/application", "name" => "LimeSurvey", "localeClass" => "LSYii_Locale", "defaultController" => "surveys", ...))
Please Log in to join the conversation.
Please Log in to join the conversation.
return array( 'components' => array( 'db' => array( ), 'session' => array ( 'sessionName'=>'LS-une-string', // Uncomment the following lines if you need table-based sessions. // Note: Table-based sessions are currently not supported on MSSQL server. // 'class' => 'application.core.web.DbHttpSession', // 'connectionID' => 'db', // 'sessionTableName' => '{{sessions}}', ), 'urlManager' => array( 'urlFormat' => 'path', 'rules' => array( // You can add your own rules her // e 'rules' => require('routes.php') ), 'showScriptName' => true, ), ), // For security issue : it's better to set runtimePath out of web access // Directory must be readable and writable by the webuser // 'runtimePath'=>'/var/limesurvey/runtime/' // Use the following config variable to set modified optional settings copied from config-defaults.php 'config'=>array( // debug: Set this to 1 if you are looking for errors. If you still get no errors after enabling this // then please check your error-logs - either in your hosting provider admin panel or in some /logs directory // on your webspace. // LimeSurvey developers: Set this to 2 to additionally display STRICT PHP error messages and get full access to standard templates 'debug'=>2, 'debugsql'=>0, // Set this to 1 to enanble sql logging, only active when debug = 2 // Update default LimeSurvey config here // #db auth_webserver : true 'auth_webserver' => true, 'siteadminemail' => 'mon_mail@mail.fr', 'siteadminbounce' => 'mon_mail@mail.fr', 'siteadminname' => 'administrateur', 'emailmethod' => 'smtp', 'emailsmtphost' => 'smtp-out.monsite.fr', 'maxLoginAttempt' => '100', 'usercontrolSameGroupPolicy' => false, ) );
Please Log in to join the conversation.
'siteadminemail' => 'mon_mail@mail.fr', 'siteadminbounce' => 'mon_mail@mail.fr', 'siteadminname' => 'administrateur', 'emailmethod' => 'smtp', 'emailsmtphost' => 'smtp-out.monsite.fr',
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.

Please Log in to join the conversation.
Please Log in to join the conversation.
wget -P /opt/src/ https://download.limesurvey.org/latest-master/limesurvey6.15.23+251110.zip
2025/11/17 13:31:25 [error] [exception.Error] Error: Call to undefined method stdClass::save() in /opt/applis/limesurvey/limesurvey6.15.22/application/helpers/SurveyRuntimeHelper.php:1191 Stack trace: #0 /opt/applis/limesurvey/limesurvey6.15.22/application/helpers/SurveyRuntimeHelper.php(218): SurveyRuntimeHelper->saveAllIfNeeded() #1 /opt/applis/limesurvey/limesurvey6.15.22/application/controllers/survey/SurveyIndex.php(668): SurveyRuntimeHelper->run() #2 /opt/applis/limesurvey/limesurvey6.15.22/application/controllers/survey/SurveyIndex.php(22): SurveyIndex->action() #3 /opt/applis/limesurvey/limesurvey6.15.22/vendor/yiisoft/yii/framework/web/actions/CAction.php(76): SurveyIndex->run() #4 /opt/applis/limesurvey/limesurvey6.15.22/vendor/yiisoft/yii/framework/web/CController.php(308): CAction->runWithParams() #5 /opt/applis/limesurvey/limesurvey6.15.22/vendor/yiisoft/yii/framework/web/CController.php(286): CController->runAction() #6 /opt/applis/limesurvey/limesurvey6.15.22/vendor/yiisoft/yii/framework/web/CController.php(265): CController->runActionWithFilters() #7 /opt/applis/limesurvey/limesurvey6.15.22/vendor/yiisoft/yii/framework/web/CWebApplication.php(282): CController->run() #8 /opt/applis/limesurvey/limesurvey6.15.22/vendor/yiisoft/yii/framework/web/CWebApplication.php(141): CWebApplication->runController() #9 /opt/applis/limesurvey/limesurvey6.15.22/vendor/yiisoft/yii/framework/base/CApplication.php(185): CWebApplication->processRequest() #10 /opt/applis/limesurvey/limesurvey6.15.22/index.php(161): CApplication->run() #11 {main} REQUEST_URI=/index.php/812484
Please Log in to join the conversation.