[2] ErrorException in User.php line 1408

filesize(): stat failed for /www/wwwroot/telpokefushouhou/public/uploads/fujian/faq/Common File/临时/微信图片_20240618111111.png

  1. header($_SERVER["SERVER_PROTOCOL"] . " 200 OK");
  2. header("Cache-Control: public"); // needed for internet explorer
  3. header("Content-Type: ".$mimetype);
  4. header("Content-Transfer-Encoding: Binary");
  5. header("Content-Length:".filesize($attachment_location));
  6. header("Content-Disposition: attachment; filename=".basename($attachment_location));
  7. readfile($attachment_location);
  8. die();
  9. // $this->redirect($help->url);
  10. }

Call Stack

  1. in User.php line 1408
  2. at Error::appError(2, 'filesize(): stat fai...', '/www/wwwroot/telpoke...', 1408, ['key' => 'b4jCQHaks9TYX8AO', 'helpModel' => object(Help), 'help' => object(Help), ...])
  3. at filesize('/www/wwwroot/telpoke...') in User.php line 1408
  4. at User->fetfile()
  5. at ReflectionMethod->invokeArgs(object(User), []) in App.php line 343
  6. at App::invokeMethod([object(User), 'fetfile'], []) in App.php line 611
  7. at App::module(['index', 'user', 'fetfile'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 456
  8. at App::exec(['type' => 'module', 'module' => ['index', 'user', 'fetfile']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  9. at App::run() in start.php line 19
  10. at require('/www/wwwroot/telpoke...') in index.php line 23

Environment Variables

GET Data

key
b4jCQHaks9TYX8AO
POST Data
empty
Files
empty

Cookies

_vsid
6344ac86-03ea-4652-b1ef-a7dc0f7747ec

Session

guoji
{ "path": "faq\\", "full_path": "\/www\/wwwroot\/telpokefushouhou\/\\public\\uploads\\fujian\\faq" }

Server/Request Data

USER
www
HOME
/home/www
SCRIPT_NAME
/index.php
REQUEST_URI
/index/user/fetfile?key=b4jCQHaks9TYX8AO
QUERY_STRING
s=/index/user/fetfile&key=b4jCQHaks9TYX8AO
REQUEST_METHOD
GET
SERVER_PROTOCOL
HTTP/2.0
GATEWAY_INTERFACE
CGI/1.1
REDIRECT_QUERY_STRING
s=/index/user/fetfile&key=b4jCQHaks9TYX8AO
REDIRECT_URL
/index/user/fetfile
REMOTE_PORT
20593
SCRIPT_FILENAME
/www/wwwroot/telpokefushouhou/public/index.php
SERVER_ADMIN
webmaster@example.com
CONTEXT_DOCUMENT_ROOT
/www/wwwroot/telpokefushouhou/public
CONTEXT_PREFIX
REQUEST_SCHEME
https
DOCUMENT_ROOT
/www/wwwroot/telpokefushouhou/public
REMOTE_ADDR
18.119.112.208
SERVER_PORT
443
SERVER_ADDR
172.18.136.78
SERVER_NAME
service.telpo.com
SERVER_SOFTWARE
Apache
SERVER_SIGNATURE
<address>Apache Server at service.telpo.com Port 443</address>
LD_LIBRARY_PATH
/www/server/apache/lib:/www/server/apache/lib
PATH
/www/server/panel/pyenv/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/root/bin
HTTP_HOST
service.telpo.com
HTTP_COOKIE
_vsid=6344ac86-03ea-4652-b1ef-a7dc0f7747ec
HTTP_ACCEPT_ENCODING
gzip, br, zstd, deflate
HTTP_REFERER
https://service.telpo.com:8093/index/user/fetfile?key=b4jCQHaks9TYX8AO
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT
*/*
proxy-nokeepalive
1
H2_STREAM_TAG
3248370-2067-3
H2_STREAM_ID
3
H2_PUSHED_ON
H2_PUSHED
H2_PUSH
off
H2PUSH
off
HTTP2
on
SSL_TLS_SNI
service.telpo.com
HTTPS
on
REDIRECT_STATUS
200
REDIRECT_H2_STREAM_TAG
3248370-2067-3
REDIRECT_H2_STREAM_ID
3
REDIRECT_H2_PUSHED_ON
REDIRECT_H2_PUSHED
REDIRECT_H2_PUSH
off
REDIRECT_H2PUSH
off
REDIRECT_HTTP2
on
REDIRECT_SSL_TLS_SNI
service.telpo.com
REDIRECT_HTTPS
on
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1735218621.3196
REQUEST_TIME
1735218621
PATH_INFO
/index/user/fetfile
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/telpokefushouhou/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1735218621.3201
THINK_START_MEM
409952
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/telpokefushouhou/thinkphp/
LIB_PATH
/www/wwwroot/telpokefushouhou/thinkphp/library/
CORE_PATH
/www/wwwroot/telpokefushouhou/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/telpokefushouhou/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/telpokefushouhou/
EXTEND_PATH
/www/wwwroot/telpokefushouhou/extend/
VENDOR_PATH
/www/wwwroot/telpokefushouhou/vendor/
RUNTIME_PATH
/www/wwwroot/telpokefushouhou/runtime/
LOG_PATH
/www/wwwroot/telpokefushouhou/runtime/log/
CACHE_PATH
/www/wwwroot/telpokefushouhou/runtime/cache/
TEMP_PATH
/www/wwwroot/telpokefushouhou/runtime/temp/
CONF_PATH
/www/wwwroot/telpokefushouhou/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
ADDON_PATH
/www/wwwroot/telpokefushouhou/addons/