Zend_Session_Exception with message 'session has already been started

Discussion in 'General' started by Devin McManus, Oct 15, 2020.

  1. Devin McManus

    Devin McManus New Member HowtoForge Supporter

    Hi there,
    I'm migrating a couple of sites from a CentOS 6 VM that does not have a panel of any kind to a Debian 10 VM running ISPConfig v3.1.15p3. The first time I load up one of the sites I get this error message:

    Fatal error: Uncaught exception 'Zend_Session_Exception' with message 'session has already been started by session.auto-start or session_start()' in /var/www/clients/client1/web3/web/library/Zend/Session.php on line 462

    This site is using PHP 5.6 and it seems to work fine on the old VM. Has anyone else run into this?

    Regards,
    Devin
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Check your php.ini file, maybe you have "session.auto_start" option enabled there globally.
     
  3. Devin McManus

    Devin McManus New Member HowtoForge Supporter

    Hi Till,
    Thanks for your prompt reply. I checked my php.ini and session.auto_start is set to 0 but still getting the error the first time I load up the site.

    Regards,
    Devin
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Check if the website has a .htaccess file that starts the session. if not, then something in the uploaded site might be different from your old system so that the session gets started. ISPconfig is not starting it.
     

Share This Page