集合竞价中的卡点撤单现象与形态解析

系统发生错误

[2] ErrorException in Session.php line 105

session_start(): Cannot send session cookie - headers already sent by (output started at /juli/wwwroot/shouji.julisling.cn/application/extra/repack.php:45)

  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 105
  2. at Error::appError(2, 'session_start(): Can...', '/juli/wwwroot/shouji...', 105, ['config' => ['id' => '', 'var_session_id' => '', 'prefix' => 'think', ...], 'isDoStart' => true])
  3. at session_start() in Session.php line 105
  4. at Session::init() in Session.php line 119
  5. at Session::boot() in Session.php line 163
  6. at Session::get('gonghao', null) in helper.php line 304
  7. at session('gonghao') in Index.php line 15
  8. at Index->index()
  9. at ReflectionMethod->invokeArgs(object(Index), []) in App.php line 224
  10. at App::invokeMethod([object(Index), 'index'], []) in App.php line 389
  11. at App::module(['', null, null], ['app_namespace' => 'app', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 130
  12. at App::run() in start.php line 18
  13. at require('/juli/wwwroot/shouji...') in index.php line 17

Exception Datas

Error Context
config { "id": "", "var_session_id": "", "prefix": "think", "type": "", "auto_start": true }
isDoStart true

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
FCGI_ROLE RESPONDER
SCRIPT_FILENAME /juli/wwwroot/shouji.julisling.cn/public/index.php
QUERY_STRING
REQUEST_METHOD GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME /index.php
REQUEST_URI /
DOCUMENT_URI /index.php
DOCUMENT_ROOT /juli/wwwroot/shouji.julisling.cn/public
SERVER_PROTOCOL HTTP/1.0
REQUEST_SCHEME http
GATEWAY_INTERFACE CGI/1.1
SERVER_SOFTWARE nginx/1.24.0
REMOTE_ADDR 127.0.0.1
REMOTE_PORT 41114
SERVER_ADDR 127.0.0.1
SERVER_PORT 10013
SERVER_NAME shouji.julisling.cn
REDIRECT_STATUS 200
PATH_INFO
HTTP_HOST diaocha.julisling.cn
HTTP_X_REAL_IP 216.73.216.135
HTTP_X_FORWARDED_FOR 216.73.216.135
HTTP_X_FORWARDED_PROTO https
HTTP_CONNECTION close
HTTP_ACCEPT */*
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1765239989.1618
REQUEST_TIME 1765239989
Environment Variablesempty
ThinkPHP Constants
APP_PATH /juli/wwwroot/shouji.julisling.cn/public/../application/
THINK_VERSION 5.0.5
THINK_START_TIME 1765239989.1627
THINK_START_MEM 261936
EXT .php
DS /
THINK_PATH /juli/wwwroot/shouji.julisling.cn/thinkphp/
LIB_PATH /juli/wwwroot/shouji.julisling.cn/thinkphp/library/
CORE_PATH /juli/wwwroot/shouji.julisling.cn/thinkphp/library/think/
TRAIT_PATH /juli/wwwroot/shouji.julisling.cn/thinkphp/library/traits/
ROOT_PATH /juli/wwwroot/shouji.julisling.cn/
EXTEND_PATH /juli/wwwroot/shouji.julisling.cn/extend/
VENDOR_PATH /juli/wwwroot/shouji.julisling.cn/vendor/
RUNTIME_PATH /juli/wwwroot/shouji.julisling.cn/runtime/
LOG_PATH /juli/wwwroot/shouji.julisling.cn/runtime/log/
CACHE_PATH /juli/wwwroot/shouji.julisling.cn/runtime/cache/
TEMP_PATH /juli/wwwroot/shouji.julisling.cn/runtime/temp/
CONF_PATH /juli/wwwroot/shouji.julisling.cn/public/../application/
CONF_EXT .php
ENV_PREFIX PHP_
IS_CLI false
IS_WIN false