Exception: FLEA_Exception_MissingController
Message: Controller "news" is missing.
Filename: /www/web/oujieevcom/public_html/libs/FLEA/FLEA/Dispatcher/Simple.php [77]
#4 FLEA_Dispatcher_Simple::_executeAction('news', '20', 'Controller_News')
ARGS:
Array
(
[0] => news
[1] => 20
[2] => Controller_News
)
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: /www/web/oujieevcom/public_html/libs/FLEA/FLEA.php [816]
#3 FLEA_Dispatcher_Simple::dispatching()
ARGS:
Array
(
)
SOURCE CODE:
806 |
require_once($MVCPackageFilename);
|
807 |
}
|
808 |
FLEA::init();
|
809 |
|
810 |
// 载入调度器并转发请求到控制器
|
811 |
$dispatcherClass = FLEA::getAppInf('dispatcher');
|
812 |
FLEA::loadClass($dispatcherClass);
|
813 |
|
814 |
$dispatcher =& new $dispatcherClass($_GET);
|
815 |
FLEA::register($dispatcher, $dispatcherClass);
|
816 |
$dispatcher->dispatching();
|
817 |
}
|
818 |
|
819 |
/**
|
820 |
* 准备运行环境
|
821 |
*
|
822 |
* @param boolean $loadMVC
|
823 |
*/
|
824 |
function init($loadMVC = false)
|
825 |
{
|
826 |
static $firstTime = true;
|
Filename: /www/web/oujieevcom/public_html/apps/application.php [80]
#2 FLEA::runMVC()
ARGS:
Array
(
)
SOURCE CODE:
70 |
return new application($app);
|
71 |
|
72 |
}
|
73 |
|
74 |
/**
|
75 |
* 运行框架
|
76 |
*
|
77 |
*/
|
78 |
function run()
|
79 |
{
|
80 |
FLEA::runMVC();
|
81 |
|
82 |
|
83 |
}
|
84 |
}
|
85 |
|
86 |
/**
|
87 |
* 超时操作句柄
|
88 |
*
|
89 |
* @access public
|
90 |
* @return void
|
Filename: /www/web/oujieevcom/public_html/index.php [27]
#1 application::run()
ARGS:
Array
(
)
SOURCE CODE:
17 |
/**
|
18 |
* 载入应用入口
|
19 |
*/
|
20 |
require_once './apps/application.php';
|
21 |
/**
|
22 |
* 运行应用
|
23 |
*/
|
24 |
|
25 |
|
26 |
|
27 |
application::factory('front')->run();
|
28 |
|
29 |
|