Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-17481

Fatal error in cleanup.php on line 165

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.4.1
    • 4.4.0
    • None
    • Operating System: Debian Lenny
      PHP Version: 5.3
      Database and version: 5
      Browser (and version):

    Description

      Hi,

      On the eZ 4.4 with the new Session handler, the cleanup script failed for
      the sessions arguments.

      PHP Fatal error: Call to undefined method
      ezpSessionHandlerPHP::usesDatabaseTable() in
      /mnt/hgfs/Apache/nouveauproj.vaio.plopix.net/ezpublish-
      4.4.0/update/common/scripts/cleanup.php on line 165

      The usesDatabaseTable method doesn't exists in the new classes, the
      condition on this
      line isn't correct.

      I have seen a new script in bin/php : ezsessiongc.php, perhaps
      update/common/cleanup.php is now useless for the session, but in this case, "session" and "session_expired" arguments must be deleted.

      Best regards
      Séb
      ++

      Steps to reproduce

      Run the cleanup script on a 4.4 with "all" argument.

      Attachments

        Activity

          People

            dp@ez.no dp@ez.no
            2bfcc1b1-0b8e-4fb5-9c24-c434957abb69@accounts.ibexa.co Sébastien Morel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: