/home/techxcite/www/htdocs/framework/yiilite.php(8761)
8749 if(empty($this->connectionString)) 8750 throw new CDbException('CDbConnection.connectionString cannot be empty.'); 8751 try 8752 { 8753 $this->_pdo=$this->createPdoInstance(); 8754 $this->initConnection($this->_pdo); 8755 $this->_active=true; 8756 } 8757 catch(PDOException $e) 8758 { 8759 if(YII_DEBUG) 8760 { 8761 throw new CDbException('CDbConnection failed to open the DB connection: '. 8762 $e->getMessage(),(int)$e->getCode(),$e->errorInfo); 8763 } 8764 else 8765 { 8766 Yii::log($e->getMessage(),CLogger::LEVEL_ERROR,'exception.CDbException'); 8767 throw new CDbException('CDbConnection failed to open the DB connection.',(int)$e->getCode(),$e->errorInfo); 8768 } 8769 } 8770 } 8771 } 8772 protected function close() 8773 {
#0 |
+
–
/home/techxcite/www/htdocs/framework/yiilite.php(8733): CDbConnection->open() 8728 public function setActive($value) 8729 { 8730 if($value!=$this->_active) 8731 { 8732 if($value) 8733 $this->open(); 8734 else 8735 $this->close(); 8736 } 8737 } 8738 public function cache($duration, $dependency=null, $queryCount=1) |
#1 |
+
–
/home/techxcite/www/htdocs/framework/yiilite.php(8722): CDbConnection->setActive(true) 8717 } 8718 public function init() 8719 { 8720 parent::init(); 8721 if($this->autoConnect) 8722 $this->setActive(true); 8723 } 8724 public function getActive() 8725 { 8726 return $this->_active; 8727 } |
#2 |
+
–
/home/techxcite/www/htdocs/framework/yiilite.php(1104): CDbConnection->init() 1099 $config=$this->_componentConfig[$id]; 1100 if(!isset($config['enabled']) || $config['enabled']) 1101 { 1102 unset($config['enabled']); 1103 $component=Yii::createComponent($config); 1104 $component->init(); 1105 return $this->_components[$id]=$component; 1106 } 1107 } 1108 } 1109 public function setComponent($id,$component,$merge=true) |
#3 |
+
–
/home/techxcite/www/htdocs/framework/yiilite.php(1361): CModule->getComponent("db") 1356 { 1357 return $this->getLocale()->getDateFormatter(); 1358 } 1359 public function getDb() 1360 { 1361 return $this->getComponent('db'); 1362 } 1363 public function getErrorHandler() 1364 { 1365 return $this->getComponent('errorHandler'); 1366 } |
#4 |
+
–
/home/techxcite/www/htdocs/framework/yiilite.php(7778): CApplication->getDb() 7773 { 7774 if(self::$db!==null) 7775 return self::$db; 7776 else 7777 { 7778 self::$db=Yii::app()->getDb(); 7779 if(self::$db instanceof CDbConnection) 7780 return self::$db; 7781 else 7782 throw new CDbException(Yii::t('yii','Active Record requires a "db" CDbConnection application component.')); 7783 } |
#5 |
+
–
/home/techxcite/www/htdocs/framework/yiilite.php(7795): CActiveRecord->getDbConnection() 7790 { 7791 return $this->getMetaData()->tableSchema; 7792 } 7793 public function getCommandBuilder() 7794 { 7795 return $this->getDbConnection()->getSchema()->getCommandBuilder(); 7796 } 7797 public function hasAttribute($name) 7798 { 7799 return isset($this->getMetaData()->columns[$name]); 7800 } |
#6 |
+
–
/home/techxcite/www/htdocs/framework/yiilite.php(8208): CActiveRecord->getCommandBuilder() 8203 $criteria=$this->getCommandBuilder()->createCriteria($condition,$params); 8204 return $this->query($criteria); 8205 } 8206 public function findAll($condition='',$params=array()) 8207 { 8208 $criteria=$this->getCommandBuilder()->createCriteria($condition,$params); 8209 return $this->query($criteria,true); 8210 } 8211 public function findByPk($pk,$condition='',$params=array()) 8212 { 8213 $prefix=$this->getTableAlias(true).'.'; |
#7 |
+
–
/home/techxcite/www/htdocs/protected/components/DontmissBox.php(14): CActiveRecord->findAll() 09 public function run() { 10 11 $dontmiss = Yii::app()->cache->get('dontmiss'); 12 if ($dontmiss===false) 13 { 14 $dontmissModel = DontMiss::model()->findAll(); 15 $dontmiss = array(); 16 foreach ($dontmissModel as $dontmiss_topic) { 17 $dontmiss[] = Title::model()->findByPk($dontmiss_topic->link); 18 } 19 Yii::app()->cache->set('dontmiss', $dontmiss, 300); |
#8 |
+
–
/home/techxcite/www/htdocs/framework/yiilite.php(3613): DontmissBox->run() 3608 return ob_get_clean(); 3609 } 3610 else 3611 { 3612 $widget=$this->createWidget($className,$properties); 3613 $widget->run(); 3614 return $widget; 3615 } 3616 } 3617 public function beginWidget($className,$properties=array()) 3618 { |
#9 |
+
–
/home/techxcite/www/htdocs/themes/2555/views/layouts/_columnRight.php(14): CBaseController->widget("application.components.DontmissBox", array("rightbox" => true)) 09 <h2><a href="#"> 10 Don't Miss 11 </a></h2> 12 </div> 13 <ul class="list"> 14 <?php $this->widget('application.components.DontmissBox', array('rightbox'=>true)); ?> 15 </ul> 16 <!-- <div class="subject">--> 17 <!-- <h2><a href="/shopping">--> 18 <!-- SHOPPING<span> </span>--> 19 <!-- </a></h2>--> |
#10 |
+
–
/home/techxcite/www/htdocs/framework/yiilite.php(3580): require("/home/techxcite/www/htdocs/themes/2555/views/layouts/_columnRigh...") 3575 $data=$_data_; 3576 if($_return_) 3577 { 3578 ob_start(); 3579 ob_implicit_flush(false); 3580 require($_viewFile_); 3581 return ob_get_clean(); 3582 } 3583 else 3584 require($_viewFile_); 3585 } |
#11 |
+
–
/home/techxcite/www/htdocs/framework/yiilite.php(3559): CBaseController->renderInternal("/home/techxcite/www/htdocs/themes/2555/views//layouts/_columnRig...", "", true) 3554 { 3555 $widgetCount=count($this->_widgetStack); 3556 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 3557 $content=$renderer->renderFile($this,$viewFile,$data,$return); 3558 else 3559 $content=$this->renderInternal($viewFile,$data,$return); 3560 if(count($this->_widgetStack)===$widgetCount) 3561 return $content; 3562 else 3563 { 3564 $widget=end($this->_widgetStack); |
#12 |
+
–
/home/techxcite/www/htdocs/framework/yiilite.php(3991): CBaseController->renderFile("/home/techxcite/www/htdocs/themes/2555/views//layouts/_columnRig...", "", true) 3986 } 3987 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 3988 { 3989 if(($viewFile=$this->getViewFile($view))!==false) 3990 { 3991 $output=$this->renderFile($viewFile,$data,true); 3992 if($processOutput) 3993 $output=$this->processOutput($output); 3994 if($return) 3995 return $output; 3996 else |
#13 |
+
–
/home/techxcite/www/htdocs/themes/2555/views/layouts/2contentLeft.php(7): CController->renderPartial("//layouts/_columnRight", "", true) 02 <div class="clearfix columnLine" id="content"> 03 <div id="col_main"> 04 <?php echo $content; ?> 05 </div><!-- #col_main --> 06 07 <?php echo $this->renderPartial('//layouts/_columnRight','',true); ?> 08 09 </div> 10 <?php $this->endContent(); ?> |
#14 |
+
–
/home/techxcite/www/htdocs/framework/yiilite.php(3580): require("/home/techxcite/www/htdocs/themes/2555/views/layouts/2contentLef...") 3575 $data=$_data_; 3576 if($_return_) 3577 { 3578 ob_start(); 3579 ob_implicit_flush(false); 3580 require($_viewFile_); 3581 return ob_get_clean(); 3582 } 3583 else 3584 require($_viewFile_); 3585 } |
#15 |
+
–
/home/techxcite/www/htdocs/framework/yiilite.php(3559): CBaseController->renderInternal("/home/techxcite/www/htdocs/themes/2555/views//layouts/2contentLe...", array("content" => "<script>
(function() {
var cx = '0114545464174651595..."), true) 3554 { 3555 $widgetCount=count($this->_widgetStack); 3556 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 3557 $content=$renderer->renderFile($this,$viewFile,$data,$return); 3558 else 3559 $content=$this->renderInternal($viewFile,$data,$return); 3560 if(count($this->_widgetStack)===$widgetCount) 3561 return $content; 3562 else 3563 { 3564 $widget=end($this->_widgetStack); |
#16 |
+
–
/home/techxcite/www/htdocs/framework/yiilite.php(3961): CBaseController->renderFile("/home/techxcite/www/htdocs/themes/2555/views//layouts/2contentLe...", array("content" => "<script>
(function() {
var cx = '0114545464174651595..."), true) 3956 { 3957 if($this->beforeRender($view)) 3958 { 3959 $output=$this->renderPartial($view,$data,true); 3960 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 3961 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 3962 $this->afterRender($view,$output); 3963 $output=$this->processOutput($output); 3964 if($return) 3965 return $output; 3966 else |
#17 |
+
–
/home/techxcite/www/htdocs/protected/controllers/GoogleController.php(23): CController->render("search") 18 Yii::app()->clientScript->registerMetaTag(date("Y-m-d H:i:s"), NULL, NULL, array('property'=>'article:modified_time')); 19 Yii::app()->clientScript->registerMetaTag($q.',techxcite,techxcite.com', 'keywords'); 20 21 Yii::app()->clientScript->registerLinkTag('canonical',NULL,Yii::app()->createAbsoluteUrl('google/search',array('q'=>$q))); 22 23 $this->render('search'); 24 } 25 26 public function actionMobilesearch() { 27 $this->render('mobilesearch'); 28 } |
#18 |
unknown(0): GoogleController->actionSearch("Apple")
|
#19 |
+
–
/home/techxcite/www/htdocs/framework/yiilite.php(4208): ReflectionMethod->invokeArgs(GoogleController, array("Apple")) 4203 elseif($param->isDefaultValueAvailable()) 4204 $ps[]=$param->getDefaultValue(); 4205 else 4206 return false; 4207 } 4208 $method->invokeArgs($object,$ps); 4209 return true; 4210 } 4211 } 4212 class CInlineAction extends CAction 4213 { |
#20 |
+
–
/home/techxcite/www/htdocs/framework/yiilite.php(4225): CAction->runWithParamsInternal(GoogleController, ReflectionMethod, array("q" => "Apple")) 4220 { 4221 $methodName='action'.$this->getId(); 4222 $controller=$this->getController(); 4223 $method=new ReflectionMethod($controller, $methodName); 4224 if($method->getNumberOfParameters()>0) 4225 return $this->runWithParamsInternal($controller, $method, $params); 4226 $controller->$methodName(); 4227 return true; 4228 } 4229 } 4230 class CWebUser extends CApplicationComponent implements IWebUser |
#21 |
+
–
/home/techxcite/www/htdocs/framework/yiilite.php(3739): CInlineAction->runWithParams(array("q" => "Apple")) 3734 { 3735 $priorAction=$this->_action; 3736 $this->_action=$action; 3737 if($this->beforeAction($action)) 3738 { 3739 if($action->runWithParams($this->getActionParams())===false) 3740 $this->invalidActionParams($action); 3741 else 3742 $this->afterAction($action); 3743 } 3744 $this->_action=$priorAction; |
#22 |
+
–
/home/techxcite/www/htdocs/framework/yiilite.php(3724): CController->runAction(CInlineAction) 3719 $this->missingAction($actionID); 3720 } 3721 public function runActionWithFilters($action,$filters) 3722 { 3723 if(empty($filters)) 3724 $this->runAction($action); 3725 else 3726 { 3727 $priorAction=$this->_action; 3728 $this->_action=$action; 3729 CFilterChain::create($this,$action,$filters)->run(); |
#23 |
+
–
/home/techxcite/www/htdocs/framework/yiilite.php(3714): CController->runActionWithFilters(CInlineAction, array()) 3709 { 3710 if(($parent=$this->getModule())===null) 3711 $parent=Yii::app(); 3712 if($parent->beforeControllerAction($this,$action)) 3713 { 3714 $this->runActionWithFilters($action,$this->filters()); 3715 $parent->afterControllerAction($this,$action); 3716 } 3717 } 3718 else 3719 $this->missingAction($actionID); |
#24 |
+
–
/home/techxcite/www/htdocs/framework/yiilite.php(1799): CController->run("search") 1794 { 1795 list($controller,$actionID)=$ca; 1796 $oldController=$this->_controller; 1797 $this->_controller=$controller; 1798 $controller->init(); 1799 $controller->run($actionID); 1800 $this->_controller=$oldController; 1801 } 1802 else 1803 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 1804 array('{route}'=>$route===''?$this->defaultController:$route))); |
#25 |
+
–
/home/techxcite/www/htdocs/framework/yiilite.php(1719): CWebApplication->runController("google/search") 1714 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 1715 $_GET[$name]=$value; 1716 } 1717 else 1718 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 1719 $this->runController($route); 1720 } 1721 protected function registerCoreComponents() 1722 { 1723 parent::registerCoreComponents(); 1724 $components=array( |
#26 |
+
–
/home/techxcite/www/htdocs/framework/yiilite.php(1236): CWebApplication->processRequest() 1231 public function run() 1232 { 1233 if($this->hasEventHandler('onBeginRequest')) 1234 $this->onBeginRequest(new CEvent($this)); 1235 register_shutdown_function(array($this,'end'),0,false); 1236 $this->processRequest(); 1237 if($this->hasEventHandler('onEndRequest')) 1238 $this->onEndRequest(new CEvent($this)); 1239 } 1240 public function end($status=0,$exit=true) 1241 { |
#27 |
+
–
/home/techxcite/www/htdocs/index.php(15): CApplication->run() 10 defined('YII_DEBUG') or define('YII_DEBUG',true); 11 // specify how many levels of call stack should be shown in each log message 12 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 13 14 require_once($yii); 15 Yii::createWebApplication($config)->run(); |