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

Login unsuccessful after upgrade to 4.4 with DebugByUser enabled

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.4.1, 4.5.0alpha
    • 4.4.0
    • Upgrading
    • None
    • Operating System: Linux 2.6.18-028stab070.7 x86_64
      PHP Version: PHP 5.3.2-1ubuntu4.5 with Suhosin-Patch
      Database and version: Mysql 5.1.41 using readline 6.1
      Browser (and version): Firefox 3.6.11

    Description

      Ini settings before upgrading were changed to

      Handler=ezpSessionHandlerDB

      in order to have old session management available. After following the upgrade manual on docs.ez.no it is impossible to login successfully. Doing

      var_dump( eZSession::get() );

      in index.php delivers

      array(2) { ["LastAccessedModifyingURI"]=> string(0) "" ["eZUserLoggedInID"]=> string(2) "14" }

      after logging in as admin user, but header_links.tpl does not show the user. When adding

      {$current_user|attribute(show)}

      to header_links.tpl it shows

      is_logged_in=false
      login=anonymous

      Truncating ezsession table resets information for var_dump.

      After setting

      DebugByUser=disabled

      login shows same information in header_links.tpl and var_dump. Setting

      DebugByUser=enabled

      Leads to unusable login.

      Steps to reproduce

      Still needs to be done on clean installs.

      Attachments

        Activity

          People

            andre1 andre1
            schoell111 schoell111
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: