Login Loop

Discussion in 'General' started by CupOfTea696, Aug 13, 2018.

  1. HansDinges

    HansDinges New Member HowtoForge Supporter

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    No, ispconfig uses database session storage and not file storage, so somehow the database session storage seems to be skipped so the default file sessions kick in. Please run:

    which php

    and

    php --version

    on the shell and post the output.
     
  3. HansDinges

    HansDinges New Member HowtoForge Supporter

    here is the output:

    which php
    /usr/bin/php

    php --version
    PHP 5.6.40-0+deb8u1 (cli) (built: Feb 17 2019 01:19:33)
    Copyright (c) 1997-2016 The PHP Group
    Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    with XCache v3.2.0, Copyright (c) 2005-2014, by mOo
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
    with XCache Optimizer v3.2.0, Copyright (c) 2005-2014, by mOo
    with XCache Cacher v3.2.0, Copyright (c) 2005-2014, by mOo
    with XCache Coverager v3.2.0, Copyright (c) 2005-2014, by mOo
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    That's ok, it is still the system php as it should be.
     
  5. HansDinges

    HansDinges New Member HowtoForge Supporter

    hello again,
    in /etc/php5/apache2/php.ini session.save_handler is st to files. should i comment this out?
    (in cgi/php.ini too and there is still no data in sys_session table)
    [Session]
    ; Handler used to store/retrieve data.
    ; http://php.net/session.save-handler
    session.save_handler = files
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    No, that should be ok. It'S the default session save handler used by the websites. ISPConfig overrides the default session save handler in /usr/local/ispconfig/interface/lib/app.inc.php in the function initialize_session()
     
  7. HansDinges

    HansDinges New Member HowtoForge Supporter

    interesting! should the function be exactly written initialize_session() ?
    i don't have it in /usr/local/ispconfig/interface/lib/app.inc.php
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Hmm, I looked it up in git-stable and there were some changes in the past weeks in that code, might be that it was not a separate function before. The code I refer to is the one that calls session_set_save_handler(....)
     

Share This Page