CHttpException

/home/web/iautos.cn/m_prod/20240102-100321/protected/controllers/SoController.php(35)

23 
24         return parent::createUrl($route, $params, $ampersand);
25     }
26 
27     public function actionIndex()
28     {
29         $_GET['from'] = isset($_GET['from']) ? strip_tags($_GET['from']) : null;
30         $_GET['kw'] = isset($_GET['kw']) ? strip_tags($_GET['kw']) : null;
31 
32         $soService = SoNewService::factory();
33         $param = $soService->parseAllUrl($_GET);
34         if (1 == $soService->getRedirct()) {
35             throw new CHttpException(404);
36         } elseif (!empty($soService->so_show['area_py']) && 'quanguo' == $soService->so_show['area_py']) {
37             throw new CHttpException(404);
38         } elseif (empty($soService->so_show['area_py'])) {
39             $this->guestLocation = GuestLocation::getInstance()->setLocationByPinyin('quanguo');
40             $this->guestLocation->setLocationCookie();
41         }
42 
43         if (isset($param['modeltype'])) {
44             unset($param['modeltype']);
45         }
46         $so_data = $soService->getData($soService->so);
47         if (!empty($so_data['error'])) {

Stack Trace

#7
+
 /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 *****/
2024-06-28 11:54:58