/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) {
#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 |
#2 |
+
–
/home/alcodefi/www/framework/web/CBaseController.php(93): ESmartyViewRenderer->renderFile(PopupWidget, "/home/alcodefi/www/protected/modules/website/widgets/views/popup...", array("pageModel" => Page), false) 88 */ 89 public function renderFile($viewFile,$data=null,$return=false) 90 { 91 $widgetCount=count($this->_widgetStack); 92 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 93 $content=$renderer->renderFile($this,$viewFile,$data,$return); 94 else 95 $content=$this->renderInternal($viewFile,$data,$return); 96 if(count($this->_widgetStack)===$widgetCount) 97 return $content; 98 else |
#3 |
+
–
/home/alcodefi/www/framework/web/widgets/CWidget.php(244): CBaseController->renderFile("/home/alcodefi/www/protected/modules/website/widgets/views/popup...", array("pageModel" => Page), false) 239 * @see getViewFile 240 */ 241 public function render($view,$data=null,$return=false) 242 { 243 if(($viewFile=$this->getViewFile($view))!==false) 244 return $this->renderFile($viewFile,$data,$return); 245 else 246 throw new CException(Yii::t('yii','{widget} cannot find the view "{view}".', 247 array('{widget}'=>get_class($this), '{view}'=>$view))); 248 } 249 } |
#4 |
+
–
/home/alcodefi/www/protected/modules/website/widgets/PopupWidget.php(23): CWidget->render("popup", array("pageModel" => Page)) 18 )); 19 20 if(isset($pageModel) and !empty($pageModel) and count($pageModel)) 21 $this->render('popup', array( 22 'pageModel'=>$pageModel, 23 )); 24 } 25 26 } 27 } 28 |
#5 |
+
–
/home/alcodefi/www/framework/web/CBaseController.php(167): PopupWidget->run() 162 if($captureOutput) 163 { 164 ob_start(); 165 ob_implicit_flush(false); 166 $widget=$this->createWidget($className,$properties); 167 $widget->run(); 168 return ob_get_clean(); 169 } 170 else 171 { 172 $widget=$this->createWidget($className,$properties); |
#6 |
+
–
/home/alcodefi/www/protected/vendor/Smarty/plugins/function.widget.php(34): CBaseController->widget("PopupWidget", array(), true) 29 if (isset($params['_name'])) { 30 $params['name'] = $params['_name']; 31 unset($params['_name']); 32 } 33 34 return $controller_object->widget($widgetName, $params, true); 35 } |
#7 |
/home/alcodefi/www/protected/vendor/Smarty/sysplugins/smarty_internal_templatebase.php(151) : eval()'d code(33): smarty_function_widget(array("name" => "PopupWidget"), Smarty_Internal_Template)
|
#8 |
+
–
/home/alcodefi/www/protected/vendor/Smarty/sysplugins/smarty_internal_templatebase.php(182): content_6605e61f3915b9_48854900(Smarty_Internal_Template) 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); |
#9 |
+
–
/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 * |
#10 |
+
–
/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 |
#11 |
+
–
/home/alcodefi/www/framework/web/CBaseController.php(93): ESmartyViewRenderer->renderFile(HeaderWidget, "/home/alcodefi/www/protected/modules/website/widgets/views/heade...", 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"))), ...)), false) 88 */ 89 public function renderFile($viewFile,$data=null,$return=false) 90 { 91 $widgetCount=count($this->_widgetStack); 92 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 93 $content=$renderer->renderFile($this,$viewFile,$data,$return); 94 else 95 $content=$this->renderInternal($viewFile,$data,$return); 96 if(count($this->_widgetStack)===$widgetCount) 97 return $content; 98 else |
#12 |
+
–
/home/alcodefi/www/framework/web/widgets/CWidget.php(244): CBaseController->renderFile("/home/alcodefi/www/protected/modules/website/widgets/views/heade...", 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"))), ...)), false) 239 * @see getViewFile 240 */ 241 public function render($view,$data=null,$return=false) 242 { 243 if(($viewFile=$this->getViewFile($view))!==false) 244 return $this->renderFile($viewFile,$data,$return); 245 else 246 throw new CException(Yii::t('yii','{widget} cannot find the view "{view}".', 247 array('{widget}'=>get_class($this), '{view}'=>$view))); 248 } 249 } |
#13 |
+
–
/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 |
#14 |
+
–
/home/alcodefi/www/framework/web/CBaseController.php(167): HeaderWidget->run() 162 if($captureOutput) 163 { 164 ob_start(); 165 ob_implicit_flush(false); 166 $widget=$this->createWidget($className,$properties); 167 $widget->run(); 168 return ob_get_clean(); 169 } 170 else 171 { 172 $widget=$this->createWidget($className,$properties); |
#15 |
+
–
/home/alcodefi/www/protected/vendor/Smarty/plugins/function.widget.php(34): CBaseController->widget("HeaderWidget", array(), true) 29 if (isset($params['_name'])) { 30 $params['name'] = $params['_name']; 31 unset($params['_name']); 32 } 33 34 return $controller_object->widget($widgetName, $params, true); 35 } |
#16 |
/home/alcodefi/www/protected/vendor/Smarty/sysplugins/smarty_internal_templatebase.php(151) : eval()'d code(23): smarty_function_widget(array("name" => "HeaderWidget"), Smarty_Internal_Template)
|
#17 |
+
–
/home/alcodefi/www/protected/vendor/Smarty/sysplugins/smarty_internal_templatebase.php(182): content_6605e61ee03326_93151494(Smarty_Internal_Template) 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); |
#18 |
+
–
/home/alcodefi/www/protected/vendor/Smarty/sysplugins/smarty_internal_template.php(284): Smarty_Internal_TemplateBase->fetch(null, null, null, null, ...) 279 foreach ($data as $_key => $_val) { 280 $tpl->tpl_vars[$_key] = new Smarty_variable($_val); 281 } 282 } 283 284 return $tpl->fetch(null, null, null, null, false, false, true); 285 } 286 287 /** 288 * Template code runtime function to set up an inline subtemplate 289 * |
#19 |
/home/alcodefi/www/protected/vendor/Smarty/sysplugins/smarty_internal_templatebase.php(151) : eval()'d code(165): Smarty_Internal_Template->getSubTemplate("/home/alcodefi/www/themes/website/views//layouts/_header.tpl", null, null, 0, ...)
|
#20 |
+
–
/home/alcodefi/www/protected/vendor/Smarty/sysplugins/smarty_internal_templatebase.php(182): content_6605e61ede1f31_52337324(Smarty_Internal_Template) 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); |
#21 |
+
–
/home/alcodefi/www/protected/extensions/yiiext/renderers/smarty/ESmartyViewRenderer.php(273): Smarty_Internal_TemplateBase->fetch() 268 /** @var Smarty_Internal_Template $template */ 269 $template = $this->getSmarty()->createTemplate($sourceFile, null, null, $data, true); 270 271 // render or return 272 if($return) 273 return $template->fetch(); 274 else 275 $template->display(); 276 } 277 278 /** |
#22 |
+
–
/home/alcodefi/www/framework/web/CBaseController.php(93): ESmartyViewRenderer->renderFile(NewsController, "/home/alcodefi/www/themes/website/views//layouts/internal.tpl", array("content" => "
<div id="main-content">
<div id="breadcrumbs" class="c..."), true) 88 */ 89 public function renderFile($viewFile,$data=null,$return=false) 90 { 91 $widgetCount=count($this->_widgetStack); 92 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 93 $content=$renderer->renderFile($this,$viewFile,$data,$return); 94 else 95 $content=$this->renderInternal($viewFile,$data,$return); 96 if(count($this->_widgetStack)===$widgetCount) 97 return $content; 98 else |
#23 |
+
–
/home/alcodefi/www/framework/web/CController.php(784): CBaseController->renderFile("/home/alcodefi/www/themes/website/views//layouts/internal.tpl", array("content" => "
<div id="main-content">
<div id="breadcrumbs" class="c..."), true) 779 { 780 if($this->beforeRender($view)) 781 { 782 $output=$this->renderPartial($view,$data,true); 783 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 784 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 785 786 $this->afterRender($view,$output); 787 788 $output=$this->processOutput($output); 789 |
#24 |
+
–
/home/alcodefi/www/protected/modules/website/controllers/NewsController.php(27): CController->render("details", array("data" => News)) 22 public function actionArticle($id=null){ 23 if(is_numeric($id) and !empty($id)){ 24 $data = News::model()->published()->findByPk(intval($id)); 25 if(isset($data) and !empty($data)){ 26 $this->pageModel->title=$data->title; 27 $this->render('details', array('data'=>$data)); 28 } else $this->redirect("/"); 29 }else{ 30 $this->redirect("/"); 31 } 32 } |
#25 |
unknown(0): NewsController->actionArticle("51")
|
#26 |
+
–
/home/alcodefi/www/framework/web/actions/CAction.php(108): ReflectionMethod->invokeArgs(NewsController, array("51")) 103 elseif($param->isDefaultValueAvailable()) 104 $ps[]=$param->getDefaultValue(); 105 else 106 return false; 107 } 108 $method->invokeArgs($object,$ps); 109 return true; 110 } 111 } |
#27 |
+
–
/home/alcodefi/www/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(NewsController, ReflectionMethod, array("PHPSESSID" => "joun610a3slau6at9n9fhca542", "id" => "51")) 42 { 43 $methodName='action'.$this->getId(); 44 $controller=$this->getController(); 45 $method=new ReflectionMethod($controller, $methodName); 46 if($method->getNumberOfParameters()>0) 47 return $this->runWithParamsInternal($controller, $method, $params); 48 else 49 return $controller->$methodName(); 50 } 51 52 } |
#28 |
+
–
/home/alcodefi/www/framework/web/CController.php(308): CInlineAction->runWithParams(array("PHPSESSID" => "joun610a3slau6at9n9fhca542", "id" => "51")) 303 { 304 $priorAction=$this->_action; 305 $this->_action=$action; 306 if($this->beforeAction($action)) 307 { 308 if($action->runWithParams($this->getActionParams())===false) 309 $this->invalidActionParams($action); 310 else 311 $this->afterAction($action); 312 } 313 $this->_action=$priorAction; |
#29 |
+
–
/home/alcodefi/www/framework/web/CController.php(286): CController->runAction(CInlineAction) 281 * @see runAction 282 */ 283 public function runActionWithFilters($action,$filters) 284 { 285 if(empty($filters)) 286 $this->runAction($action); 287 else 288 { 289 $priorAction=$this->_action; 290 $this->_action=$action; 291 CFilterChain::create($this,$action,$filters)->run(); |
#30 |
+
–
/home/alcodefi/www/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, array()) 260 { 261 if(($parent=$this->getModule())===null) 262 $parent=Yii::app(); 263 if($parent->beforeControllerAction($this,$action)) 264 { 265 $this->runActionWithFilters($action,$this->filters()); 266 $parent->afterControllerAction($this,$action); 267 } 268 } 269 else 270 $this->missingAction($actionID); |
#31 |
+
–
/home/alcodefi/www/framework/web/CWebApplication.php(282): CController->run("article") 277 { 278 list($controller,$actionID)=$ca; 279 $oldController=$this->_controller; 280 $this->_controller=$controller; 281 $controller->init(); 282 $controller->run($actionID); 283 $this->_controller=$oldController; 284 } 285 else 286 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 287 array('{route}'=>$route===''?$this->defaultController:$route))); |
#32 |
+
–
/home/alcodefi/www/framework/web/CWebApplication.php(141): CWebApplication->runController("website/news/article/id/51") 136 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 137 $_GET[$name]=$value; 138 } 139 else 140 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 141 $this->runController($route); 142 } 143 144 /** 145 * Registers the core application components. 146 * This method overrides the parent implementation by registering additional core components. |
#33 |
+
–
/home/alcodefi/www/framework/base/CApplication.php(180): CWebApplication->processRequest() 175 public function run() 176 { 177 if($this->hasEventHandler('onBeginRequest')) 178 $this->onBeginRequest(new CEvent($this)); 179 register_shutdown_function(array($this,'end'),0,false); 180 $this->processRequest(); 181 if($this->hasEventHandler('onEndRequest')) 182 $this->onEndRequest(new CEvent($this)); 183 } 184 185 /** |
#34 |
+
–
/home/alcodefi/www/index.php(12): CApplication->run() 07 defined('YII_DEBUG') or define('YII_DEBUG',true); 08 // specify how many levels of call stack should be shown in each log message 09 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 10 11 require_once($yii); 12 Yii::createWebApplication($config)->run(); 13 |