[0] HttpException in Url.php line 64

控制器不存在:single-product

  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() in Url.php line 23
  3. at Url->init() in App.php line 402
  4. at App->run() in index.php line 34

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER php
HOME /home/php
HTTP_HOST opine.cn
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
REDIRECT_STATUS 200
SERVER_NAME admin.opine.cn
SERVER_PORT 80
SERVER_ADDR 10.61.199.239
REMOTE_PORT 56604
REMOTE_ADDR 44.221.43.88
SERVER_SOFTWARE nginx/1.18.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /data/wwwroot/opine2020/public
DOCUMENT_URI /index.php//single-product.html
REQUEST_URI /single-product.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
PATH_INFO //single-product.html
REQUEST_PROTO http://
SCRIPT_FILENAME /data/wwwroot/opine2020/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php//single-product.html
REQUEST_TIME_FLOAT 1711672814.2572
REQUEST_TIME 1711672814
Environment Variablesempty
ThinkPHP Constants
UPLOAD_IMAGE_PATH /data/wwwroot/abc/public/uploads/
WWW_SITE_ROOT /data/wwwroot/abc/public