[0] HttpException in Url.php line 62

控制器不存在:产品名称-3

  1. $path = $this->rule->parseUrlPath($url);
  2. if (empty($path)) {
  3. return [null, null];
  4. }
  5. // 解析控制器
  6. $controller = !empty($path) ? array_shift($path) : null;
  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. $var = [];
  13. // 解析额外参数
  14. if ($path) {
  15. preg_replace_callback('/(\w+)\|([^\|]+)/', function ($match) use (&$var) {

Call Stack

  1. in Url.php line 62
  2. at Url->parseUrl() in Url.php line 31
  3. at Url->__construct() in Route.php line 840
  4. at Route->url() in Route.php line 805
  5. at Route->check() in Route.php line 733
  6. at Route->think\{closure}() in Route.php line 741
  7. at Route->dispatch() in Http.php line 194
  8. at Http->runWithRequest() in Http.php line 146
  9. at Http->run() in index.php line 22

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_HOST www.tswl.net
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.tsyxart.com
SERVER_PORT 80
SERVER_ADDR 192.168.0.49
REMOTE_PORT 34652
REMOTE_ADDR 54.167.199.134
SERVER_SOFTWARE nginx/1.24.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/www.tsyxart.com/public
DOCUMENT_URI /index.php
REQUEST_URI /%E4%BA%A7%E5%93%81%E5%90%8D%E7%A7%B0-3
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/%E4%BA%A7%E5%93%81%E5%90%8D%E7%A7%B0-3
SCRIPT_FILENAME /www/wwwroot/www.tsyxart.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711715425.3923
REQUEST_TIME 1711715425
Environment Variablesempty
ThinkPHP Constantsempty