/mnt/HC_Volume_23321257/focusextranet/public_html/framework/caching/CCache.php(84)
72 return md5($this->keyPrefix.$key); 73 } 74 75 /** 76 * Retrieves a value from cache with a specified key. 77 * @param string $id a key identifying the cached value 78 * @return mixed the value stored in cache, false if the value is not in the cache, expired or the dependency has changed. 79 */ 80 public function get($id) 81 { 82 if(($value=$this->getValue($this->generateUniqueKey($id)))!==false) 83 { 84 $data=unserialize($value); 85 if(!is_array($data)) 86 return false; 87 if(!($data[1] instanceof ICacheDependency) || !$data[1]->getHasChanged()) 88 { 89 Yii::trace('Serving "'.$id.'" from cache','system.caching.'.get_class($this)); 90 return $data[0]; 91 } 92 } 93 return false; 94 } 95 96 /**
#0 |
+
–
/mnt/HC_Volume_23321257/focusextranet/public_html/framework/caching/CCache.php(84): unserialize("a:2:{i:0;a:348:{i:72;O:11:"CitiesModel":15:{s:7:"country";N;s:6:...") 79 */ 80 public function get($id) 81 { 82 if(($value=$this->getValue($this->generateUniqueKey($id)))!==false) 83 { 84 $data=unserialize($value); 85 if(!is_array($data)) 86 return false; 87 if(!($data[1] instanceof ICacheDependency) || !$data[1]->getHasChanged()) 88 { 89 Yii::trace('Serving "'.$id.'" from cache','system.caching.'.get_class($this)); |
#1 |
+
–
/mnt/HC_Volume_23321257/focusextranet/public_html/protected/components/Functions.php(1599): CCache->get("cityList") 1594 1595 if( ! function_exists( "getCityDetails" ) ) 1596 { 1597 function getCityDetails( $cityId ) 1598 { 1599 $cityList = Yii::app()->cache->get( "cityList" ); 1600 1601 if( ! empty( $cityList ) && array_key_exists( $cityId, $cityList ) ) 1602 { 1603 $city = $cityList[$cityId]; 1604 } |
#2 |
+
–
/mnt/HC_Volume_23321257/focusextranet/public_html/protected/controllers/Front_SearchController.php(792): getCityDetails("2411") 787 $productImage = getProductImage( $product->id ); 788 $product->image = $productImage ? $productImage->documentPath : ""; 789 $business = getBusinessDetails( $product->businessId ); 790 if( ! empty( $business ) ) 791 { 792 $city = getCityDetails( $business->cityId ); 793 $business->city = ! empty( $city ) ? $city->name : ""; 794 $product->business = $business; 795 } 796 $product->category = getCategoryDetails( $product->productCategoryId ); 797 } |
#3 |
+
–
/mnt/HC_Volume_23321257/focusextranet/public_html/protected/controllers/Front_SearchController.php(132): Front_SearchController->getProducts(CDbCriteria) 127 return $condition; 128 } 129 130 protected function loadListsAndSaveSearch( $condition ) 131 { 132 $this->getProducts( clone $condition ); 133 $this->getCategories( clone $condition, COUNTRY_ID ); 134 $this->getBusinesses( clone $condition, COUNTRY_ID ); 135 if( ! empty( $this->data["businessListSearch"] ) ) 136 { 137 $this->getCitiesAndCountiesForBusinesses( $this->data["businessListSearch"] ); |
#4 |
+
–
/mnt/HC_Volume_23321257/focusextranet/public_html/protected/controllers/Front_SearchController.php(53): Front_SearchController->loadListsAndSaveSearch(CDbCriteria) 48 public function actionIndex() 49 { 50 $condition = $this->createCondition(); 51 52 // load lists and save search history if needed 53 $this->loadListsAndSaveSearch( $condition ); 54 55 $this->render("/search/index"); 56 } 57 58 protected function createCondition() |
#5 |
+
–
/mnt/HC_Volume_23321257/focusextranet/public_html/framework/web/actions/CInlineAction.php(50): Front_SearchController->actionIndex() 45 $controller=$this->getController(); 46 $method=new ReflectionMethod($controller, $methodName); 47 if($method->getNumberOfParameters()>0) 48 return $this->runWithParamsInternal($controller, $method, $params); 49 else 50 return $controller->$methodName(); 51 } 52 53 } |
#6 |
+
–
/mnt/HC_Volume_23321257/focusextranet/public_html/framework/web/CController.php(309): CInlineAction->runWithParams(array("search/" => "", "where" => "", "what" => "recuperatoare de caldura")) 304 { 305 $priorAction=$this->_action; 306 $this->_action=$action; 307 if($this->beforeAction($action)) 308 { 309 if($action->runWithParams($this->getActionParams())===false) 310 $this->invalidActionParams($action); 311 else 312 $this->afterAction($action); 313 } 314 $this->_action=$priorAction; |
#7 |
+
–
/mnt/HC_Volume_23321257/focusextranet/public_html/framework/web/CController.php(287): CController->runAction(CInlineAction) 282 * @see runAction 283 */ 284 public function runActionWithFilters($action,$filters) 285 { 286 if(empty($filters)) 287 $this->runAction($action); 288 else 289 { 290 $priorAction=$this->_action; 291 $this->_action=$action; 292 CFilterChain::create($this,$action,$filters)->run(); |
#8 |
+
–
/mnt/HC_Volume_23321257/focusextranet/public_html/framework/web/CController.php(266): CController->runActionWithFilters(CInlineAction, array()) 261 { 262 if(($parent=$this->getModule())===null) 263 $parent=Yii::app(); 264 if($parent->beforeControllerAction($this,$action)) 265 { 266 $this->runActionWithFilters($action,$this->filters()); 267 $parent->afterControllerAction($this,$action); 268 } 269 } 270 else 271 $this->missingAction($actionID); |
#9 |
+
–
/mnt/HC_Volume_23321257/focusextranet/public_html/framework/web/CWebApplication.php(277): CController->run("") 272 { 273 list($controller,$actionID)=$ca; 274 $oldController=$this->_controller; 275 $this->_controller=$controller; 276 $controller->init(); 277 $controller->run($actionID); 278 $this->_controller=$oldController; 279 } 280 else 281 { 282 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', |
#10 |
+
–
/mnt/HC_Volume_23321257/focusextranet/public_html/framework/web/CWebApplication.php(136): CWebApplication->runController("search") 131 $_GET[$name]=$value; 132 } 133 else 134 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 135 136 $this->runController($route); 137 } 138 139 /** 140 * Registers the core application components. 141 * This method overrides the parent implementation by registering additional core components. |
#11 |
+
–
/mnt/HC_Volume_23321257/focusextranet/public_html/framework/base/CApplication.php(162): CWebApplication->processRequest() 157 */ 158 public function run() 159 { 160 if($this->hasEventHandler('onBeginRequest')) 161 $this->onBeginRequest(new CEvent($this)); 162 $this->processRequest(); 163 if($this->hasEventHandler('onEndRequest')) 164 $this->onEndRequest(new CEvent($this)); 165 } 166 167 /** |
#12 |
+
–
/mnt/HC_Volume_23321257/focusextranet/public_html/catalogafaceri.ro/public_html/index.php(44): CApplication->run() 39 define( "LANGUAGE_PATH", BASE_PATH."protected/languages/" ); 40 41 date_default_timezone_set( "Europe/Bucharest" ); 42 43 require_once( $yii ); 44 Yii::createWebApplication( $config )->run(); |