CException

L'alias « bootstrap.widgets.TbHtml5Editor » est invalide. Vérifiez qu'il pointe vers un fichier PHP existant.

/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/framework/YiiBase.php(323)

311         if($isClass && (class_exists($className,false) || interface_exists($className,false)))
312             return self::$_imports[$alias]=$className;
313 
314         if(($path=self::getPathOfAlias($alias))!==false)
315         {
316             if($isClass)
317             {
318                 if($forceInclude)
319                 {
320                     if(is_file($path.'.php'))
321                         require($path.'.php');
322                     else
323                         throw new CException(Yii::t('yii','Alias "{alias}" is invalid. Make sure it points to an existing PHP file and the file is readable.',array('{alias}'=>$alias)));
324                     self::$_imports[$alias]=$className;
325                 }
326                 else
327                     self::$classMap[$className]=$path.'.php';
328                 return $className;
329             }
330             else  // a directory
331             {
332                 if(self::$_includePaths===null)
333                 {
334                     self::$_includePaths=array_unique(explode(PATH_SEPARATOR,get_include_path()));
335                     if(($pos=array_search('.',self::$_includePaths,true))!==false)

Stack Trace

#3
+
 /home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/extensions/SettingsWidget/SettingsWidget.php(356): CBaseController->widget("bootstrap.widgets.TbHtml5Editor", array("name" => "html", "value" => "Some html with <b>bold</b> or <i>italic</i> text.", "width" => "100%", "editorOptions" => array("html" => true)), true)
351             $this->widget('bootstrap.widgets.TbHtml5Editor', array(
352                 'name' => $name,
353                 'value' => $value,
354                 'width' => '100%',
355                 'editorOptions' =>  $editorOptions,
356             ), true)
357         );
358     }
359 
360     public function renderInfo($name, array $metaData, $form = null)
361     {
#4
+
 /home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/extensions/SettingsWidget/SettingsWidget.php(173): SettingsWidget->renderHtml("html", array("class" => array(), "htmlOptions" => array(), "type" => "html", "labelOptions" => array("class" => "default control-label col-sm-5"), ...), null)
168         // The labels
169         $content  = $this->renderLabel($name, $metaData);
170         // The control
171         $content .= CHtml::openTag('div',$metaData['controlOptions']);
172         // The input
173         $content .= $this->$function($name, $metaData, $form);
174         // The help
175         $content .= $this->renderHelp($name, $metaData);
176         $content .= CHtml::closeTag('div');
177 
178         $result=CHtml::tag($wrapper,array('class'=>"setting control-group setting-{$metaData['type']}", 'data-name' => $name),$content);
#5
+
 /home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/extensions/SettingsWidget/SettingsWidget.php(195): SettingsWidget->renderSetting("html", array("type" => "html", "label" => "A html setting", "help" => "Some help for HTML5 editor, accept &lt;b&gt; &lt;i&gt; but not &...", "default" => "Some html with <b>bold</b> or <i>italic</i> text.", ...), null, false, ...)
190     protected function renderSettings()
191     {
192         echo CHtml::openTag('ul',array('class'=>"settings-list"));
193         foreach($this->settings as $name => $metaData)
194         {
195             $this->renderSetting($name, $metaData, null, false, 'li');
196         }
197         echo CHtml::closeTag('ul');
198     }
199 
200     public function run() {
2016-02-02 18:52:56 Apache/2.2.22 (Debian) Yii Framework/1.1.16