3 ms·
I get this drupal error. -- PDOException: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction: DELE
by narad 14y ago
I get this drupal error.
--
PDOException: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction: DELETE FROM {semaphore} WHERE (name = :db_condition_placeholder_0) AND (value = :db_condition_placeholder_1) AND (expire <= :db_condition_placeholder_2) ; Array ( [:db_condition_placeholder_0] => variable_init [:db_condition_placeholder_1] => 112720946350f00b3f105ad8.99608950 [:db_condition_placeholder_2] => 1357908800.0644 ) in lock_may_be_available() (line 181 of /export/content/data/dlc/shared/www/developer/includes/lock.inc).
--
Why would somebody spit the SQL exceptions on the browser instead of the log file?
- notzach 14y agoClearly they don't understand how to configure drupal.
- ahi 14y agoIt's a big club.
- citricsquid 14y agogoogle cache: http://webcache.googleusercontent.com/search?q=cache%3Ahttp%3A%2F%2Fdeveloper.linkedin.com%2Fforum%2Fretrieve-all-positions-profile-including-past-ones%23comment-20856&oq=cache%3Ahttp%3A%2F%2Fdeveloper.linkedin.com%2Fforum%2Fretrieve-all-positions-profile-including-past-ones%23comment-20856&sugexp=chrome,mod=6&sourceid=chrome&ie=UTF-8 http://webcache.googleusercontent.com/search?q=cache%3Ahttp%...
- n1c 14y agoFrom what I can tell the currently cached copy doesn't have the post in question.
- RyanMcGreal 14y agoWhy would the code to view a discussion thread be so cumbersome in the first place?
- ssharp 14y agoBecause it's Drupal.
- Mahn 14y agoOfftopic, but drupal stores locks in a DB? That looks highly inefficient.
- jarman 14y agoBecause it's available everywhere, including shared hosting. IIRC it can be reconfigured to other storage mechanism