Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-3678

standalone install fails if there's a session cookie from a previous install

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1
    • Component/s: Standalone CiviCRM
    • Labels:
      None

      Description

      After the standalone install process, an foreign key constraint error is triggered before the "First User Setup" is shown, if there is an active PHP session.

      After corrupting a test install, I decided to reinstall. I cleared the database and removed civicrm.settings.php, and went through the installation process again. The installation completed, but I was unable to create the initial user, because an insert to civicrm_acl_cache failed with a foreign key constraint violation. Deleting the session cookie resolved the issue.

      The correct behavior would be to discard sessions that belong to a non-existing user.

        Attachments

          Activity

            People

            • Assignee:
              neha.saraph Neha Kulkarni
              Reporter:
              brightbyte Daniel Kinzler
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: