请求的控制器 Japanese 的动作
fatherurls6 没有定义
详细错误原因:
您请求访问控制器
Japanese
的动作
fatherurls6。
但该控制器的类定义文件
/www/web/chikara/kyujin/public_html
中没有定义动作
fatherurls6
对应的方法
actionfatherurls6。
调用参数 :
Array
(
[controller] => Japanese
[action] => <!--{$father_urls[6]}-->
)
解决:
请检查文件
/www/web/chikara/kyujin/public_html
中定义的
Controller_Japanese 类是否编写了
actionfatherurls6 方法。
[Copy To Clipboard]
<?php
//
class Controller_Japanese extends FLEA_Controller_Action
{
function actionfatherurls6()
{
}
}
Exception: FLEA_Exception_MissingAction
Message: 缺少控制器方法 "Japanese::fatherurls6()".
Filename: /www/web/chikara/kyujin/public_html/FLEA/FLEA/Dispatcher/Simple.php [77]
#3 FLEA_Dispatcher_Simple::_executeAction('Japanese', 'fatherurls6', 'Controller_Japanese')
ARGS:
Array
(
[0] => Japanese
[1] => fatherurls6
[2] => Controller_Japanese
)
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/chikara/kyujin/public_html/FLEA/FLEA.php [816]
#2 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/chikara/kyujin/public_html/index.php [12]
#1 FLEA::runMVC()
ARGS:
Array
(
)
SOURCE CODE:
| 2 |
/**
|
| 3 |
* @Index Config file
|
| 4 |
*/
|
| 5 |
require('FLEA/FLEA.php');
|
| 6 |
|
| 7 |
FLEA::loadAppInf('_Shared/APP_INF.php');
|
| 8 |
|
| 9 |
FLEA::import(dirname(__FILE__).'/APP');
|
| 10 |
|
| 11 |
FLEA::runMVC();
|
| 12 |
|
| 13 |
?> |