Exception: FLEA_Exception_MissingAction
Message: 缺少控制器方法 "movie::listmovie()".
Filename: /var/www/www.kuuboo.com/FLEA/FLEA/Dispatcher/Simple.php [77]
#4 FLEA_Dispatcher_Simple::_executeAction('movie', 'listmovie', 'Controller_movie')
ARGS:
Array
(
[0] => movie
[1] => listmovie
[2] => Controller_movie
)
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: /var/www/www.kuuboo.com/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: /var/www/www.kuuboo.com/inc/config/begin.cfg.php [49]
#2 FLEA::runMVC()
ARGS:
Array
(
)
SOURCE CODE:
| 39 |
);
|
| 40 |
/**
|
| 41 |
* 指定数据库连接设置,TableDataGateway 会自动取出 dbDSN 设置来连接数据库。
|
| 42 |
* FLEA::loadAppInf() 会用开发者指定的应用程序设置覆盖 FleaPHP 提供的默认设置。
|
| 43 |
* 开发者可以使用 FLEA::getAppInf() 取出任意应用程序设置。
|
| 44 |
*/
|
| 45 |
|
| 46 |
FLEA::setAppInf('urlMode',URL_REWRITE);
|
| 47 |
FLEA::loadAppInf($appInf);
|
| 48 |
FLEA::import(AppPath);
|
| 49 |
FLEA::runMVC();
|
| 50 |
?> |
Filename: /var/www/www.kuuboo.com/index.php [10]
#1 require_once('/var/www/www.kuuboo.com/inc ...')
ARGS:
Array
(
[0] => /var/www/www.kuuboo.com/inc/config/begin.cfg.php
)
SOURCE CODE:
| 1 |
<?php
|
| 2 |
//session_start();
|
| 3 |
//if($_SESSION["GUEST"]<>'A')
|
| 4 |
//{
|
| 5 |
// $_SESSION["GUEST"]='A';
|
| 6 |
// header("Location:http://www.kuuboo.com/index.html");
|
| 7 |
// exit();
|
| 8 |
//}
|
| 9 |
define('DEBUG','0');DEBUG?error_reporting(7):error_reporting(0);DEBUG?ini_set('display_errors',1):'';
|
| 10 |
require_once("inc/config/begin.cfg.php");
|
| 11 |
?> |