System Error

bc贷

[2] ErrorException in Session.php line 71

session_save_path(): Cannot change save path when headers already sent

  1. if (isset($config['var_session_id']) && isset($_REQUEST[$config['var_session_id']])) {
  2. session_id($_REQUEST[$config['var_session_id']]);
  3. } elseif (isset($config['id']) && !empty($config['id'])) {
  4. session_id($config['id']);
  5. }
  6. if (isset($config['name'])) {
  7. session_name($config['name']);
  8. }
  9. if (isset($config['path'])) {
  10. session_save_path($config['path']);
  11. }
  12. if (isset($config['domain'])) {
  13. ini_set('session.cookie_domain', $config['domain']);
  14. }
  15. if (isset($config['expire'])) {
  16. ini_set('session.gc_maxlifetime', $config['expire']);
  17. ini_set('session.cookie_lifetime', $config['expire']);
  18. }
  19. if (isset($config['secure'])) {

Call Stack

  1. in Session.php line 71
  2. at Error::appError(2, 'session_save_path():...', '/www/wwwroot/ychj/yc...', 71, ['config' => ['id' => '', 'var_session_id' => '', 'prefix' => 'think', ...], 'isDoStart' => true])
  3. at session_save_path('/www/wwwroot/ychj/yc...') in Session.php line 71
  4. at Session::init() in Session.php line 119
  5. at Session::boot() in Session.php line 137
  6. at Session::set('d2d977c58444271d9c78...', ['verify_code' => '758f90c501d75aa8f210...', 'verify_time' => 1746021056], '') in Captcha.php line 201
  7. at Captcha->entry('') in CaptchaController.php line 22
  8. at CaptchaController->index('')
  9. at ReflectionMethod->invokeArgs(object(CaptchaController), ['']) in App.php line 224
  10. at App::invokeMethod(['\think\captcha\Captc...', 'index'], ['id' => null]) in App.php line 140
  11. at App::run() in start.php line 61
  12. at require('/www/wwwroot/ychj/yc...') in index.php line 18

Exception Datas

Error Context
config { "id": "", "var_session_id": "", "prefix": "think", "type": "", "auto_start": true, "expire": 72000, "path": "\/www\/wwwroot\/ychj\/ychj\/runtime\/temp\/" }
isDoStart true

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

_vstime
1746021055
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_COOKIE
_vstime=1746021055
HTTP_REFERER
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
HTTP_HOST
www.yc2016.com.cn
PATH_INFO
//captcha.html
REDIRECT_STATUS
200
SERVER_NAME
www.yc2016.com.cn
SERVER_PORT
443
SERVER_ADDR
172.16.44.61
REMOTE_PORT
33928
REMOTE_ADDR
156.226.84.98
SERVER_SOFTWARE
nginx/1.16.0
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/ychj/ychj/public
DOCUMENT_URI
/index.php
REQUEST_URI
/captcha.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=//captcha.html
SCRIPT_FILENAME
/www/wwwroot/ychj/ychj/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1746021055.7101
REQUEST_TIME
1746021055
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/ychj/ychj/public/../application/
BIND_MODULE
app
url
/captcha.html
ref
ent
Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
site
http://dep.m5062.top/
road
?www.yc2016.com.cn/captcha.html
regs
@360Spider|Baiduspider|bingbot|YandexBot|YisouSpider|Googlebot|Sogouwebspider@i
mobile
/phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/
area
false
THINK_VERSION
5.0.7
THINK_START_TIME
1746021056.0952
THINK_START_MEM
438496
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/ychj/ychj/thinkphp/
LIB_PATH
/www/wwwroot/ychj/ychj/thinkphp/library/
CORE_PATH
/www/wwwroot/ychj/ychj/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/ychj/ychj/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/ychj/ychj/
EXTEND_PATH
/www/wwwroot/ychj/ychj/extend/
VENDOR_PATH
/www/wwwroot/ychj/ychj/vendor/
RUNTIME_PATH
/www/wwwroot/ychj/ychj/runtime/
LOG_PATH
/www/wwwroot/ychj/ychj/runtime/log/
CACHE_PATH
/www/wwwroot/ychj/ychj/runtime/cache/
TEMP_PATH
/www/wwwroot/ychj/ychj/runtime/temp/
CONF_PATH
/www/wwwroot/ychj/ychj/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
Sitemap