《PHP warning》要点:
本文介绍了PHP warning,希望对您有用。如果有疑问,可以联系我们。
#0 | + – /home/www/html/new3g.cnfol.com/phonenet/protected/components/mysqlclass.php(4): mysql_connect("172.20.1.211","3g_cnfol","pho32!8n43x") 1 <?php 2 class dbconn { 3 var $conn = 0; 4 function dbconn($dbhost,$dbuser,$dbpw,$dbname,$charset=''){ $this->conn = mysql_connect($dbhost,$dbpw); 5 !$this->conn && $this->halt("Connect to MySQL failed"); 6 $serverinfo = mysql_get_server_info($this->conn); 7 if ($serverinfo > '4.1' && $charset) { 8 mysql_query("SET character_set_connection=".$charset.",character_set_results=".$charset.",character_set_client=binary",$this->conn); 9 } |
#1 | + – /home/www/html/new3g.cnfol.com/phonenet/protected/components/comment.php(124): dbconn->dbconn("172.20.1.211","pho32!8n43x","fol_review",...) 119 $SQL = "SELECT `id` FROM `cnfol_collect` WHERE `uid` = '{$uid}' AND `aid` = '{$aid}'"; 120 }else if($params['db'] == 'fol_review'&&$type == '1'){ 121 $link = new dbconn('172.20.1.211','3g_cnfol','pho32!8n43x','fol_review','utf8'); 122 $SQL = "SELECT `id`,`Step` FROM `review_3g` WHERE `UserId` = '{$uid}' AND `ContId` = '{$aid}'"; 123 }else if($params['db'] == 'fol_review'&&$type == '2'){ 124 $link = new dbconn('172.20.1.211','utf8'); 125 $SQL = "SELECT `id`,`Step` FROM `review_3g` WHERE `UserId` = '{$uid}' AND `Id` = '{$aid}'"; 126 } 127 $rs = $link->fetch_array($SQL); 128 $link->close; 129 if($rs){ |
#2 | + – /home/www/html/new3g.cnfol.com/phonenet/protected/controllers/ArticleController.php(91): Comment->getStatus(array("aid" => "19687059","uid" => null,"db" => "fol_review","type" => "2")) 86 } 87 if(!empty($flvurl)){ 88 $tmp='videodetail'; 89 } 90 $cstatus = comment::getStatus($carr); 91 $pstatus = comment::getStatus($parr); 92 //var_dump($tmp);exit; 93 $this->render($tmp,array( 'channel'=>$channel,94 'id'=>$id,95 'classid'=>$classid,96 'articles'=>$articles, |
#3 | + – /home/www/html/new3g.cnfol.com/framework/web/actions/CInlineAction.php(50): ArticleController->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 } |
#4 | + – /home/www/html/new3g.cnfol.com/framework/web/CController.php(309): CInlineAction->runWithParams(array("r" => "Article","Id" => "19687059","channel" => "财经","ctr" => "Caijing",...)) 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; |
#5 | + – /home/www/html/new3g.cnfol.com/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; |
#6 | + – /home/www/html/new3g.cnfol.com/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); |
#7 | + – /home/www/html/new3g.cnfol.com/framework/web/CWebApplication.php(276): CController->run("") 271 { 272 list($controller,$actionID)=$ca; 273 $oldController=$this->_controller; 274 $this->_controller=$controller; 275 $controller->init; 276 $controller->run($actionID); 277 $this->_controller=$oldController; 278 } 279 else 280 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".',281 array('{route}'=>$route===''?$this->defaultController:$route))); |
#8 | + – /home/www/html/new3g.cnfol.com/framework/web/CWebApplication.php(135): CWebApplication->runController("Article") 130 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 131 $_GET[$name]=$value; 132 } 133 else 134 $route=$this->getUrlManager->parseUrl($this->getRequest); 135 $this->runController($route); 136 } 137 138 /** 139 * Registers the core application components. 140 * This method overrides the parent implementation by registering additional core components. |
#9 | + – /home/www/html/new3g.cnfol.com/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 /** |
#10 | + – /home/www/html/new3g.cnfol.com/phonenet/index.php(48): CApplication->run 43 } 44 45 } 46 47 require_once($yii); 48 Yii::createWebApplication($config)->run; |
《PHP warning》是否对您有启发,欢迎查看更多与《PHP warning》相关教程,学精学透。编程之家 jb51.cc为您提供精彩教程。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。