/home/easybuyproperty/public_html/frontend/protected/extensions/DGSphinxSearch/DGSphinxSearch.php(458)
446 447 if ($this->enableResultTrace) { 448 Yii::trace("Query '$query' is performed for index '$index'", 'CEXT.DGSphinxSearch.doSearch'); 449 } 450 451 if ($this->enableProfiling) { 452 Yii::beginProfile("Search query: '{$query}' in index: '{$index}'", 'CEXT.DGSphinxSearch.doSearch'); 453 } 454 455 $res = $this->client->query($query, $index, $comment); 456 457 if ($this->getLastError()) { 458 throw new DGSphinxSearchException($this->getLastError()); 459 } 460 461 if ($this->enableProfiling) { 462 Yii::endProfile("Search query: '{$query}' in index: '{$index}'", 'CEXT.DGSphinxSearch.doSearch'); 463 } 464 465 if ($this->enableResultTrace) { 466 Yii::trace("Query result: " . substr(print_r($res, true), 500), 'CEXT.DGSphinxSearch.doSearch'); 467 } 468 469 if (!isset($res['matches'])) { 470 $res['matches'] = array();
#0 |
+
–
/home/easybuyproperty/public_html/frontend/protected/extensions/DGSphinxSearch/DGSphinxSearch.php(492): DGSphinxSearch->doSearch("psearch", "") 487 488 // handle given criteria 489 $this->setCriteria($criteria); 490 491 // process search 492 $res = $this->doSearch($this->criteria->from, $this->criteria->query); 493 494 //ugly hack 495 if ($criteria->paginator) { 496 if (isset($res['total'])) { 497 $criteria->paginator->setItemCount($res['total']); |
#1 |
+
–
/home/easybuyproperty/public_html/frontend/protected/extensions/DGSphinxSearch/DGSphinxSearch.php(213): DGSphinxSearch->searchByCriteria(stdClass) 208 public function searchRaw($criteria = null) 209 { 210 if ($criteria === null) { 211 $res = $this->doSearch($this->criteria->from, $this->criteria->query); 212 } else { 213 $res = $this->searchByCriteria($criteria); 214 } 215 return $res; 216 } 217 218 /** |
#2 |
+
–
/home/easybuyproperty/public_html/frontend/protected/models/Property.php(612): DGSphinxSearch->searchRaw(stdClass) 607 $search->SetSortMode(SPH_SORT_EXTENDED, str_replace('prop.', '', $sphinx_sort_by)); 608 } 609 610 $search->enableProfiling = true; 611 612 $resArray = $search->select('id')/*->SetMatchMode(SPH_MATCH_EXTENDED)*/->searchRaw($searchCriteria); 613 614 if(isset($resArray['matches'])) 615 { 616 //echo '<pre>';print_r($resArray);echo '</pre>'; 617 |
#3 |
+
–
/home/easybuyproperty/public_html/frontend/protected/controllers/SiteController.php(172): Property->sphinxSearch() 167 $model->building_id > 0 || $model->sub_community_id > 0 168 ) 169 $liveTrendingPrice = $model->search(false, true); 170 171 /* perform sphinx search */ 172 list($dataProvider, $pager) = $model->sphinxSearch(); 173 174 $this->render('//site/search', array( 175 'dataProvider'=>$dataProvider, 176 'pager'=>$pager, 177 'banner'=>$banner, |
#4 |
+
–
/home/easybuyproperty/public_html/yii/web/actions/CInlineAction.php(49): SiteController->actionSearch() 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 } |
#5 |
+
–
/home/easybuyproperty/public_html/yii/web/CController.php(308): CInlineAction->runWithParams(array("development_slug" => "dubai-marina", "page" => "126")) 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; |
#6 |
+
–
/home/easybuyproperty/public_html/yii/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(); |
#7 |
+
–
/home/easybuyproperty/public_html/yii/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); |
#8 |
+
–
/home/easybuyproperty/public_html/yii/web/CWebApplication.php(282): CController->run("search") 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))); |
#9 |
+
–
/home/easybuyproperty/public_html/yii/web/CWebApplication.php(141): CWebApplication->runController("site/search") 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. |
#10 |
+
–
/home/easybuyproperty/public_html/yii/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 /** |
#11 |
+
–
/home/easybuyproperty/public_html/index.php(16): CApplication->run() 11 12 error_reporting(E_ERROR | E_PARSE); 13 ini_set('display_errors', true); 14 15 require_once($yii); 16 Yii::createWebApplication($config)->run(); |