[0] HttpException in Url.php line 64

控制器不存在:news-detail

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

Call Stack

  1. in Url.php line 64
  2. at Url->parseUrl('sites|news-detail') in Url.php line 23
  3. at Url->init() in App.php line 402
  4. at App->run() in index.php line 23

Environment Variables

GET Data
newsid 29
token 1558897393
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER apache
HOME /usr/share/httpd
HTTP_HOST www.skinrun.me
HTTP_REFERER http://www.skinrun.me/sites/news-detail.html?newsid=29&token=1558897393
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
REDIRECT_STATUS 200
SERVER_NAME skinrun.me
SERVER_PORT 443
SERVER_ADDR 172.16.88.28
REMOTE_PORT 55056
REMOTE_ADDR 54.163.221.133
SERVER_SOFTWARE nginx/1.16.1
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /data/webroot/webroot/websites/public
DOCUMENT_URI /index.php
REQUEST_URI /sites/news-detail.html?newsid=29&token=1558897393
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/sites/news-detail.html&newsid=29&token=1558897393
SCRIPT_FILENAME /data/webroot/webroot/websites/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711666903.332
REQUEST_TIME 1711666903
Environment Variablesempty
ThinkPHP Constantsempty