Controller read and action 23 not existed!
- E:\www-data\www_ewook_com\SpeedPHP\Core\spController.php on line 43
38.
}
39.
40.
public static function dispatch_error($controller,$type){
41.
if(SP_DEBUG){
42.
global $__controller, $__action;
43.
44.
spError("Controller ".htmlspecialchars($__controller)." and action ".htmlspecialchars($__action)." not existed!");
}else{
45.
$action = "error_".$type;
46.
$handle_controller = spClass($controller, null, $GLOBALS['G_SP']["controller_path"].'/'.$controller.".php");
47.
$handle_controller->$action();
48.
}
- E:\www-data\www_ewook_com\SpeedPHP\spFunctions.php on line 17
12.
spLaunch("router_prefilter");
13.
// 对将要访问的控制器类进行实例化
14.
$handle_controller = spClass($__controller, null, $GLOBALS['G_SP']["controller_path"].'/'.$__controller.".php");
15.
// 调用控制器出错将调用路由错误处理函数
16.
if(!is_object($handle_controller) || !method_exists($handle_controller, $__action)){
17.
18.
eval($GLOBALS['G_SP']["dispatcher_error"]);
exit;
19.
}
20.
// 路由并执行用户代码
21.
$handle_controller->$__action();
22.
// 控制器程序运行完毕,进行模板的自动输出