SmartyException

Invalid compiled template for '/home/alcodefi/www/protected/modules/website/widgets/views/references.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/ReferencesWidget.php(34): CWidget->render("references", array("pageModel" => Page, "references" => array(array("title" => "CNEP BANQUE", "imageSrc" => "/assets/easyimage/3/3e7780ae81745c837e7c106c47170b9a.png", "imageSrcBig" => "/assets/easyimage/d/dade4db4ec55b719eb15b0b2f244c02f.png"), array("title" => "Banque Extérieure d'Algérie", "imageSrc" => "/assets/easyimage/8/8458997478edafd6199924e04dc9eb8d.png", "imageSrcBig" => "/assets/easyimage/7/7eeccb4eb972cde58a99e8b0ace7c151.png"), array("title" => "BADR", "imageSrc" => "/assets/easyimage/8/842f66d8b968888a933c0ac39dde50f3.png", "imageSrcBig" => "/assets/easyimage/c/cf1e8055dff62709a79eb3df27db0ae9.png"), array("title" => "CPA", "imageSrc" => "/assets/easyimage/a/ad955613b90564a10bff9d2306811594.png", "imageSrcBig" => "/assets/easyimage/1/1703e6da0be34cff2edb4bb70c46609b.png"), ...)))
29 
30         if(count($pageModel) and count($references))
31             $this->render('references', array(
32                 'pageModel'=>$pageModel,
33                 'references'=>$references,
34             ));
35     }
36 }
37 
38 
39 
2024-03-29 12:44:29 Apache Yii Framework/1.1.14