#0 [8]ErrorException in fee197e67fb1a010b4d094b7c705bef8.php line 168

未定义数组索引: HTTP_REFERER

  1. <div class="titleBox">
  2. <p class="title">关于FESCO贵州</p>
  3. </div>
  4. <?php endif; ?>
  5. </div>
  6. <!-- 内容区 -->
  7. <div class="content">
  8. <div class="container">
  9. <!-- <a class="back" href="javascript:history.back(-1)"> -->
  10. <a class="back" href="<?php echo htmlentities($_SERVER['HTTP_REFERER']); ?>">
  11. <img class="icon" src="https://www.fesco.com.cn/webfile/assets/images/arrow5.png" alt="">
  12. <p class="txt">返回 </p>
  13. </a>
  14. </div>
  15. <div class="container containerInfo">
  16. <p class="detailsTitle"><?php echo $newsDetails['title']; ?></p>
  17. <div class="labels">
  18. <p class="label"><?php echo $newsDetails['create_time']; ?></p>
  19. <p class="label">来源:<?php echo (isset($newsDetails['source']) && ($newsDetails['source'] !== '')?$newsDetails['source']:"FESCO贵州"); ?></p>

Call Stack

  1. in fee197e67fb1a010b4d094b7c705bef8.php line 168
  2. at Error->appError() in fee197e67fb1a010b4d094b7c705bef8.php line 168
  3. at include('/www/wwwroot/api.fes...') in File.php line 59
  4. at File->read() in Template.php line 255
  5. at Template->fetch() in Think.php line 149
  6. at Think->fetch() in View.php line 90
  7. at View->think\{closure}() in View.php line 126
  8. at View->getContent() in View.php line 91
  9. at View->fetch() in View.php line 92
  10. at View->output() in Response.php line 388
  11. at Response->getContent() in TraceDebug.php line 75
  12. at TraceDebug->handle()
  13. at call_user_func() in Middleware.php line 142
  14. at Middleware->think\{closure}() in Pipeline.php line 85
  15. at Pipeline->think\{closure}() in Pipeline.php line 66
  16. at Pipeline->then() in Http.php line 207
  17. at Http->runWithRequest() in Http.php line 170
  18. at Http->run() in index.php line 30

Environment Variables

GET Data
id 29
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_HOST www.fescogz.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME api.fescogz.com
SERVER_PORT 80
SERVER_ADDR 172.16.0.12
REMOTE_PORT 33562
REMOTE_ADDR 44.201.64.238
SERVER_SOFTWARE nginx/1.21.4
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/api.fescogz.com/public
DOCUMENT_URI /index.php
REQUEST_URI /newsDetails.html?id=29
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/newsDetails.html&id=29
SCRIPT_FILENAME /www/wwwroot/api.fescogz.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711657025.0838
REQUEST_TIME 1711657025