#0 [0]HttpException in Url.php line 62

控制器不存在:javascritp-void(0);

  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-z0-9][\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('javascritp-void(0);') in Url.php line 31
  3. at Url->__construct(object(Request), object(Domain), 'javascritp-void(0);') in Route.php line 832
  4. at Route->url('javascritp-void(0);') in Route.php line 790
  5. at Route->check() in Route.php line 750
  6. at Route->dispatch(object(Request), object(Closure)) in Http.php line 210
  7. at Http->dispatchToRoute(object(Request)) in Http.php line 200
  8. at Http->think\{closure}(object(Request)) in Pipeline.php line 59
  9. at Pipeline->think\{closure}(object(Request)) in MultiApp.php line 65
  10. at MultiApp->handle(object(Request), object(Closure))
  11. at call_user_func([object(MultiApp), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  12. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 84
  13. at Pipeline->think\{closure}(object(Request)) in SessionInit.php line 67
  14. at SessionInit->handle(object(Request), object(Closure))
  15. at call_user_func([object(SessionInit), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  16. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 84
  17. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 65
  18. at Pipeline->then(object(Closure)) in Http.php line 201
  19. at Http->runWithRequest(object(Request)) in Http.php line 162
  20. at Http->run() in index.php line 25

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER
www
HOME
/home/www
SCRIPT_NAME
/index.php
REQUEST_URI
/javascritp-void(0);
QUERY_STRING
REQUEST_METHOD
GET
SERVER_PROTOCOL
HTTP/1.1
GATEWAY_INTERFACE
CGI/1.1
REDIRECT_URL
/javascritp-void(0);
REMOTE_PORT
20000
SCRIPT_FILENAME
/www/wwwroot/2020.danji.shop/public/index.php
SERVER_ADMIN
webmaster@example.com
CONTEXT_DOCUMENT_ROOT
/www/wwwroot/2020.danji.shop/public
CONTEXT_PREFIX
REQUEST_SCHEME
http
DOCUMENT_ROOT
/www/wwwroot/2020.danji.shop/public
REMOTE_ADDR
154.210.69.165
SERVER_PORT
80
SERVER_ADDR
192.168.0.35
SERVER_NAME
www.junkaidq.cn
SERVER_SOFTWARE
Apache
SERVER_SIGNATURE
<address>Apache Server at www.junkaidq.cn Port 80</address>
LD_LIBRARY_PATH
/www/server/apache/lib
PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_ACCEPT_ENCODING
deflate, gzip
HTTP_ACCEPT
*/*
HTTP_HOST
www.junkaidq.cn
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
proxy-nokeepalive
1
REDIRECT_STATUS
200
REDIRECT_PATH_INFO
javascritp-void(0);
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1604043851.3018
REQUEST_TIME
1604043851