富易堂fyt

session_start(): Cannot start session when headers already sent

  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...', 'D:\virtualhost\local...', 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 138
  6. at Session::set('__token__', '8b7bdff5223910c66604...') in Request.php line 1572
  7. at Request->token('__token__', 'md5') in helper.php line 552
  8. at token() in 7e25ae6c3a031f9157a7b29fbed464d5.php line 278
  9. at include('D:\virtualhost\local...') in File.php line 53
  10. at File->read('D:\virtualhost\local...', ['config' => ['system_user_id' => '0', 'sitename' => '富易堂fyt装饰', 'sitelogo' => '/uploads/20211222/cf...', ...], 'user' => null, 'site' => ['name' => '富易堂fyt装饰', 'beian' => '', 'cdnurl' => '', ...], ...]) in Template.php line 188
  11. at Template->fetch('D:\virtualhost\local...', ['config' => ['system_user_id' => '0', 'sitename' => '富易堂fyt装饰', 'sitelogo' => '/uploads/20211222/cf...', ...], 'user' => null, 'site' => ['name' => '富易堂fyt装饰', 'beian' => '', 'cdnurl' => '', ...], ...], []) in Think.php line 86
  12. at Think->fetch('D:\virtualhost\local...', ['config' => ['system_user_id' => '0', 'sitename' => '富易堂fyt装饰', 'sitelogo' => '/uploads/20211222/cf...', ...], 'user' => null, 'site' => ['name' => '富易堂fyt装饰', 'beian' => '', 'cdnurl' => '', ...], ...], []) in View.php line 163
  13. at View->fetch('/show_cases') in Archives.php line 103
  14. at Archives->index()
  15. at call_user_func_array([object(Archives), 'index'], []) in Route.php line 76
  16. at Route->execute('cms', 'archives', 'index')
  17. at ReflectionMethod->invokeArgs(object(Route), ['cms', 'archives', 'index']) in App.php line 343
  18. at App::invokeMethod(['\think\addons\Route', 'execute'], ['catename' => 'jiazhuanganli', 'id' => '288', 'addon' => 'cms', ...]) in App.php line 470
  19. at App::exec(['type' => 'method', 'method' => ['\think\addons\Route', 'execute'], 'var' => ['addon' => 'cms', 'controller' => 'archives', 'action' => 'index']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  20. at App::run() in start.php line 19
  21. at require('D:\virtualhost\local...') in index.php line 23

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

_vstime
1781947881
Session
empty

Server/Request Data

_FCGI_X_PIPE_
\\.\pipe\IISFCGI-0db04c08-ee59-4cac-8c80-03f883d34aa1
ALLUSERSPROFILE
C:\ProgramData
APPDATA
C:\Windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIG
C:\inetpub\temp\apppools\xin_host4776726421\xin_host4776726421.config
APP_POOL_ID
xin_host4776726421
CommonProgramFiles
C:\Program Files\Common Files
CommonProgramFiles(x86)
C:\Program Files (x86)\Common Files
CommonProgramW6432
C:\Program Files\Common Files
COMPUTERNAME
WNWZ-121
ComSpec
C:\Windows\system32\cmd.exe
DriverData
C:\Windows\System32\Drivers\DriverData
LOCALAPPDATA
C:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS
8
OS
Windows_NT
Path
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps
PATHEXT
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE
AMD64
PROCESSOR_IDENTIFIER
Intel64 Family 6 Model 79 Stepping 1, GenuineIntel
PROCESSOR_LEVEL
6
PROCESSOR_REVISION
4f01
ProgramData
C:\ProgramData
ProgramFiles
C:\Program Files
ProgramFiles(x86)
C:\Program Files (x86)
ProgramW6432
C:\Program Files
PSModulePath
C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
PUBLIC
C:\Users\Public
SystemDrive
C:
SystemRoot
C:\Windows
TD_AGENT_TOPDIR
C:\opt\td-agent\
TEMP
C:\Windows\TEMP
TMP
C:\Windows\TEMP
USERDOMAIN
WORKGROUP
USERNAME
WNWZ-121$
USERPROFILE
C:\Windows\system32\config\systemprofile
windir
C:\Windows
ORIG_PATH_INFO
/index.php
URL
/index.php
SERVER_SOFTWARE
Microsoft-IIS/10.0
SERVER_PROTOCOL
HTTP/1.1
SERVER_PORT_SECURE
0
SERVER_PORT
80
SERVER_NAME
www.mengju.com
SCRIPT_NAME
/index.php
SCRIPT_FILENAME
d:\virtualhost\localuser\host4776726421\www\index.php
REQUEST_URI
/jiazhuanganli/288.html
REQUEST_METHOD
GET
REMOTE_USER
REMOTE_PORT
58434
REMOTE_HOST
103.217.192.15
REMOTE_ADDR
103.217.192.15
QUERY_STRING
s=jiazhuanganli/288.html
PATH_TRANSLATED
d:\virtualhost\localuser\host4776726421\www\index.php
LOGON_USER
LOCAL_ADDR
101.36.223.175
INSTANCE_META_PATH
/LM/W3SVC/734
INSTANCE_NAME
HOST4776726421
INSTANCE_ID
734
HTTPS_SERVER_SUBJECT
HTTPS_SERVER_ISSUER
HTTPS_SECRETKEYSIZE
HTTPS_KEYSIZE
HTTPS
off
GATEWAY_INTERFACE
CGI/1.1
DOCUMENT_ROOT
d:\virtualhost\localuser\host4776726421\www
CONTENT_TYPE
CONTENT_LENGTH
0
CERT_SUBJECT
CERT_SERIALNUMBER
CERT_ISSUER
CERT_FLAGS
CERT_COOKIE
AUTH_USER
AUTH_PASSWORD
AUTH_TYPE
APPL_PHYSICAL_PATH
d:\virtualhost\localuser\host4776726421\www\
APPL_MD_PATH
/LM/W3SVC/734/ROOT
IIS_UrlRewriteModule
7,1,1993,2336
WEBSOCKET_VERSION
13
UNENCODED_URL
/jiazhuanganli/288.html
IIS_WasUrlRewritten
1
HTTP_X_ORIGINAL_URL
/jiazhuanganli/288.html
HTTP_USER_AGENT
Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.www.hnwhmp.com/search/spider.html)
HTTP_REFERER
HTTP_HOST
www.mengju.com
HTTP_COOKIE
_vstime=1781947881
HTTP_ACCEPT
*/*
HTTP_CONTENT_LENGTH
0
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1781947881.9745
REQUEST_TIME
1781947881
PATH_INFO
jiazhuanganli/288.html
Environment Variables
empty

ThinkPHP Constants

APP_PATH
D:\virtualhost\localuser\host4776726421\www/application/
THINK_VERSION
5.0.24
THINK_START_TIME
1781947881.9748
THINK_START_MEM
412552
EXT
.php
DS
\
THINK_PATH
D:\virtualhost\localuser\host4776726421\www\thinkphp\
LIB_PATH
D:\virtualhost\localuser\host4776726421\www\thinkphp\library\
CORE_PATH
D:\virtualhost\localuser\host4776726421\www\thinkphp\library\think\
TRAIT_PATH
D:\virtualhost\localuser\host4776726421\www\thinkphp\library\traits\
ROOT_PATH
D:\virtualhost\localuser\host4776726421\www\
EXTEND_PATH
D:\virtualhost\localuser\host4776726421\www\extend\
VENDOR_PATH
D:\virtualhost\localuser\host4776726421\www\vendor\
RUNTIME_PATH
D:\virtualhost\localuser\host4776726421\www\runtime\
LOG_PATH
D:\virtualhost\localuser\host4776726421\www\runtime\log\
CACHE_PATH
D:\virtualhost\localuser\host4776726421\www\runtime\cache\
TEMP_PATH
D:\virtualhost\localuser\host4776726421\www\runtime\temp\
CONF_PATH
D:\virtualhost\localuser\host4776726421\www/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
true
FILTER_VALIDATE_BOOL
258
ADDON_PATH
D:\virtualhost\localuser\host4776726421\www\addons\
【网站地图】