• 首页

    首页

  • 分类

    分类

  • 中航鼎鑫

    全部分类
    全部分类

    计算机网络设备

    计算机网络设备

    更多

    物流信息

    ×
    ...
    系统发生错误

    [2] ErrorException in Session.php line 153

    session_name(): Cannot change session name when headers already sent

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

    Call Stack

    1. in Session.php line 153
    2. at Error::appError(2, 'session_name(): Cann...', '/www/wwwroot/zhdx/th...', 153, ['config' => ['id' => '', 'var_session_id' => '', 'prefix' => 'shopxo', ...], 'isDoStart' => true])
    3. at session_name('admin') in Session.php line 153
    4. at Session->init() in Session.php line 216
    5. at Session->boot() in Session.php line 271
    6. at Session->get('user', null)
    7. at call_user_func_array([object(Session), 'get'], ['user', null]) in Facade.php line 123
    8. at Facade::__callStatic('get', ['user', null]) in helper.php line 575
    9. at session('user') in UserService.php line 46
    10. at UserService::LoginUserInfo() in Common.php line 181
    11. at Common->CommonInit() in Common.php line 69
    12. at Common->__construct() in Search.php line 38
    13. at Search->__construct()
    14. at ReflectionClass->newInstanceArgs([]) in Container.php line 439
    15. at Container->invokeClass('app\index\controller...', []) in Container.php line 284
    16. at Container->make('app\index\controller...', []) in App.php line 725
    17. at App->controller('search', 'controller', false, 'Error') in Module.php line 95
    18. at Module->exec() in Dispatch.php line 168
    19. at Dispatch->run() in App.php line 432
    20. at App->think\{closure}(object(Request), object(Closure), null)
    21. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
    22. at Middleware->think\{closure}(object(Request)) in SystemEnvCheck.php line 42
    23. at SystemEnvCheck->handle(object(Request), object(Closure), null)
    24. at call_user_func_array([object(SystemEnvCheck), 'handle'], [object(Request), object(Closure), null]) in Middleware.php line 185
    25. at Middleware->think\{closure}(object(Request))
    26. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
    27. at Middleware->dispatch(object(Request)) in App.php line 435
    28. at App->run() in index.php line 15

    Environment Variables

    GET Dataempty
    POST Dataempty
    Filesempty
    Cookiesempty
    Sessionempty
    Server/Request Data
    USER www
    HOME /home/www
    HTTP_CONNECTION Keep-Alive
    HTTP_HOST zhdx.danjingling.com
    HTTP_ACCEPT_ENCODING br,gzip
    HTTP_IF_MODIFIED_SINCE Mon, 25 Sep 2023 11:15:38 GMT
    HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
    HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
    PATH_INFO
    REDIRECT_STATUS 200
    SERVER_NAME www.zhdxbj.com
    SERVER_PORT 80
    SERVER_ADDR 172.18.215.35
    REMOTE_PORT 59148
    REMOTE_ADDR 44.201.97.224
    SERVER_SOFTWARE nginx/1.22.1
    GATEWAY_INTERFACE CGI/1.1
    REQUEST_SCHEME http
    SERVER_PROTOCOL HTTP/1.1
    DOCUMENT_ROOT /www/wwwroot/zhdx/public
    DOCUMENT_URI /index.php
    REQUEST_URI /index.php?s=/index/search/index/category_id/8742.html
    SCRIPT_NAME /index.php
    CONTENT_LENGTH
    CONTENT_TYPE
    REQUEST_METHOD GET
    QUERY_STRING s=/index/search/index/category_id/8742.html
    SCRIPT_FILENAME /www/wwwroot/zhdx/public/index.php
    FCGI_ROLE RESPONDER
    PHP_SELF /index.php
    REQUEST_TIME_FLOAT 1713463960.5163
    REQUEST_TIME 1713463960
    Environment Variablesempty
    ThinkPHP Constants
    APPLICATION_VERSION v1.8.1
    DS /
    __MY_HTTP__ http
    __MY_ROOT__
    __MY_ROOT_PUBLIC__ /
    __MY_HOST__ zhdx.danjingling.com
    __MY_URL__ http://zhdx.danjingling.com/
    __MY_PUBLIC_URL__ http://zhdx.danjingling.com/
    __MY_VIEW_URL__ http://zhdx.danjingling.com/index.php?s=/index/search/index/category_id/8742.html
    ROOT_PATH /www/wwwroot/zhdx/public/
    ROOT /www/wwwroot/zhdx/
    APP_PATH /www/wwwroot/zhdx/application/
    APPLICATION web
    APPLICATION_CLIENT_TYPE pc
    IS_AJAX false