[2] ErrorException in Archives.php line 377

file_get_contents(https://api.52dede.com/wp/voilations.php?act=title): failed to open stream: Connection refused

  1. [
  2. 'timeout' => 8
  3. ],
  4. 'ssl' => [
  5. 'verify_peer' => false,
  6. 'verify_peer_name' => false,
  7. ]
  8. );
  9. $context = stream_context_create($context_options);
  10. $content = file_get_contents($file_url,FALSE, $context);
  11. $content = preg_replace('/(HTTP\/1.1 502 Bad Gateway.*?<\/html>)/si','',$content);
  12. file_put_contents($filename, $content);
  13. } else {
  14. $content = file_get_contents($filename);
  15. }

Call Stack

  1. in Archives.php line 377
  2. at Error::appError()
  3. at file_get_contents() in Archives.php line 377
  4. at Archives->get_remote_file_content() in Archives.php line 323
  5. at Archives->delwarnbook() in Archives.php line 181
  6. at Archives->index()
  7. at call_user_func_array() in Route.php line 78
  8. at Route->execute()
  9. at ReflectionMethod->invokeArgs() in App.php line 343
  10. at App::invokeMethod() in App.php line 470
  11. at App::exec() in App.php line 139
  12. at App::run() in start.php line 19
  13. at require('/www/wwwroot/fast.ln...') in index.php line 120

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_CLIENT_IP
220.181.108.91
HTTP_X_FORWARDED_FOR
220.181.108.91
HTTP_COOKIE
HTTP_ACCEPT_ENCODING
deflate, gzip
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
HTTP_HOST
www.lnmedia.cn
PATH_INFO
/addons/cms/archives/index/id/2244803
REDIRECT_STATUS
200
SERVER_NAME
fast.lnmedia.cn
SERVER_PORT
80
SERVER_ADDR
127.0.0.1
REMOTE_PORT
47796
REMOTE_ADDR
127.0.0.1
SERVER_SOFTWARE
nginx/1.22.1
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/fast.lnmedia.cn/public
DOCUMENT_URI
/index.php
REQUEST_URI
/addons/cms/archives/index/id/2244803
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/addons/cms/archives/index/id/2244803
SCRIPT_FILENAME
/www/wwwroot/fast.lnmedia.cn/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1719342972.2546
REQUEST_TIME
1719342972
Environment Variables
empty

ThinkPHP Constants

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