I keep getting this error on watchdog:
Duplicate entry 'locale:en' for key 1 query: INSERT INTO cache (cid, data, created, expire, headers) VALUES ('locale:en', 'a:2317:{s:50: .... [snip].... /public_html/includes/database.mysql.inc on line 66.
Complete error is here:
http://sampada.net/drup-locale-module-issue.txt
(You might need Kannada Unicode fonts to view the above text file properly). Visit:
http://salrc.uchicago.edu/resources/fonts/kannadafonts.html
Comments
Comment #1
stevenpatzIs this still an issue?
Comment #2
magico commentedYes.
This problems sometimes happens to me, but I don't know why.
I think it could be because I'm using i18n, but I don't have sure.
Comment #3
magico commentedJust to inform that it's happen in 4.6.9
Comment #4
magico commentedAfter further checking I've found also "user error: Duplicate entry 'locale:en' for key 1" that was marked "won't fix".
http://drupal.org/node/38505#comment-60708
Because I do not quite understand what is the "real solution" I've checked the code and found that the change was the adition of
db_lock_table() and db_unlock_tables()functions.Resuming:
* add the functions db_lock_table() and db_unlock_tables() in database.mysql.inc
* change the cache_set() to be like the one in 4.7 bootstrap.inc
I marking this as critical, because this bug disables the option to use the cache system in a site with a language different from the base one (locale:en)
Comment #5
Paul Natsuo Kishimoto commentedI'm assuming this hasn't been fixed and forwarding it to 4.6.10.
Comment #6
Paul Natsuo Kishimoto commented4.6 is no longer maintained. Closing.