Exact error:
Uncaught exception thrown in shutdown function.

PDOException: SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates unique constraint "sessions_ssid_key" DETAIL: Key (ssid)=(1hjc116js0k0jivn25gmfubga0) already exists.: INSERT INTO sessions (uid, cache, hostname, session, timestamp, sid, ssid) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6); Array ( ) in _drupal_session_write() (line 169 of /path/to/drupal-7.0-alpha5/includes/session.inc).

Comments

Damien Tournoud’s picture

Are you installing using an HTTPS connection?

This is probably related to #715108: Make Merge queries more consistent and robust (and to the related fixes in the secured session support).

DrLou’s picture

Damien, (sorry, posts crossing in the ether)

Yes, installing over https, as an experiment. Production would often(always?) be under https space.
This error only appeared on attempt to install in https:// space.

To continue with our testing - of a great number of other things - what would you propose as a strategy?

Leave the testbed in non-SSL space?

Or, are are you suggesting that 715108.patch is curative in a PostgreSQL environment?

Damien Tournoud’s picture

Or, are are you suggesting that 715108.patch is curative in a PostgreSQL environment?

Not exactly. I'm saying that we need to fix this exact issue with how we store SSL cookies to move #715108: Make Merge queries more consistent and robust forward.

DrLou’s picture

Tks for that reply...

I should surmise then that - ostensibly - moving the site out of SSL space will let us do our other testing (nuts and bolts, interfaces to Drupal) without running into this?

IE, it only comes up in an SSL session-handling environment? TIA, Lou

ogi’s picture

subscribe

Version: 7.0-alpha5 » 7.x-dev

Core issues are now filed against the dev versions where changes will be made. Document the specific release you are using in your issue comment. More information about choosing a version.