/home/web/iautos.cn/m_prod/20240102-100321/protected/components/Controller.php(67)
55 parent::__construct($id, $module); 56 $arr_ip = [ 57 '124.42.59.92', 58 ]; 59 if (in_array(Yii::app()->request->userHostAddress, $arr_ip)) { 60 echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" class="mdl-js"><head><meta name="Content-Type" content="text/html; charset=UTF-8"><title>第一车网 - 您要访问的车辆或页面不存在</title><style type="text/css"><!-- body{font-size: 14px; line-height: 24px; font-family: "宋体"} #page {width:650px;margin:100px auto;} #content{margin:30px;} small{font-size: 12px;color:#999} --></style></head><body text="#000000" vlink="#0033cc" alink="#800080" link="#0033cc" bgcolor="#ffffff" topmargin="0"><div id="page"> <div id="header"><a href="http://www.iautos.cn/"><img src="http://static.iautos.cn/www/iautos/dist/image/logo-iautos-be4bd5679b.png" border="0" alt="第一车网"></a></div> <div id="content"> <h3>很抱歉,您要访问的页面找不到啦</h3> <ul> <li>您可以选择:</li><ol><li>返回<a href="http://www.iautos.cn/">第一车网</a>,来查看您所要访问的页面。</li><li>直接点击热门<a href="http://so.iautos.cn/">二手车搜索</a>寻找更多适合您的车辆: <div><small>热门二手车车型:<a href="http://so.iautos.cn/usedcar/m-449.html" target="_blank">捷达</a> <a href="http://so.iautos.cn/usedcar/m-391.html" target="_blank">奥拓</a> <a href="http://so.iautos.cn/usedcar/m-595.html" target="_blank">帕萨特</a> <a href="http://so.iautos.cn/usedcar/m-448.html" target="_blank">宝来</a> <a href="http://so.iautos.cn/usedcar/m-332.html" target="_blank">桑塔纳</a> <a href="http://so.iautos.cn/usedcar/k-baoma.html" target="_blank">宝马</a> <a href="http://so.iautos.cn/usedcar/m-382.html" target="_blank">雨燕</a> <a href="http://so.iautos.cn/usedcar/m-564.html" target="_blank">雅阁</a> <a href="http://so.iautos.cn/usedcar/m-311.html" target="_blank">爱丽舍</a> <a href="http://so.iautos.cn/usedcar/m-226.html" target="_blank">CRV</a> <a href="http://so.iautos.cn/usedcar/m-184.html" target="_blank">骊威</a> <a href="http://so.iautos.cn/usedcar/m-266.html" target="_blank">高尔夫</a></small></div></li></ol></ul></div></div></body></html>'; 61 Yii::app()->end(); 62 } 63 64 $earea = Yii::app()->request->getParam('area_py') ? Yii::app()->request->getParam('area_py') : (Yii::app()->request->getParam('city_py') ? Yii::app()->request->getParam('city_py') : (Yii::app()->request->getParam('province_py') ? Yii::app()->request->getParam('province_py') : '')); 65 if ('' != $earea) { 66 if (!AreaService::isPinyinArea($earea)) { 67 throw new CHttpException(404); 68 } elseif (AreaService::isPinyinProper($earea)) { 69 $city = AreaService::getCityByProperPinyin($earea); 70 if (!empty($city['city_ename'])) { 71 $url = str_replace($earea, AreaService::getDirectProvince($city['city_ename']), Yii::app()->request->getHostInfo().Yii::app()->request->getUrl()); 72 header('Location: '.$url); 73 exit(0); 74 } else { 75 throw new CHttpException(404); 76 } 77 } else { 78 $this->guestLocation = GuestLocation::getInstance()->setLocationByPinyin($earea); 79 }
#0 |
+
–
/home/web/iautos.cn/m_prod/20240102-100321/yiiframework/web/CWebApplication.php(359): Controller->__construct("so", null) 354 require($classFile); 355 if(class_exists($className,false) && is_subclass_of($className,'CController')) 356 { 357 $id[0]=strtolower($id[0]); 358 return array( 359 new $className($controllerID.$id,$owner===$this?null:$owner), 360 $this->parseActionParams($route), 361 ); 362 } 363 return null; 364 } |
#1 |
+
–
/home/web/iautos.cn/m_prod/20240102-100321/yiiframework/web/CWebApplication.php(276): CWebApplication->createController("so/index") 271 * @param string $route the route of the current request. See {@link createController} for more details. 272 * @throws CHttpException if the controller could not be created. 273 */ 274 public function runController($route) 275 { 276 if(($ca=$this->createController($route))!==null) 277 { 278 list($controller,$actionID)=$ca; 279 $oldController=$this->_controller; 280 $this->_controller=$controller; 281 $controller->init(); |
#2 |
+
–
/home/web/iautos.cn/m_prod/20240102-100321/yiiframework/web/CWebApplication.php(141): CWebApplication->runController("so/index") 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. |
#3 |
+
–
/home/web/iautos.cn/m_prod/20240102-100321/yiiframework/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 /** |
#4 |
+
–
/home/web/iautos.cn/m_prod/20240102-100321/index.php(25): CApplication->run() 20 $app = Yii::createWebApplication($config); 21 //m.car.iautos.cn 22 if ($_SERVER['HTTP_HOST'] == $app->params['baidu']['host']) { 23 $app->defaultController = 'baidu'; 24 } 25 $app->run(); 26 /****** 被修改 end *****/ |