Exception: FLEA_Exception_MissingController
Message: 缺少控制器 "category".
Filename: /usr/home/hmu219298/htdocs/lib/FLEA/FLEA/Dispatcher/Simple.php [77]
#4 FLEA_Dispatcher_Simple::_executeAction('category', 'index', 'controller_category')
ARGS:
Array
(
[0] => category
[1] => index
[2] => controller_category
)
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/hmu219298/htdocs/lib/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 |
static $firstTime = true;
|
| 826 |
|
Filename: /usr/home/hmu219298/htdocs/lib/FLEA/FLEA/Compatibility.php [263]
#2 FLEA::runMVC()
ARGS:
Array
(
)
SOURCE CODE:
| 253 |
FLEA::init();
|
| 254 |
}
|
| 255 |
|
| 256 |
/**
|
| 257 |
* FLEA 应用程序入口(已经过时,用 FLEA::runMVC() 代替)
|
| 258 |
*
|
| 259 |
* @deprecated
|
| 260 |
*/
|
| 261 |
function run()
|
| 262 |
{
|
| 263 |
FLEA::runMVC();
|
| 264 |
}
|
| 265 |
|
| 266 |
/**
|
| 267 |
* 初始化 Ajax,返回 FLEA_Ajax 对象实例(已经过时,用 FLEA::initAjax() 代替)
|
| 268 |
*
|
| 269 |
* @return FLEA_Ajax
|
| 270 |
* @deprecated
|
| 271 |
*/
|
| 272 |
function & init_ajax()
|
| 273 |
{
|
Filename: /usr/home/hmu219298/htdocs/index.php [38]
#1 run()
ARGS:
SOURCE CODE:
| 28 |
)
|
| 29 |
|
| 30 |
);
|
| 31 |
|
| 32 |
FLEA::setAppInf('controllerAccessor', 'c');
|
| 33 |
FLEA::setAppInf('actionAccessor', 'a');
|
| 34 |
FLEA::setAppInf('logEnabled', false);//关闭日志记录
|
| 35 |
FLEA::loadAppInf(APP.'config/smarty_config.php');
|
| 36 |
FLEA::import(APP);
|
| 37 |
FLEA::init();
|
| 38 |
run();
|
| 39 |
?>
|