CHttpException

Unable to resolve the request "website".

/srv/vhosts/ymtcps.edu.hk/yii-1.1.21.733ac5/framework/yiilite.php(1803)

1791     public function runController($route)
1792     {
1793         if(($ca=$this->createController($route))!==null)
1794         {
1795             list($controller,$actionID)=$ca;
1796             $oldController=$this->_controller;
1797             $this->_controller=$controller;
1798             $controller->init();
1799             $controller->run($actionID);
1800             $this->_controller=$oldController;
1801         }
1802         else
1803             throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".',
1804                 array('{route}'=>$route===''?$this->defaultController:$route)));
1805     }
1806     public function createController($route,$owner=null)
1807     {
1808         if($owner===null)
1809             $owner=$this;
1810         if((array)$route===$route || ($route=trim($route,'/'))==='')
1811             $route=$owner->defaultController;
1812         $caseSensitive=$this->getUrlManager()->caseSensitive;
1813         $route.='/';
1814         while(($pos=strpos($route,'/'))!==false)
1815         {

Stack Trace

#2
+
 /srv/vhosts/ymtcps.edu.hk/httpdocs/index.php(15): CApplication->run()
10 defined('YII_DEBUG') or define('YII_DEBUG',true);
11 // specify how many levels of call stack should be shown in each log message
12 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
13 
14 require_once($yii);
15 Yii::createWebApplication($config)->run();
2024-03-28 19:10:16 Apache Yii Framework/1.1.21