[0] HttpException in Url.php line 59

控制器不存在:2013-4-10

  1. // 解析模块
  2. $module = $this->app->config('app_multi_module') ? array_shift($path) : null;
  3. if ($this->param['auto_search']) {
  4. $controller = $this->autoFindController($module, $path);
  5. } else {
  6. // 解析控制器
  7. $controller = !empty($path) ? array_shift($path) : null;
  8. if ($controller && !preg_match('/^[A-Za-z][\w|\.]*$/', $controller)) {
  9. throw new HttpException(404, 'controller not exists:' . $controller);
  10. }
  11. }
  12. // 解析操作
  13. $action = !empty($path) ? array_shift($path) : null;
  14. // 解析额外参数
  15. if ($path) {
  16. if ($this->app['config']->get('url_param_type')) {

Call Stack

  1. in Url.php line 59
  2. at Url->parseUrl('news|2013-4-10|174') in Url.php line 24
  3. at Url->run() in App.php line 350
  4. at App->run() in index.php line 23

Environment Variables

GET Data
/news/2013-4-10/174_html
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER ensouthdrive
HOME /home/wwwroot/ensouthdrive
SCRIPT_NAME /index.php
REQUEST_URI /news/2013-4-10/174.html
QUERY_STRING /news/2013-4-10/174.html
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.0
GATEWAY_INTERFACE CGI/1.1
REDIRECT_QUERY_STRING /news/2013-4-10/174.html
REDIRECT_URL /news/2013-4-10/174.html
REMOTE_PORT 47880
SCRIPT_FILENAME /home/wwwroot/ensouthdrive/wwwroot/index.php
SERVER_ADMIN [no address given]
CONTEXT_DOCUMENT_ROOT /home/wwwroot/ensouthdrive/wwwroot
CONTEXT_PREFIX
REQUEST_SCHEME http
DOCUMENT_ROOT /home/wwwroot/ensouthdrive/wwwroot
REMOTE_ADDR 44.213.75.78
SERVER_PORT 80
SERVER_ADDR 127.0.0.1
SERVER_NAME en.southdrive.net
SERVER_SOFTWARE Apache
SERVER_SIGNATURE
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_CONNECTION close
HTTP_HOST en.southdrive.net
HTTP_X_REAL_IP 44.213.75.78
proxy-nokeepalive 1
REDIRECT_STATUS 200
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711669328.0091
REQUEST_TIME 1711669328
PATH_INFO /news/2013-4-10/174.html
Environment Variablesempty
ThinkPHP Constants
APP_PATH /home/wwwroot/ensouthdrive/wwwroot/application/
__ROOT__