#0 [0]RuntimeException in File.php line 42

File must be readable.

  1. }
  2. public function setFile($file, string $contentDisposition = null, bool $autoEtag = true, bool $autoLastModified = true, bool $autoContentType = true)
  3. {
  4. if (!$file instanceof SplFileInfo) {
  5. $file = new SplFileInfo((string) $file);
  6. }
  7. if (!$file->isReadable()) {
  8. throw new RuntimeException('File must be readable.');
  9. }
  10. $this->header['Content-Length'] = $file->getSize();
  11. $this->file = $file;
  12. if ($autoEtag) {
  13. $this->setAutoEtag();
  14. }

Call Stack

  1. in File.php line 42
  2. at File->setFile() in File.php line 27
  3. at File->__construct() in app.php line 33
  4. at Http->{closure}() in Container.php line 295
  5. at Container->invokeFunction() in Container.php line 359
  6. at Container->invoke() in Callback.php line 27
  7. at Callback->exec() in Dispatch.php line 52
  8. at Dispatch->run() in Route.php line 755
  9. at Route->think\{closure}() in Pipeline.php line 59
  10. at Pipeline->think\{closure}() in Pipeline.php line 66
  11. at Pipeline->then() in Route.php line 756
  12. at Route->dispatch() in Http.php line 208
  13. at Http->dispatchToRoute() in Http.php line 198
  14. at Http->think\{closure}() in Pipeline.php line 59
  15. at Pipeline->think\{closure}() in AllowCrossDomain.php line 61
  16. at AllowCrossDomain->handle()
  17. at call_user_func() in Middleware.php line 134
  18. at Middleware->think\{closure}() in Pipeline.php line 85
  19. at Pipeline->think\{closure}() in InteractsWithVarDumper.php line 30
  20. at InteractsWithVarDumper->handle()
  21. at call_user_func() in Middleware.php line 134
  22. at Middleware->think\{closure}() in Pipeline.php line 85
  23. at Pipeline->think\{closure}() in SwooleMiddleware.php line 55
  24. at SwooleMiddleware->handle()
  25. at call_user_func() in Middleware.php line 134
  26. at Middleware->think\{closure}() in Pipeline.php line 85
  27. at Pipeline->think\{closure}() in DkMiddleware.php line 40
  28. at DkMiddleware->handle()
  29. at call_user_func() in Middleware.php line 134
  30. at Middleware->think\{closure}() in Pipeline.php line 85
  31. at Pipeline->think\{closure}() in SessionInit.php line 58
  32. at SessionInit->handle()
  33. at call_user_func() in Middleware.php line 134
  34. at Middleware->think\{closure}() in Pipeline.php line 85
  35. at Pipeline->think\{closure}() in LoadLangPack.php line 53
  36. at LoadLangPack->handle()
  37. at call_user_func() in Middleware.php line 134
  38. at Middleware->think\{closure}() in Pipeline.php line 85
  39. at Pipeline->think\{closure}() in CheckRequestCache.php line 94
  40. at CheckRequestCache->handle()
  41. at call_user_func() in Middleware.php line 134
  42. at Middleware->think\{closure}() in Pipeline.php line 85
  43. at Pipeline->think\{closure}() in TraceDebug.php line 71
  44. at TraceDebug->handle()
  45. at call_user_func() in Middleware.php line 134
  46. at Middleware->think\{closure}() in Pipeline.php line 85
  47. at Pipeline->think\{closure}() in Pipeline.php line 66
  48. at Pipeline->then() in Http.php line 199
  49. at Http->runWithRequest() in Http.php line 162
  50. 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
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT */*
HTTP_HOST duokeshop.xyz
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME duokeshop.xyz
SERVER_PORT 443
SERVER_ADDR 10.0.3.68
REMOTE_PORT 33255
REMOTE_ADDR 52.14.76.200
SERVER_SOFTWARE nginx/1.22.1
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/www.duokeshop.xyz/public
DOCUMENT_URI /index.php
REQUEST_URI /assets/js/lib/axios/axios.min.map
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/assets/js/lib/axios/axios.min.map
SCRIPT_FILENAME /www/wwwroot/www.duokeshop.xyz/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1744793175.0869
REQUEST_TIME 1744793175