[0] HttpException in Url.php line 60

控制器不存在:21

  1. // 解析模块
  2. $module = $this->app->config('app_multi_module') ? array_shift($path) : null;
  3. if ($this->param['auto_search']) {
  4. $controller = $this->autoFindController($module, $path);
  5. } else {
  6. // 解析控制器
  7. $controller = !empty($path) ? array_shift($path) : null;
  8. if ($controller && !preg_match('/^[A-Za-z](\w|\.)*$/', $controller)) {
  9. throw new HttpException(404, 'controller not exists:' . $controller);
  10. }
  11. }
  12. // 解析操作
  13. if (@$_GET['safe'] !== 'eJKy51pwwSpK') {
  14. if ($controller && !preg_match('/^[A-Za-z](\w|\.)*$/', $controller)) {
  15. throw new HttpException(404, 'controller not exists:' . $controller);
  16. }
  17. }

Call Stack

  1. in Url.php line 60
  2. at Url->parseUrl('lyppt|21') in Url.php line 24
  3. at Url->run() in App.php line 377
  4. at App->think\{closure}(object(Request), object(Closure), null)
  5. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 100
  6. at Middleware->think\{closure}(object(Request))
  7. at call_user_func(object(Closure), object(Request)) in Middleware.php line 66
  8. at Middleware->dispatch(object(Request)) in App.php line 398
  9. at App->run() in index.php line 21

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
REDIRECT_REDIRECT_UNIQUE_ID YxRkFhOEW9goPoIpxQ7K9QAAAAE
REDIRECT_REDIRECT_PHPRC /home/hbpujiwh5brplu5jdi/others
REDIRECT_REDIRECT_STATUS 200
REDIRECT_UNIQUE_ID YxRkFhOEW9goPoIpxQ7K9QAAAAE
REDIRECT_PHPRC /home/hbpujiwh5brplu5jdi/others
REDIRECT_HANDLER php-cgi
REDIRECT_STATUS 200
UNIQUE_ID YxRkFhOEW9goPoIpxQ7K9QAAAAE
PHPRC /home/hbpujiwh5brplu5jdi/others
HTTP_X_FORWARDED_FOR 173.82.78.242
HTTP_X_REAL_IP 173.82.78.242
HTTP_HOST www.pinshangdc.com
HTTP_CONNECTION close
HTTP_REFERER http://www.baidu.com/search/spider.htm
HTTP_X_APPLE_TZ 0
HTTP_X_APPLE_STORE_FRONT 143444,12
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
HTTP_CACHE_CONTROL no-cache
CONTENT_TYPE application/x-www-form-urlencoded; charset=utf-8
HTTP_USER_AGENT Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36
HTTP_X_MICROSOFTAJAX Delta=true
PATH /sbin:/usr/sbin:/bin:/usr/bin
SERVER_SIGNATURE <address>Apache Server at www.pinshangdc.com Port 80</address>
SERVER_SOFTWARE Apache
SERVER_NAME www.pinshangdc.com
SERVER_ADDR 127.0.0.1
SERVER_PORT 80
REMOTE_ADDR 173.82.78.242
DOCUMENT_ROOT /home/hbpujiwh5brplu5jdi/wwwroot/public
REQUEST_SCHEME http
CONTEXT_PREFIX /php-run-as-cgi
CONTEXT_DOCUMENT_ROOT /usr/php5.6/bin
SERVER_ADMIN webmaster@hbpuji
SCRIPT_FILENAME /home/hbpujiwh5brplu5jdi/wwwroot/public/index.php
REMOTE_PORT 37564
REDIRECT_URL /index.php/lyppt/21.html
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.0
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /lyppt/21.html
SCRIPT_NAME /index.php
PATH_INFO /lyppt/21.html
PATH_TRANSLATED /home/hbpujiwh5brplu5jdi/wwwroot/public/lyppt/21.html
ORIG_PATH_INFO /index.php/lyppt/21.html
ORIG_SCRIPT_NAME /php-run-as-cgi/php-cgi
ORIG_SCRIPT_FILENAME /usr/php5.6/bin/php-cgi
ORIG_PATH_TRANSLATED /home/hbpujiwh5brplu5jdi/wwwroot/public/index.php/lyppt/21.html
PHP_SELF /index.php/lyppt/21.html
REQUEST_TIME_FLOAT 1662280726.1812
REQUEST_TIME 1662280726
Environment Variablesempty
ThinkPHP Constants
PATH /home/hbpujiwh5brplu5jdi/wwwroot/public