En activant le mode debug, j'ai l'erreur qui s'affiche immédiatement dans limesurvey, pas besoin d'aller dans le questionnaire :
Code:
[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", ...))