Exception: FLEA_Exception_MissingController
Message: 缺少控制器 "student".
Filename: /usr/home/byu2893280001/htdocs/libs/Flea/FLEA/Dispatcher/Simple.php [77]
#3 FLEA_Dispatcher_Simple::_executeAction('student', 'index', 'Controller_student')
ARGS:
Array
(
[0] => student
[1] => index
[2] => Controller_student
)
SOURCE CODE:
67 |
|
68 |
/**
|
69 |
* 从请求中分析 Controller、Action 和 Package 名字,然后执行指定的 Action 方法
|
70 |
*
|
71 |
* @return mixed
|
72 |
*/
|
73 |
function dispatching()
|
74 |
{
|
75 |
$controllerName = $this->getControllerName();
|
76 |
$actionName = $this->getActionName();
|
77 |
return $this->_executeAction($controllerName, $actionName, $this->getControllerClass($controllerName));
|
78 |
}
|
79 |
|
80 |
/**
|
81 |
* 执行指定的 Action 方法
|
82 |
*
|
83 |
* @param string $controllerName
|
84 |
* @param string $actionName
|
85 |
* @param string $controllerClass
|
86 |
*
|
87 |
* @return mixed
|
Filename: /usr/home/byu2893280001/htdocs/libs/Flea/FLEA.php [817]
#2 FLEA_Dispatcher_Simple::dispatching()
ARGS:
Array
(
)
SOURCE CODE:
807 |
require_once($MVCPackageFilename);
|
808 |
}
|
809 |
FLEA::init();
|
810 |
|
811 |
// 载入调度器并转发请求到控制器
|
812 |
$dispatcherClass = FLEA::getAppInf('dispatcher');
|
813 |
//dump($dispatcherClass);
|
814 |
FLEA::loadClass($dispatcherClass);
|
815 |
$dispatcher =& new $dispatcherClass($_GET);
|
816 |
FLEA::register($dispatcher, $dispatcherClass);
|
817 |
$dispatcher->dispatching();
|
818 |
}
|
819 |
|
820 |
/**
|
821 |
* 准备运行环境
|
822 |
*
|
823 |
* @param boolean $loadMVC
|
824 |
*/
|
825 |
function init($loadMVC = false)
|
826 |
{
|
827 |
static $firstTime = true;
|
Filename: /usr/home/byu2893280001/htdocs/index.php [77]
#1 FLEA::runMVC()
ARGS:
Array
(
)
SOURCE CODE:
67 |
|
68 |
}
|
69 |
|
70 |
if($_SESSION['language'] == 'wap'){
|
71 |
|
72 |
$_SESSION['language'] = 'wap';
|
73 |
FLEA::setAppInf('defaultController',$Inf['wapDefaultCtrl']);
|
74 |
|
75 |
}
|
76 |
|
77 |
FLEA::runMVC();
|
78 |
?> |