CHttpException

Невозможно обработать запрос "katalog/katalog-shin/item/1659-michelin-x-ice-3-235-55r17-99h-2380000-руб".

/var/www/avtokolesnica/data/www/framework/web/CUrlManager.php(374)

362         if($this->getUrlFormat()===self::PATH_FORMAT)
363         {
364             $rawPathInfo=$request->getPathInfo();
365             $pathInfo=$this->removeUrlSuffix($rawPathInfo,$this->urlSuffix);
366             foreach($this->_rules as $i=>$rule)
367             {
368                 if(is_array($rule))
369                     $this->_rules[$i]=$rule=Yii::createComponent($rule);
370                 if(($r=$rule->parseUrl($this,$request,$pathInfo,$rawPathInfo))!==false)
371                     return isset($_GET[$this->routeVar]) ? $_GET[$this->routeVar] : $r;
372             }
373             if($this->useStrictParsing)
374                 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".',
375                     array('{route}'=>$pathInfo)));
376             else
377                 return $pathInfo;
378         }
379         elseif(isset($_GET[$this->routeVar]))
380             return $_GET[$this->routeVar];
381         elseif(isset($_POST[$this->routeVar]))
382             return $_POST[$this->routeVar];
383         else
384             return '';
385     }
386 

Stack Trace

#2
+
 /var/www/avtokolesnica/data/www/avtokolesnica.by/index.php(7): CApplication->run()
2 // include Yii bootstrap file
3 defined('YII_DEBUG') or define('YII_DEBUG',true);
4 require_once(dirname(__FILE__).'/../framework/yii.php');
5 $config=dirname(__FILE__).'/protected/config/frontend.php';
6 // create a Web application instance and run
7 Yii::createWebApplication($config)->run();
8 ?>
2024-03-28 18:57:57 Apache/2.4.6 (CentOS) mpm-itk/2.4.7-04 OpenSSL/1.0.2k-fips PHP/5.4.16 Yii Framework/1.1.17