Details
-
Bug
-
Resolution: Fixed
-
Medium
-
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.