Menu

#132 Filed logon with Zend 1.11.11-0ubuntu3 on Ubuntu 16.04

database
open
nobody
None
5
2017-01-10
2016-10-24
No

Ufter upgrade OS from Ubuntu 14.04 to 16.04 in log show this Warning:
session_regenerate_id(): Session object destruction failed. ID: user (path: /var/lib/php/sessions) in /usr/share/php/libzend-framework-php/Zend/Session.php on line 315"

And Logon broken.

After remove line in /usr/share/webacula/html/index.php with regenerate:
Zend_Session::regenerateId();
All work.

Discussion

  • Rejean Maltais

    Rejean Maltais - 2016-11-04

    Yes, this solution work with a new installation on 16.04 too. Thank's for the tip !! Work great now.

     
  • Marcio

    Marcio - 2017-01-10

    Hello, I have the same issue with Fedora 25... then I comment this code in /var/www/html/webacula/library/Zend/Session (lines 315~324):

    /
    if ( !self::$_sessionStarted ) {
    self::$_regenerateIdState = -1;
    } else {
    if (!self::$_unitTestEnabled) {
    session_regenerate_id(true);
    }
    self::$_regenerateIdState = 1;
    }
    */

     

Log in to post a comment.