#1 miss11
路由错误,请检查控制器目录下是否存在该控制器/动作。- D:\zzz\7312398.com\SpeedPHP\spFunctions.php on line 17
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. eval($GLOBALS['G_SP']["dispatcher_error"]);
18. exit;
19. }
20. // 路由并执行用户代码
21. $handle_controller->$__action();
22. // 控制器程序运行完毕,进行模板的自动输出
- D:\zzz\7312398.com\index.php on line 44
40. import('ss.php');
41. import('rd.php');
42.
43. import(APP_PATH.'/config.php');
44. spRun(); // SpeedPHP 3新特性
不知道什么问题了就大神解惑
环境是iis
首页不带index.php 访问就出现这个 ,带index.php 访问正常,内页什么什么伪静态 都正常
.htaccess文件中的内容如下:
- RewriteEngine On
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule ^(.*)$ index.php?$1 [L]
- RewriteEngine On
2016-06-15 15:14:36