[0] HttpException in Url.php line 63

控制器不存在:1417.cshtml

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

Call Stack

  1. in Url.php line 63
  2. at Url->parseUrl('news|1417.cshtml') in Url.php line 23
  3. at Url->init() in App.php line 401
  4. at App->run() in index.php line 24

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_HOST cdzyd.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME cdzyd.com
SERVER_PORT 443
SERVER_ADDR 172.24.98.111
REMOTE_PORT 43570
REMOTE_ADDR 54.165.248.212
SERVER_SOFTWARE nginx/1.20.1
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/yspx.org.cn
DOCUMENT_URI /index.php
REQUEST_URI /news/1417.cshtml
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/news/1417.cshtml
SCRIPT_FILENAME /www/wwwroot/yspx.org.cn/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711636330.8138
REQUEST_TIME 1711636330
Environment Variablesempty
ThinkPHP Constants
QINIU_FUNCTIONS_VERSION 7.2.5