/home/mir-kerama/web/mir-kerama.ru/public_html/protected/extensions/phpthumb/ThumbBase.inc.php(193)
181 * Sets $this->errorMessage to $errorMessage and throws an exception 182 * 183 * Also sets $this->hasError to true, so even if the exceptions are caught, we don't 184 * attempt to proceed with any other functions 185 * 186 * @param string $errorMessage 187 */ 188 protected function triggerError ($errorMessage) 189 { 190 $this->hasError = true; 191 $this->errorMessage = $errorMessage; 192 193 throw new Exception ($errorMessage); 194 } 195 196 /** 197 * Calls plugin / imported functions 198 * 199 * This is also where a fair amount of plugins magaic happens. This magic method is called whenever an "undefined" class 200 * method is called in code, and we use that to call an imported function. 201 * 202 * You should NEVER EVER EVER invoke this function manually. The universe will implode if you do... seriously ;) 203 * 204 * @param string $method 205 * @param array $args
#0 |
+
–
/home/mir-kerama/web/mir-kerama.ru/public_html/protected/extensions/phpthumb/GdThumb.inc.php(1364): ThumbBase->triggerError("Could not determine format of remote image: http://mir-kerama.ru...") 1359 // non-image files will return false 1360 if ($formatInfo === false) 1361 { 1362 if ($this->remoteImage) 1363 { 1364 $this->triggerError('Could not determine format of remote image: ' . $this->fileName); 1365 } 1366 else 1367 { 1368 $this->triggerError('File is not a valid image: ' . $this->fileName); 1369 } |
#1 |
+
–
/home/mir-kerama/web/mir-kerama.ru/public_html/protected/extensions/phpthumb/GdThumb.inc.php(98): GdThumb->determineFormat() 093 */ 094 public function __construct ($fileName, $options = array(), $isDataStream = false) 095 { 096 parent::__construct($fileName, $isDataStream); 097 098 $this->determineFormat(); 099 100 if ($this->isDataStream === false) 101 { 102 $this->verifyFormatCompatiblity(); 103 } |
#2 |
+
–
/home/mir-kerama/web/mir-kerama.ru/public_html/protected/extensions/phpthumb/PhpThumbFactory.php(127): GdThumb->__construct("http://mir-kerama.ru/uploads/product/5d94e7459deb1df99366c42be1d...", array(), false) 122 123 // attempt to load the default implementation 124 if ($pt->isValidImplementation(self::$defaultImplemenation)) 125 { 126 $imp = $implementationMap[self::$defaultImplemenation]; 127 $toReturn = new $imp($filename, $options, $isDataStream); 128 } 129 // load the gd implementation if default failed 130 else if ($pt->isValidImplementation('gd')) 131 { 132 $imp = $implementationMap['gd']; |
#3 |
+
–
/home/mir-kerama/web/mir-kerama.ru/public_html/protected/modules/store/models/StoreProduct.php(943): PhpThumbFactory::create("http://mir-kerama.ru/uploads/product/5d94e7459deb1df99366c42be1d...") 938 939 if(!file_exists($thumbPath)) { 940 Yii::import('ext.phpthumb.PhpThumbFactory'); 941 $cropWidth = ($size[0] > $size[1]) ? 180 : $size[0]; 942 $cropHeight = ($size[0] < $size[1]) ? 180 : $size[1]; 943 $thumb = PhpThumbFactory::create($fullPath); 944 $thumb->crop(0, 0, $cropWidth, $cropHeight)->save($thumbPath); 945 } 946 } 947 } 948 else { |
#4 |
+
–
/home/mir-kerama/web/mir-kerama.ru/public_html/themes/keram/views/store/category/_product.php(11): StoreProduct->getThumbUrl() 06 ?> 07 <div class="product-with-title"> 08 <div> 09 <?php 10 echo '<a href="/site/prod?id=' . $data->id . '" class="popup_t fancybox.ajax">'; 11 echo CHtml::image($data->getThumbUrl(), $data->mainImageTitle, array('class'=>'thumbnail')); 12 echo '</a>'; 13 ?> 14 </div> 15 16 <a href="/site/prod?id=<?php echo $data->id;?>" class="popup_t fancybox.ajax"> |
#5 |
+
–
/home/mir-kerama/web/mir-kerama.ru/public_html/protected/components/CBaseController.php(139): require("/home/mir-kerama/web/mir-kerama.ru/public_html/themes/keram/view...") 134 return ob_get_clean(); 135 } 136 else 137 { 138 echo "\n<!-- Begin rendering [$_viewFile_] -->\n"; 139 require($_viewFile_); 140 echo "\n<!-- End rendering [$_viewFile_] -->\n"; 141 } 142 } 143 144 /** |
#6 |
+
–
/home/mir-kerama/web/mir-kerama.ru/public_html/protected/components/CBaseController.php(100): CBaseController->renderInternal("/home/mir-kerama/web/mir-kerama.ru/public_html/themes/keram/view...", array("index" => 2, "data" => StoreProduct, "widget" => CListView), false) 095 echo "\n<!-- Begin rendering [$viewFile] -->\n"; 096 $content=$renderer->renderFile($this,$viewFile,$data,$return); 097 echo "\n<!-- End rendering [$viewFile] -->\n"; 098 } 099 else 100 $content=$this->renderInternal($viewFile,$data,$return); 101 if(count($this->_widgetStack)===$widgetCount) 102 return $content; 103 else 104 { 105 $widget=end($this->_widgetStack); |
#7 |
+
–
/home/mir-kerama/web/mir-kerama.ru/public_html/framework/zii/widgets/CListView.php(291): CBaseController->renderFile("/home/mir-kerama/web/mir-kerama.ru/public_html/themes/keram/view...", array("index" => 2, "data" => StoreProduct, "widget" => CListView)) 286 { 287 $data=$this->viewData; 288 $data['index']=$i; 289 $data['data']=$item; 290 $data['widget']=$this; 291 $owner->renderFile($viewFile,$data); 292 if($j++ < $n-1) 293 echo $this->separator; 294 } 295 } 296 else |
#8 |
+
–
/home/mir-kerama/web/mir-kerama.ru/public_html/framework/zii/widgets/CBaseListView.php(167): CListView->renderItems() 162 protected function renderSection($matches) 163 { 164 $method='render'.$matches[1]; 165 if(method_exists($this,$method)) 166 { 167 $this->$method(); 168 $html=ob_get_contents(); 169 ob_clean(); 170 return $html; 171 } 172 else |
#9 |
unknown(0): CBaseListView->renderSection(array("{items}", "items"))
|
#10 |
+
–
/home/mir-kerama/web/mir-kerama.ru/public_html/framework/zii/widgets/CBaseListView.php(150): preg_replace_callback("/{(\w+)}/", array(CListView, "renderSection"), "{items}<div class="container-with-generated-content2"></div><div...") 145 * The rendering results will replace the corresponding placeholders in {@link template}. 146 */ 147 public function renderContent() 148 { 149 ob_start(); 150 echo preg_replace_callback("/{(\w+)}/",array($this,'renderSection'),$this->template); 151 ob_end_flush(); 152 } 153 154 /** 155 * Renders a section. |
#11 |
+
–
/home/mir-kerama/web/mir-kerama.ru/public_html/framework/zii/widgets/CBaseListView.php(135): CBaseListView->renderContent() 130 { 131 $this->registerClientScript(); 132 133 echo CHtml::openTag($this->tagName,$this->htmlOptions)."\n"; 134 135 $this->renderContent(); 136 $this->renderKeys(); 137 138 echo CHtml::closeTag($this->tagName); 139 } 140 |
#12 |
+
–
/home/mir-kerama/web/mir-kerama.ru/public_html/protected/components/CBaseController.php(184): CBaseListView->run() 179 return ob_get_clean(); 180 } 181 else 182 { 183 $widget=$this->createWidget($className,$properties); 184 $widget->run(); 185 return $widget; 186 } 187 } 188 189 /** |
#13 |
+
–
/home/mir-kerama/web/mir-kerama.ru/public_html/themes/keram/views/store/category/view.php(100): CBaseController->widget("zii.widgets.CListView", array("dataProvider" => CActiveDataProvider, "ajaxUpdate" => false, "template" => "{items}<div class="container-with-generated-content2"></div><div...", "itemView" => "_product", ...)) 095 096 <?php if(count($category->children()->findAll())==0 || count($this->activeAttributes)>0){ ?> 097 098 <?php 099 $this->widget('zii.widgets.CListView', array( 100 'dataProvider'=>$provider, 101 'ajaxUpdate'=>false, 102 'template'=>'{items}<div class="container-with-generated-content2"></div><div style="width:100%; height:30px;">{pager}</div>', 103 'itemView'=>$itemView, 104 'pager' => array( 105 'firstPageLabel'=>false, |
#14 |
+
–
/home/mir-kerama/web/mir-kerama.ru/public_html/protected/components/CBaseController.php(132): require("/home/mir-kerama/web/mir-kerama.ru/public_html/themes/keram/view...") 127 if($_return_) 128 { 129 ob_start(); 130 ob_implicit_flush(false); 131 echo "\n<!-- Begin rendering [$_viewFile_] -->\n"; 132 require($_viewFile_); 133 echo "\n<!-- End rendering [$_viewFile_] -->\n"; 134 return ob_get_clean(); 135 } 136 else 137 { |
#15 |
+
–
/home/mir-kerama/web/mir-kerama.ru/public_html/protected/components/CBaseController.php(100): CBaseController->renderInternal("/home/mir-kerama/web/mir-kerama.ru/public_html/themes/keram/view...", array("provider" => CActiveDataProvider, "itemView" => "_product"), true) 095 echo "\n<!-- Begin rendering [$viewFile] -->\n"; 096 $content=$renderer->renderFile($this,$viewFile,$data,$return); 097 echo "\n<!-- End rendering [$viewFile] -->\n"; 098 } 099 else 100 $content=$this->renderInternal($viewFile,$data,$return); 101 if(count($this->_widgetStack)===$widgetCount) 102 return $content; 103 else 104 { 105 $widget=end($this->_widgetStack); |
#16 |
+
–
/home/mir-kerama/web/mir-kerama.ru/public_html/framework/web/CController.php(869): CBaseController->renderFile("/home/mir-kerama/web/mir-kerama.ru/public_html/themes/keram/view...", array("provider" => CActiveDataProvider, "itemView" => "_product"), true) 864 */ 865 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 866 { 867 if(($viewFile=$this->getViewFile($view))!==false) 868 { 869 $output=$this->renderFile($viewFile,$data,true); 870 if($processOutput) 871 $output=$this->processOutput($output); 872 if($return) 873 return $output; 874 else |
#17 |
+
–
/home/mir-kerama/web/mir-kerama.ru/public_html/framework/web/CController.php(782): CController->renderPartial("view", array("provider" => CActiveDataProvider, "itemView" => "_product"), true) 777 */ 778 public function render($view,$data=null,$return=false) 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 |
#18 |
+
–
/home/mir-kerama/web/mir-kerama.ru/public_html/protected/modules/store/controllers/CategoryController.php(184): CController->render("view", array("provider" => CActiveDataProvider, "itemView" => "_product")) 179 180 $this->provider->sort = StoreProduct::getCSort(); 181 182 $this->render($view, array( 183 'provider'=>$this->provider, 184 'itemView'=>(isset($_GET['view']) && $_GET['view']==='wide') ? '_product_wide' : '_product' 185 )); 186 } 187 188 /** 189 * @return array of attributes used in http query and available in category |
#19 |
+
–
/home/mir-kerama/web/mir-kerama.ru/public_html/protected/modules/store/controllers/CategoryController.php(94): CategoryController->doSearch(StoreCategory, "view") 89 90 //echo Yii::app()->request->getQuery('url'); 91 92 93 $view = $this->setDesign($this->model, 'view'); 94 $this->doSearch($this->model, $view); 95 96 } 97 98 /** 99 * Search products |
#20 |
+
–
/home/mir-kerama/web/mir-kerama.ru/public_html/framework/web/actions/CInlineAction.php(49): CategoryController->actionView() 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 } |
#21 |
+
–
/home/mir-kerama/web/mir-kerama.ru/public_html/framework/web/CController.php(308): CInlineAction->runWithParams(array("url" => "kp/kerama-marazzi-kp/vindzor")) 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; |
#22 |
+
–
/home/mir-kerama/web/mir-kerama.ru/public_html/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(); |
#23 |
+
–
/home/mir-kerama/web/mir-kerama.ru/public_html/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); |
#24 |
+
–
/home/mir-kerama/web/mir-kerama.ru/public_html/framework/web/CWebApplication.php(282): CController->run("view") 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))); |
#25 |
+
–
/home/mir-kerama/web/mir-kerama.ru/public_html/framework/web/CWebApplication.php(141): CWebApplication->runController("store/category/view") 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. |
#26 |
+
–
/home/mir-kerama/web/mir-kerama.ru/public_html/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 /** |
#27 |
+
–
/home/mir-kerama/web/mir-kerama.ru/public_html/index.php(18): CApplication->run() 13 14 require $yii; 15 require 'protected/components/SWebApplication.php'; 16 17 // Create application 18 Yii::createApplication('SWebApplication', $config)->run(); 19 20 //phpinfo(); |