Exception

exception 'CHttpException' in /var/www/clients/client1/web2/web/protected/extensions/yiinfinite-scroll/YiinfiniteScroller.php:47
Stack trace:
#0 /var/www/clients/client1/web2/web/framework/web/CBaseController.php(173): YiinfiniteScroller->run()
#1 /var/www/clients/client1/web2/web/protected/modules/xadmin/modules/xblog/widgets/XBlogCategoryWidget.php(47): CBaseController->widget('ext.yiinfinite-...', Array)
#2 /var/www/clients/client1/web2/web/protected/components/XMarkdownParser.php(146): XBlogCategoryWidget->run()
#3 /var/www/clients/client1/web2/web/protected/components/XMarkdownParser.php(120): XMarkdownParser->getWidget('xadmin.modules....', Array)
#4 [internal function]: XMarkdownParser->process(Array)
#5 /var/www/clients/client1/web2/web/protected/components/XParser.php(6): preg_replace_callback('~\\[\\[([a-zA-Z0-...', Array, '<h1>Jak zhubnou...')
#6 /var/www/clients/client1/web2/web/protected/modules/xadmin/modules/xpage/models/Page.php(121): XParser->transform('<h1>Jak zhubnou...')
#7 /var/www/clients/client1/web2/web/protected/modules/xadmin/modules/xpage/views/page/show.php(7): Page->getHtmlContent()
#8 /var/www/clients/client1/web2/web/framework/web/CBaseController.php(126): require('/var/www/client...')
#9 /var/www/clients/client1/web2/web/framework/web/CBaseController.php(95): CBaseController->renderInternal('/var/www/client...', Array, true)
#10 /var/www/clients/client1/web2/web/framework/web/CController.php(869): CBaseController->renderFile('/var/www/client...', Array, true)
#11 /var/www/clients/client1/web2/web/framework/web/CController.php(782): CController->renderPartial('show', Array, true)
#12 /var/www/clients/client1/web2/web/protected/modules/xadmin/modules/xpage/controllers/PageController.php(93): CController->render('show', Array)
#13 [internal function]: PageController->actionRoute('4')
#14 /var/www/clients/client1/web2/web/framework/web/actions/CAction.php(108): ReflectionMethod->invokeArgs(Object(PageController), Array)
#15 /var/www/clients/client1/web2/web/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(Object(PageController), Object(ReflectionMethod), Array)
#16 /var/www/clients/client1/web2/web/framework/web/CController.php(308): CInlineAction->runWithParams(Array)
#17 /var/www/clients/client1/web2/web/framework/web/filters/CFilterChain.php(133): CController->runAction(Object(CInlineAction))
#18 /var/www/clients/client1/web2/web/framework/web/filters/CFilter.php(40): CFilterChain->run()
#19 /var/www/clients/client1/web2/web/framework/web/CController.php(1145): CFilter->filter(Object(CFilterChain))
#20 /var/www/clients/client1/web2/web/framework/web/filters/CInlineFilter.php(58): CController->filterAccessControl(Object(CFilterChain))
#21 /var/www/clients/client1/web2/web/framework/web/filters/CFilterChain.php(130): CInlineFilter->filter(Object(CFilterChain))
#22 /var/www/clients/client1/web2/web/framework/web/CController.php(291): CFilterChain->run()
#23 /var/www/clients/client1/web2/web/framework/web/CController.php(265): CController->runActionWithFilters(Object(CInlineAction), Array)
#24 /var/www/clients/client1/web2/web/framework/web/CWebApplication.php(282): CController->run('route')
#25 /var/www/clients/client1/web2/web/framework/web/CWebApplication.php(141): CWebApplication->runController('xadmin/xpage/pa...')
#26 /var/www/clients/client1/web2/web/framework/base/CApplication.php(180): CWebApplication->processRequest()
#27 /var/www/clients/client1/web2/web/index.php(10): CApplication->run()
#28 {main}

/var/www/clients/client1/web2/web/protected/components/XMarkdownParser.php(151)

139     protected function getWidget($name, $params) {
140         ob_start();
141         ob_implicit_flush(false);
142                 
143         try {
144             $widget = Yii::app()->getWidgetFactory()->createWidget(null, $name, $params);
145             $widget->init();
146             $widget->run();
147         } catch (Exception $e) {
148             if(YII_DEBUG == true)
149             {
150                 ob_end_flush();
151                 throw new Exception($e);
152             }
153             else
154             {
155                 ob_end_clean();
156                 return "";
157             }
158         } 
159         
160         return ob_get_clean();
161     }
162 }
163 

Stack Trace

#0
+
 /var/www/clients/client1/web2/web/protected/components/XMarkdownParser.php(120): XMarkdownParser->getWidget("xadmin.modules.xblog.widgets.XBlogCategoryWidget", array("category" => "10"))
115             $class = ucfirst($id) . 'Module';
116             Yii::import('xadmin.modules.' . $id . '.' . $class);
117             $widgets = $class::getWidgets();
118             if (array_key_exists($matches[1], $widgets)) {
119                 if (isset($widgets[$matches[1]]["generator"])){
120                     return $this->getWidget($widgets[$matches[1]]["generator"], $widgetparams);
121                 }
122             }
123         }            
124     }
125     
#2
+
 /var/www/clients/client1/web2/web/protected/components/XParser.php(6): preg_replace_callback("~\[\[([a-zA-Z0-9]*)(?:[ ]([^\[\]]*([^\[\]]*(\[(?2)\])[^\[\]]*)*[...", array(XParser, "process"), "<h1>Jak zhubnout</h1> <hr /> <h4><a href="/cs/kurzy-hubnuti?ut...")
01 <?php
02 
03 class XParser extends XMarkdownParser
04 {
05     public function transform($text) {
06         return preg_replace_callback('~\[\[([a-zA-Z0-9]*)(?:[ ]([^\[\]]*([^\[\]]*(\[(?2)\])[^\[\]]*)*[^\[\]]*))?\]\]~', array($this, 'process'), $text);
07     }
08 }
09 
10 ?>
#3
+
 /var/www/clients/client1/web2/web/protected/modules/xadmin/modules/xpage/models/Page.php(121): XParser->transform("<h1>Jak zhubnout</h1> <hr /> <h4><a href="/cs/kurzy-hubnuti?ut...")
116             if ($lang != null)
117                 $contentName = "content_" . $lang;
118             else
119                 $contentName = 'content';
120             
121             $htmlContent = $parser->transform($this->$contentName);
122             
123             if ($parser->appearance) //appearance layout
124             {
125                 Yii::import('xadmin.modules.xappearance.models.*');
126                 $appearance = Appearance::model()->findByPk($parser->appearance);
2024-03-29 10:54:50 Apache Yii Framework/1.1.14