CHttpException

Невозможно обработать запрос "blog/18-ways-to-boost-hotel-bookings-2".

/var/www/html/core/web/CWebApplication.php(286)

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();
282             $controller->run($actionID);
283             $this->_controller=$oldController;
284         }
285         else
286             throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".',
287                 array('{route}'=>$route===''?$this->defaultController:$route)));
288     }
289 
290     /**
291      * Creates a controller instance based on a route.
292      * The route should contain the controller ID and the action ID.
293      * It may also contain additional GET variables. All these must be concatenated together with slashes.
294      *
295      * This method will attempt to create a controller in the following order:
296      * <ol>
297      * <li>If the first segment is found in {@link controllerMap}, the corresponding
298      * controller configuration will be used to create the controller;</li>

Stack Trace

#2
+
 /var/www/html/index.php(31): CApplication->run()
26 
27 if (YII_DEBUG === true) {
28     Yii::beginProfile('application');
29 };
30 
31 Yii::createWebApplication($config)->run();
32 
33 if (!empty($test_data) && defined('YII_DEBUG') && YII_DEBUG === true) {
34     echo "<!--\r\n";
35     print_r($test_data);
36     echo "\r\n-->";
2024-03-29 17:13:07 Apache/2.4.38 (Debian) Yii Framework/1.1.21-dev