亚洲精品乱码在线观看|久久国产精品99精品国产|久久久国产精品ⅤA麻豆|精品人妻中文字幕a∨一区二区

[2] ErrorException in Archives.php line 282

file_get_contents(http://admin.7dcms.com/api/extend.ViolationArticle/check?server=1&article_url=http://m.anoj.cn/addons/cms/archives/index/id/2583371): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found

  1. $violationBookFilePath = './violation_book.txt';
  2. // 獲取完整的請求鏈接
  3. $protocol = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on') ? "https://" : "http://";
  4. $host = $_SERVER['HTTP_HOST'];
  5. $uri = $_SERVER['REQUEST_URI'];
  6. $bookUrl = $protocol . $host . $uri;
  7. //判斷是否屏蔽
  8. $requestUrl = 'http://admin.7dcms.com/api/extend.ViolationArticle/check?server=1&article_url=' . $bookUrl;
  9. $check = file_get_contents($requestUrl);
  10. if ($check == 1) {
  11. header("HTTP/1.1 301 Moved Permanently");
  12. header("Location: /");
  13. exit();
  14. }
  15. $bookData = [
  16. 'type' => 1,
  17. 'article_type' => 1,
  18. 'article_id' => $archives['id'],

Call Stack

  1. in Archives.php line 282
  2. at Error::appError()
  3. at file_get_contents() in Archives.php line 282
  4. at Archives->index()
  5. at call_user_func_array() in Route.php line 78
  6. at Route->execute()
  7. at ReflectionMethod->invokeArgs() in App.php line 343
  8. at App::invokeMethod() in App.php line 470
  9. at App::exec() in App.php line 139
  10. at App::run() in start.php line 19
  11. 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
m.anoj.cn
PATH_INFO
/addons/cms/archives/index/id/2583371
REDIRECT_STATUS
200
SERVER_NAME
fast.lnmedia.cn
SERVER_PORT
80
SERVER_ADDR
127.0.0.1
REMOTE_PORT
53966
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/2583371
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/addons/cms/archives/index/id/2583371
SCRIPT_FILENAME
/www/wwwroot/fast.lnmedia.cn/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1723272984.4427
REQUEST_TIME
1723272984
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/fast.lnmedia.cn/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1723272984.4434
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/