/var/www/kowap1/data/www/yuventa.com.ua/framework/web/widgets/captcha/CCaptcha.php(91)
079 080 /** 081 * Renders the widget. 082 */ 083 public function run() 084 { 085 if(self::checkRequirements('imagick') || self::checkRequirements('gd')) 086 { 087 $this->renderImage(); 088 $this->registerClientScript(); 089 } 090 else 091 throw new CException(Yii::t('yii','GD with FreeType or ImageMagick PHP extensions are required.')); 092 } 093 094 /** 095 * Renders the CAPTCHA image. 096 */ 097 protected function renderImage() 098 { 099 if(!isset($this->imageOptions['id'])) 100 $this->imageOptions['id']=$this->getId(); 101 102 $url=$this->getController()->createUrl($this->captchaAction,array('v'=>uniqid())); 103 $alt=isset($this->imageOptions['alt'])?$this->imageOptions['alt']:'';
#0 |
+
–
/var/www/kowap1/data/www/yuventa.com.ua/framework/yiilite.php(3527): CCaptcha->run() 3522 return ob_get_clean(); 3523 } 3524 else 3525 { 3526 $widget=$this->createWidget($className,$properties); 3527 $widget->run(); 3528 return $widget; 3529 } 3530 } 3531 public function beginWidget($className,$properties=array()) 3532 { |
#1 |
+
–
/var/www/kowap1/data/www/yuventa.com.ua/protected/widgets/views/comments.php(25): CBaseController->widget("CCaptcha", array("clickableImage" => true, "showRefreshButton" => false)) 20 <?php echo $form->textArea($model,'comment_body',array('rows'=>4,'placeholder'=>'Оставьте сообщение')); ?> 21 <div class="com-captcha"> 22 <?php $this->widget('CCaptcha',array( 23 'clickableImage'=>true, 24 'showRefreshButton'=>false 25 )); ?> 26 <?php echo $form->textField($model,'verifyCode',array('placeholder'=>'Введите буквы с картинки')); ?> 27 </div> 28 <span class="stars"> 29 <span id="1" class="silver"></span> 30 <span id="2" class="silver"></span> |
#2 |
+
–
/var/www/kowap1/data/www/yuventa.com.ua/framework/yiilite.php(3498): require("/var/www/kowap1/data/www/yuventa.com.ua/protected/widgets/views/...") 3493 ob_implicit_flush(false); 3494 require($_viewFile_); 3495 return ob_get_clean(); 3496 } 3497 else 3498 require($_viewFile_); 3499 } 3500 public function createWidget($className,$properties=array()) 3501 { 3502 $widget=Yii::app()->getWidgetFactory()->createWidget($this,$className,$properties); 3503 $widget->init(); |
#3 |
+
–
/var/www/kowap1/data/www/yuventa.com.ua/framework/yiilite.php(3473): CBaseController->renderInternal("/var/www/kowap1/data/www/yuventa.com.ua/protected/widgets/views/...", array("collection" => array(), "isAdmin" => null, "model" => Comments, "star" => 0), false) 3468 { 3469 $widgetCount=count($this->_widgetStack); 3470 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 3471 $content=$renderer->renderFile($this,$viewFile,$data,$return); 3472 else 3473 $content=$this->renderInternal($viewFile,$data,$return); 3474 if(count($this->_widgetStack)===$widgetCount) 3475 return $content; 3476 else 3477 { 3478 $widget=end($this->_widgetStack); |
#4 |
+
–
/var/www/kowap1/data/www/yuventa.com.ua/framework/yiilite.php(6199): CBaseController->renderFile("/var/www/kowap1/data/www/yuventa.com.ua/protected/widgets/views/...", array("collection" => array(), "isAdmin" => null, "model" => Comments, "star" => 0), false) 6194 return false; 6195 } 6196 public function render($view,$data=null,$return=false) 6197 { 6198 if(($viewFile=$this->getViewFile($view))!==false) 6199 return $this->renderFile($viewFile,$data,$return); 6200 else 6201 throw new CException(Yii::t('yii','{widget} cannot find the view "{view}".', 6202 array('{widget}'=>get_class($this), '{view}'=>$view))); 6203 } 6204 } |
#5 |
+
–
/var/www/kowap1/data/www/yuventa.com.ua/protected/widgets/CommentsWidget.php(59): CWidget->render("comments", array("collection" => array(), "isAdmin" => null, "model" => Comments, "star" => 0)) 54 $this->render('comments',array( 55 'collection'=>$collection, 56 'isAdmin'=>$this->isAdmin, 57 'model'=>$model, 58 'star'=>$sumStars, 59 )); 60 } 61 62 protected function sendMail($post){ 63 $managers=ManagersMail::model()->findAll(); 64 $material=Structure::model()->findByPk($this->object); |
#6 |
+
–
/var/www/kowap1/data/www/yuventa.com.ua/framework/yiilite.php(3541): CommentsWidget->run() 3536 } 3537 public function endWidget($id='') 3538 { 3539 if(($widget=array_pop($this->_widgetStack))!==null) 3540 { 3541 $widget->run(); 3542 return $widget; 3543 } 3544 else 3545 throw new CException(Yii::t('yii','{controller} has an extra endWidget({id}) call in its view.', 3546 array('{controller}'=>get_class($this),'{id}'=>$id))); |
#7 |
+
–
/var/www/kowap1/data/www/yuventa.com.ua/protected/views/materials/_comments.php(9): CBaseController->endWidget() 04 <?php 05 $this->beginWidget('CommentsWidget',array( 06 'object'=>$id_obj, 07 'isAdmin'=>$isAdmin, 08 )); 09 $this->endWidget(); 10 ?> 11 </div> |
#8 |
+
–
/var/www/kowap1/data/www/yuventa.com.ua/framework/yiilite.php(3494): require("/var/www/kowap1/data/www/yuventa.com.ua/protected/views/material...") 3489 $data=$_data_; 3490 if($_return_) 3491 { 3492 ob_start(); 3493 ob_implicit_flush(false); 3494 require($_viewFile_); 3495 return ob_get_clean(); 3496 } 3497 else 3498 require($_viewFile_); 3499 } |
#9 |
+
–
/var/www/kowap1/data/www/yuventa.com.ua/framework/yiilite.php(3473): CBaseController->renderInternal("/var/www/kowap1/data/www/yuventa.com.ua/protected/views/shop/../...", array("id_obj" => "631", "isAdmin" => null), true) 3468 { 3469 $widgetCount=count($this->_widgetStack); 3470 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 3471 $content=$renderer->renderFile($this,$viewFile,$data,$return); 3472 else 3473 $content=$this->renderInternal($viewFile,$data,$return); 3474 if(count($this->_widgetStack)===$widgetCount) 3475 return $content; 3476 else 3477 { 3478 $widget=end($this->_widgetStack); |
#10 |
+
–
/var/www/kowap1/data/www/yuventa.com.ua/framework/yiilite.php(3905): CBaseController->renderFile("/var/www/kowap1/data/www/yuventa.com.ua/protected/views/shop/../...", array("id_obj" => "631", "isAdmin" => null), true) 3900 } 3901 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 3902 { 3903 if(($viewFile=$this->getViewFile($view))!==false) 3904 { 3905 $output=$this->renderFile($viewFile,$data,true); 3906 if($processOutput) 3907 $output=$this->processOutput($output); 3908 if($return) 3909 return $output; 3910 else |
#11 |
+
–
/var/www/kowap1/data/www/yuventa.com.ua/protected/views/shop/view.php(80): CController->renderPartial("../materials/_comments", array("id_obj" => "631", "isAdmin" => null)) 75 </div> 76 <?php if($obj->comments): ?> 77 <?php $this->renderPartial('../materials/_comments',array( 78 'id_obj'=>$obj->id_obj, 79 'isAdmin'=>$this->isAdmin(), 80 )) ?> 81 <?php endif; ?> 82 </div> 83 84 </main> |
#12 |
+
–
/var/www/kowap1/data/www/yuventa.com.ua/framework/yiilite.php(3494): require("/var/www/kowap1/data/www/yuventa.com.ua/protected/views/shop/vie...") 3489 $data=$_data_; 3490 if($_return_) 3491 { 3492 ob_start(); 3493 ob_implicit_flush(false); 3494 require($_viewFile_); 3495 return ob_get_clean(); 3496 } 3497 else 3498 require($_viewFile_); 3499 } |
#13 |
+
–
/var/www/kowap1/data/www/yuventa.com.ua/framework/yiilite.php(3473): CBaseController->renderInternal("/var/www/kowap1/data/www/yuventa.com.ua/protected/views/shop/vie...", array("obj" => Structure, "prev" => array("id_obj" => "630", "name" => "Система УФ дезинфекции воды Blue Lagoon ...", "path" => "/katalog/oborudovanie-dlya-basseynov/sistemy-dezinfekcii-basseyn..."), "next" => array("id_obj" => "632", "name" => "Ультрафиолетовая очистка воды в ба...", "path" => "/katalog/oborudovanie-dlya-basseynov/sistemy-dezinfekcii-basseyn..."), "parentName" => "Системи дезінфекції басейну"), true) 3468 { 3469 $widgetCount=count($this->_widgetStack); 3470 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 3471 $content=$renderer->renderFile($this,$viewFile,$data,$return); 3472 else 3473 $content=$this->renderInternal($viewFile,$data,$return); 3474 if(count($this->_widgetStack)===$widgetCount) 3475 return $content; 3476 else 3477 { 3478 $widget=end($this->_widgetStack); |
#14 |
+
–
/var/www/kowap1/data/www/yuventa.com.ua/framework/yiilite.php(3905): CBaseController->renderFile("/var/www/kowap1/data/www/yuventa.com.ua/protected/views/shop/vie...", array("obj" => Structure, "prev" => array("id_obj" => "630", "name" => "Система УФ дезинфекции воды Blue Lagoon ...", "path" => "/katalog/oborudovanie-dlya-basseynov/sistemy-dezinfekcii-basseyn..."), "next" => array("id_obj" => "632", "name" => "Ультрафиолетовая очистка воды в ба...", "path" => "/katalog/oborudovanie-dlya-basseynov/sistemy-dezinfekcii-basseyn..."), "parentName" => "Системи дезінфекції басейну"), true) 3900 } 3901 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 3902 { 3903 if(($viewFile=$this->getViewFile($view))!==false) 3904 { 3905 $output=$this->renderFile($viewFile,$data,true); 3906 if($processOutput) 3907 $output=$this->processOutput($output); 3908 if($return) 3909 return $output; 3910 else |
#15 |
+
–
/var/www/kowap1/data/www/yuventa.com.ua/protected/components/Controller.php(71): CController->renderPartial("view", array("obj" => Structure, "prev" => array("id_obj" => "630", "name" => "Система УФ дезинфекции воды Blue Lagoon ...", "path" => "/katalog/oborudovanie-dlya-basseynov/sistemy-dezinfekcii-basseyn..."), "next" => array("id_obj" => "632", "name" => "Ультрафиолетовая очистка воды в ба...", "path" => "/katalog/oborudovanie-dlya-basseynov/sistemy-dezinfekcii-basseyn..."), "parentName" => "Системи дезінфекції басейну"), true) 66 67 $version=true; 68 $find_files=['.css','.jpg','.png','.svg','.webm']; 69 $set_version=['.css?v=2','.jpg?v=2','.png?v=2','.svg?v=2','.webm?v=2']; 70 if($this->beforeRender($view)){ 71 $output=$this->renderPartial($view,$data,true); 72 if(($layoutFile=$this->getLayoutFile($this->layout))!==false){ 73 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 74 } 75 76 $this->afterRender($view,$output); |
#16 |
+
–
/var/www/kowap1/data/www/yuventa.com.ua/protected/controllers/ShopController.php(171): Controller->render("view", array("obj" => Structure, "prev" => array("id_obj" => "630", "name" => "Система УФ дезинфекции воды Blue Lagoon ...", "path" => "/katalog/oborudovanie-dlya-basseynov/sistemy-dezinfekcii-basseyn..."), "next" => array("id_obj" => "632", "name" => "Ультрафиолетовая очистка воды в ба...", "path" => "/katalog/oborudovanie-dlya-basseynov/sistemy-dezinfekcii-basseyn..."), "parentName" => "Системи дезінфекції басейну")) 166 $this->render('view',[ 167 'obj'=>$object, 168 'prev'=>$prevProd, 169 'next'=>$nextProd, 170 'parentName'=>$parentName 171 ]); 172 173 }else if($object->type=='shop' || $object->type=='seo'){ 174 175 if(Yii::app()->request->isAjaxRequest){ 176 $this->renderPartial('list',[ |
#17 |
+
–
/var/www/kowap1/data/www/yuventa.com.ua/protected/controllers/SiteController.php(100): ShopController->actionView("631") 095 list($controller) = Yii::app()->createController('materials'); 096 $controller->actionView($essence['id_obj']); 097 } 098 if($essence['type']=='product' || $essence['type']=='shop' || $essence['type']=='seo'){ 099 list($controller) = Yii::app()->createController('shop'); 100 $controller->actionView($essence['id_obj']); 101 } 102 } 103 104 105 public function actionSignup(){ |
#18 |
+
–
/var/www/kowap1/data/www/yuventa.com.ua/framework/yiilite.php(4140): SiteController->actionView() 4135 $methodName='action'.$this->getId(); 4136 $controller=$this->getController(); 4137 $method=new ReflectionMethod($controller, $methodName); 4138 if($method->getNumberOfParameters()>0) 4139 return $this->runWithParamsInternal($controller, $method, $params); 4140 $controller->$methodName(); 4141 return true; 4142 } 4143 } 4144 class CWebUser extends CApplicationComponent implements IWebUser 4145 { |
#19 |
+
–
/var/www/kowap1/data/www/yuventa.com.ua/framework/yiilite.php(3653): CInlineAction->runWithParams(array("p1" => "katalog", "p2" => "oborudovanie-dlya-basseynov", "p3" => "sistemy-dezinfekcii-basseyna", "p4" => "ultrafioletovaya-ochistka-vody-v-basseyne-sirius-45-uv-lp-asi-31...")) 3648 { 3649 $priorAction=$this->_action; 3650 $this->_action=$action; 3651 if($this->beforeAction($action)) 3652 { 3653 if($action->runWithParams($this->getActionParams())===false) 3654 $this->invalidActionParams($action); 3655 else 3656 $this->afterAction($action); 3657 } 3658 $this->_action=$priorAction; |
#20 |
+
–
/var/www/kowap1/data/www/yuventa.com.ua/framework/yiilite.php(3638): CController->runAction(CInlineAction) 3633 $this->missingAction($actionID); 3634 } 3635 public function runActionWithFilters($action,$filters) 3636 { 3637 if(empty($filters)) 3638 $this->runAction($action); 3639 else 3640 { 3641 $priorAction=$this->_action; 3642 $this->_action=$action; 3643 CFilterChain::create($this,$action,$filters)->run(); |
#21 |
+
–
/var/www/kowap1/data/www/yuventa.com.ua/framework/yiilite.php(3628): CController->runActionWithFilters(CInlineAction, array()) 3623 { 3624 if(($parent=$this->getModule())===null) 3625 $parent=Yii::app(); 3626 if($parent->beforeControllerAction($this,$action)) 3627 { 3628 $this->runActionWithFilters($action,$this->filters()); 3629 $parent->afterControllerAction($this,$action); 3630 } 3631 } 3632 else 3633 $this->missingAction($actionID); |
#22 |
+
–
/var/www/kowap1/data/www/yuventa.com.ua/framework/yiilite.php(1762): CController->run("view") 1757 { 1758 list($controller,$actionID)=$ca; 1759 $oldController=$this->_controller; 1760 $this->_controller=$controller; 1761 $controller->init(); 1762 $controller->run($actionID); 1763 $this->_controller=$oldController; 1764 } 1765 else 1766 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 1767 array('{route}'=>$route===''?$this->defaultController:$route))); |
#23 |
+
–
/var/www/kowap1/data/www/yuventa.com.ua/framework/yiilite.php(1682): CWebApplication->runController("site/view") 1677 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 1678 $_GET[$name]=$value; 1679 } 1680 else 1681 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 1682 $this->runController($route); 1683 } 1684 protected function registerCoreComponents() 1685 { 1686 parent::registerCoreComponents(); 1687 $components=array( |
#24 |
+
–
/var/www/kowap1/data/www/yuventa.com.ua/framework/yiilite.php(1203): CWebApplication->processRequest() 1198 public function run() 1199 { 1200 if($this->hasEventHandler('onBeginRequest')) 1201 $this->onBeginRequest(new CEvent($this)); 1202 register_shutdown_function(array($this,'end'),0,false); 1203 $this->processRequest(); 1204 if($this->hasEventHandler('onEndRequest')) 1205 $this->onEndRequest(new CEvent($this)); 1206 } 1207 public function end($status=0,$exit=true) 1208 { |
#25 |
+
–
/var/www/kowap1/data/www/yuventa.com.ua/index.php(24): CApplication->run() 19 defined('YII_DEBUG') or define('YII_DEBUG',true); 20 // specify how many levels of call stack should be shown in each log message 21 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 22 23 require_once($yii); 24 Yii::createWebApplication($config)->run(); |