SmartyException

Invalid compiled template for '/home/alcodefi/www/protected/modules/website/widgets/views/header.tpl'

/home/alcodefi/www/protected/vendor/Smarty/sysplugins/smarty_internal_templatebase.php(176)

164                             $code = file_get_contents($_template->compiled->filepath);
165                             eval("?>" . $code);
166                             unset($code);
167                             $_template->compiled->isCompiled = true;
168                         }
169                         $_template->compiled->loaded = true;
170                     } else {
171                         $_template->decodeProperties($_template->compiled->_properties, false);
172                     }
173                     try {
174                         ob_start();
175                         if (empty($_template->properties['unifunc']) || !is_callable($_template->properties['unifunc'])) {
176                             throw new SmartyException("Invalid compiled template for '{$_template->template_resource}'");
177                         }
178                         array_unshift($_template->_capture_stack,array());
179                         //
180                         // render compiled template
181                         //
182                         $_template->properties['unifunc']($_template);
183                         // any unclosed {capture} tags ?
184                         if (isset($_template->_capture_stack[0][0])) {
185                             $_template->capture_error();
186                         }
187                         array_shift($_template->_capture_stack);
188                     } catch (Exception $e) {

Stack Trace

#0
+
 /home/alcodefi/www/protected/vendor/Smarty/sysplugins/smarty_internal_templatebase.php(377): Smarty_Internal_TemplateBase->fetch(null, null, null, null, ...)
372      * @param object $parent     next higher level of Smarty variables
373      */
374     public function display($template = null, $cache_id = null, $compile_id = null, $parent = null)
375     {
376         // display template
377         $this->fetch($template, $cache_id, $compile_id, $parent, true);
378     }
379 
380     /**
381      * test if cache is valid
382      *
#1
+
 /home/alcodefi/www/protected/extensions/yiiext/renderers/smarty/ESmartyViewRenderer.php(275): Smarty_Internal_TemplateBase->display()
270 
271         // render or return
272         if($return)
273             return $template->fetch();
274         else
275             $template->display();
276     }
277 
278     /**
279      * removes all files from compile dir
280      * @since 1.0.1
#4
+
 /home/alcodefi/www/protected/modules/website/widgets/HeaderWidget.php(52): CWidget->render("header", array("company" => Institution, "headerMenuEntries" => array(0 => array("title" => "Accueil", "link" => " ", "active" => false, "subMenu" => array()), 1 => array("title" => "Entreprise", "link" => "entreprise", "active" => false, "subMenu" => array(array("title" => "Présentation", "link" => "entreprise/presentation"), array("title" => "Nos Équipes", "link" => "entreprise/equipe"), array("title" => "Réseau de compétences", "link" => "entreprise/reseau-de-competence"), array("title" => "Services", "link" => "entreprise/services"), ...)), 2 => array("title" => "FORMATIONS BANCAIRES", "link" => "product/cat/s/inter-bancaires", "active" => false, "subMenu" => array(array("title" => "Présentation", "link" => "product/cat/s/inter-bancaires"), array("title" => "Formations", "link" => "product/formations/s/inter-bancaires"), array("title" => "Planning", "link" => "product/planning/s/inter-bancaires"))), 3 => array("title" => "FORMATIONS ENTREPRISES", "link" => "product/cat/s/inter-entreprises", "active" => false, "subMenu" => array(array("title" => "Présentation", "link" => "product/cat/s/inter-entreprises"), array("title" => "Formations", "link" => "product/formations/s/inter-entreprises"), array("title" => "Planning", "link" => "product/planning/s/inter-entreprises"))), ...)))
47 
48             $param['headerMenuEntries'] =$this->IsolationRubrique($param['headerMenuEntries']); #Isolat rubriques
49             $param['headerMenuEntries'] =$this->Edges($param['headerMenuEntries'],$currentUrl); #add home  & contact
50 
51 
52             $this->render('header',$param);
53         }
54     }
55 
56 
57 
2024-03-29 12:50:35 Apache Yii Framework/1.1.14