[0] HttpException in Url.php line 73

控制器不存在:73126.aspx

  1. // echo('<br>=====start $controller=====<br>');
  2. // print_r( $controller);
  3. // echo('<br>======end======<br>');
  4. if(is_numeric($controller)){//这里 如果为数字就会报错 重新设置一下
  5. $controller = 'aaa' . $controller;
  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 73
  2. at Url->parseUrl('Item|73126.aspx') in Url.php line 23
  3. at Url->init() in App.php line 402
  4. at App->run() in index.php line 27

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_HOST www.4yjd.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME 28.com
SERVER_PORT 80
SERVER_ADDR 154.216.12.144
REMOTE_PORT 59520
REMOTE_ADDR 34.230.84.106
SERVER_SOFTWARE nginx/1.24.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/28.com/public
DOCUMENT_URI /index.php
REQUEST_URI /Item/73126.aspx
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/Item/73126.aspx
SCRIPT_FILENAME /www/wwwroot/28.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710845692.8489
REQUEST_TIME 1710845692
Environment Variablesempty
ThinkPHP Constants
LOTUS_ROOT /www/wwwroot/28.com/public/../
APP_PATH /www/wwwroot/28.com/public/../application/
DS /
LOTUS_VERSION 5.0