Err: Controller 'mainController' is not exists!
- D:\workplace\prism-risk-guard-api\protected\lib\speed.php on line 509
504.
}
505.
}
506.
function _err_router($msg){
507.
Global $__module, $__controller, $__action;
508.
if(!method_exists('BaseController', 'err404')){
509.
510.
err($msg);
}else{
511.
BaseController::err404($__module, $__controller, $__action, $msg);
512.
}
513.
}
514.
function _err_handle($errno, $errstr, $errfile, $errline){
- D:\workplace\prism-risk-guard-api\protected\lib\speed.php on line 80
75.
if(!empty($__module)){
76.
if(!is_available_classname($__module))_err_router("Err: Module '$__module' is not correct!");
77.
if(!is_dir(APP_DIR.DS.'protected'.DS.'controller'.DS.$__module))_err_router("Err: Module '$__module' is not exists!");
78.
}
79.
if(!is_available_classname($__controller))_err_router("Err: Controller '$controller_name' is not correct!");
80.
81.
if(!class_exists($controller_name, true))_err_router("Err: Controller '$controller_name' is not exists!");
if(!method_exists($controller_name, $action_name))_err_router("Err: Method '$action_name' of '$controller_name' is not exists!");
82.
83.
$controller_obj = new $controller_name();
84.
$controller_obj->$action_name();
85.
- D:\workplace\prism-risk-guard-api\index.php on line 19
14.
if ($_SERVER['REQUEST_METHOD'] === 'OPTIONS') {
15.
http_response_code(200);
16.
exit();
17.
}
18.
19.
require(APP_DIR.'/protected/lib/speed.php');