CHttpException

The system is unable to find the requested action "terms-of-service.html".

/var/www/new_edujump_website/framework/web/CController.php(486)

474         return $this->createActionFromMap($map,$actionID,$requestActionID,$config);
475     }
476 
477     /**
478      * Handles the request whose action is not recognized.
479      * This method is invoked when the controller cannot find the requested action.
480      * The default implementation simply throws an exception.
481      * @param string $actionID the missing action name
482      * @throws CHttpException whenever this method is invoked
483      */
484     public function missingAction($actionID)
485     {
486         throw new CHttpException(404,Yii::t('yii','The system is unable to find the requested action "{action}".',
487             array('{action}'=>$actionID==''?$this->defaultAction:$actionID)));
488     }
489 
490     /**
491      * @return CAction the action currently being executed, null if no active action.
492      */
493     public function getAction()
494     {
495         return $this->_action;
496     }
497 
498     /**

Stack Trace

#4
+
 /var/www/new_edujump_website/public/protected/components/WebApplicationEndBehavior.php(25): CApplication->run()
20     // Attach the changeModulePaths event handler
21     // and raise it.
22     $this->onModuleCreate = array($this, 'changeModulePaths');
23     $this->onModuleCreate(new CEvent($this->owner));
24 
25     $this->owner->run(); // Run application.
26   }
27 
28   // This event should be raised when CWebApplication
29   // or CWebModule instances are being initialized.
30   public function onModuleCreate($event)
#6
+
 /var/www/new_edujump_website/public/index.php(38): CComponent->__call("runEnd", array("site"))
33 define('PUBLIC_PATH', realpath(BASE_PATH . '/public'));
34 
35 error_reporting(0);
36 
37 require_once($yii);
38 Yii::createWebApplication($config)->runEnd('site');
2024-03-29 04:06:05 Apache/2.4.18 (Ubuntu) Yii Framework/1.1.22