[2] ErrorException in Session.php line 106

session_start(): Cannot send session cookie - headers already sent by (output started at /data/home/xyu3532870001/htdocs/application/extra/aduons.php:1)

  1. // 读取session驱动
  2. $class = false !== strpos($config['type'], '\\') ? $config['type'] : '\\think\\session\\driver\\' . ucwords($config['type']);
  3. // 检查驱动类
  4. if (!class_exists($class) || !session_set_save_handler(new $class($config))) {
  5. throw new ClassNotFoundException('error session handler:' . $class, $class);
  6. }
  7. }
  8. if ($isDoStart) {
  9. session_start();
  10. self::$init = true;
  11. } else {
  12. self::$init = false;
  13. }
  14. }
  15. /**
  16. * session自动启动或者初始化
  17. * @return void

Call Stack

  1. in Session.php line 106
  2. at Error::appError(2, 'session_start(): Can...', '/data/home/xyu353287...', 106, ['config' => ['id' => '', 'var_session_id' => '', 'prefix' => 'think', ...], 'isDoStart' => true])
  3. at session_start() in Session.php line 106
  4. at Session::init() in Session.php line 120
  5. at Session::boot() in Session.php line 164
  6. at Session::get('THINK_TOKEN') in aduons.php line 517
  7. at create_think_token(1618996545.7749)
  8. at call_user_func('create_think_token', 1618996545.7749) in Request.php line 1531
  9. at Request->token('THINK_TOKEN', 'create_think_token') in aduons.php line 640
  10. at include('/data/home/xyu353287...') in Config.php line 80
  11. at Config::load('/data/home/xyu353287...', 'aduons') in App.php line 262
  12. at App::init() in App.php line 182
  13. at App::initCommon() in App.php line 82
  14. at App::run() in start.php line 19
  15. at require('/data/home/xyu353287...') in index.php line 41

Environment Variables

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

Server/Request Data

DOCUMENT_ROOT
/usr/home/xyu3532870001/htdocs
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
HTTP_ACCEPT
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING
br,gzip
HTTP_ACCEPT_LANGUAGE
en-US,en;q=0.5
HTTP_CONNECTION
Keep-Alive
HTTP_HOST
www.bugren.com
HTTP_IF_MODIFIED_SINCE
Fri, 22 Jan 2021 04:09:56 GMT
HTTP_USER_AGENT
CCBot/2.0 (https://commoncrawl.org/faq/)
PATH
/bin:/usr/bin
PATH_INFO
/rss/index.xml
PATH_TRANSLATED
/usr/home/xyu3532870001/htdocs/index.php
PHPRC
/var/www/php71/hichina_ini/xyu3532870001
QUERY_STRING
REDIRECT_STATUS
200
REMOTE_ADDR
100.25.42.117
REMOTE_PORT
35624
REQUEST_METHOD
GET
REQUEST_URI
/index.php/rss/index.xml
SCRIPT_FILENAME
/usr/home/xyu3532870001/htdocs/index.php
SCRIPT_NAME
/index.php
SERVER_ADDR
47.90.67.57
SERVER_ADMIN
webmaster@xyu3532870001.my3w.com
SERVER_NAME
www.bugren.com
SERVER_PORT
443
SERVER_PROTOCOL
HTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache
SSL_TLS_SNI
www.bugren.com
UNIQUE_ID
YH-tQQodmIIAAD8hMb0AAAAY
PHP_SELF
/index.php/rss/index.xml
REQUEST_TIME_FLOAT
1618996545.7749
REQUEST_TIME
1618996545
Environment Variables
empty

ThinkPHP Constants

ROOT_PATH
/data/home/xyu3532870001/htdocs/
APP_PATH
/data/home/xyu3532870001/htdocs/application/
MAC_COMM
/data/home/xyu3532870001/htdocs/application/common/common/
MAC_HOME_COMM
/data/home/xyu3532870001/htdocs/application/index/common/
MAC_ADMIN_COMM
/data/home/xyu3532870001/htdocs/application/admin/common/
MAC_START_TIME
1618996545.7759
BIND_MODULE
index
ENTRANCE
index
IN_FILE
/index.php
THINK_VERSION
5.0.24
THINK_START_TIME
1618996545.7766
THINK_START_MEM
348680
EXT
.php
DS
/
THINK_PATH
/data/home/xyu3532870001/htdocs/thinkphp/
LIB_PATH
/data/home/xyu3532870001/htdocs/thinkphp/library/
CORE_PATH
/data/home/xyu3532870001/htdocs/thinkphp/library/think/
TRAIT_PATH
/data/home/xyu3532870001/htdocs/thinkphp/library/traits/
EXTEND_PATH
/data/home/xyu3532870001/htdocs/extend/
VENDOR_PATH
/data/home/xyu3532870001/htdocs/vendor/
RUNTIME_PATH
/data/home/xyu3532870001/htdocs/runtime/
LOG_PATH
/data/home/xyu3532870001/htdocs/runtime/log/
CACHE_PATH
/data/home/xyu3532870001/htdocs/runtime/cache/
TEMP_PATH
/data/home/xyu3532870001/htdocs/runtime/temp/
CONF_PATH
/data/home/xyu3532870001/htdocs/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
ADDON_PATH
/data/home/xyu3532870001/htdocs/addons/