Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I installed today this new version on a new site. I goto this error:
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'l10n_client' for key 'PRIMARY' at:
xxxx/install.php?profile=l10n_install&locale=nl
After re-issuing the sites settingspage all continued.
Comments
Comment #1
asrobHi promes,
I've just installed it and everything is fine. Could you give us more info?
Comment #2
PROMESThe site is running on a shared server at a hostingcompany.
PHP: 5.3.2
database: MySQL
server: Apache/2.2.14 (Ubuntu)
memory-limit: 512M
Comment #3
timlie CreditAttribution: timlie commentedSame here:
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'l10n_client' for key 'PRIMARY' at:
xxxx/install.php?profile=l10n_install&locale=nl
Installing beta10 does work...
Comment #4
pax0r CreditAttribution: pax0r commentedI have the same error for me...
Ubuntu 11.10
Apache/2.2.20 (Ubuntu)
MySQL 5.1.61-0ubuntu0.11.10.1
The same Drupal version
Installing not localized version goes without any problems
EDIT: When I did not enter my key for updating localizations then alls goes ok
Comment #5
asrobHi!
Thank you guys! You are right, this is an active issue. pax0r gave a possible workaround, http://drupal.org/node/1434122#comment-5689516. I'm trying to find what the reason of bug is.
Comment #6
ktdann CreditAttribution: ktdann commentedOkay, Im also getting the same error. My setup is :-
Ubuntu 10.04 LTS
Apache/2.2.14 (Ubuntu)
mysql Ver 14.14 Distrib 5.1.41, for debian-linux-gnu (x86_64) using readline 6.1
Using Drupal : 7.x-1.0-beta11
Although pax0r gave a possible workaround, http://drupal.org/node/1434122#comment-5689516, it didn't work for me. I tried unchecking the checkbox such that UI will actually hide the key input box but no go.
I simply reloaded the page after the error and apparently install continues and finish as success.
BUT, did it really succeed? Don't know.... Any ideas?
Comment #7
guidot CreditAttribution: guidot commentedLighttpd 1.4.30 and MySQL 5.1.61 (debian squeeze), PHP 5.2.6 (lenny)
Drush (4.5) seems to be more talkative:
BTW: The access denied error does not seem to be a problem (the dbuser has all rights except grant), database and tables have been created succesfully.
Comment #8
tstoecklerComing from #1481824: l10n_install cannot be installed via Aegir.
Installing via Aegir I also got an integrity constraint error (while inserting into {system} though, not {l10n_update_project}).
Installing manually worked.
On Debian 6.
Comment #9
fl3a CreditAttribution: fl3a commented@see #1567372: Integrity constraint violation during Aegir installation , think this is a l10_update issue, so corresponding patch is attached there.
Comment #10
JimDeLaHunt CreditAttribution: JimDeLaHunt commentedI encountered this error when installing the Localized Drupal Distribution, release l10n_install 7.x-1.0-beta17 . Updating version to 7.x-1.0-beta17.
For me, deleting the contents of the text box holding the Localization Server API key worked around this problem. That is, from the page reporting the error, I clicked the browser's Back button, deleted the API key from its text box, re-entered the admin password, clicked the [Save and Continue] button, and the installation completed.
Comment #11
-enzo- CreditAttribution: -enzo- commentedI have the same issue with l10n_install-7.x-1.0-beta19
Comment #12
pankajsubedi CreditAttribution: pankajsubedi commentedWell guys i was having same problem but i tried one thing it helped me alot.
Firstly keep the field of Localization field empty and when you finally install you site then go to http://www.yoursitename.com/#overlay=user/1/edit
and paste your Localization API .
It works
Comment #13
TJM CreditAttribution: TJM commentedI have the same issue with l10n_install-7.x-1.0-beta20
Even though the the Localization Server API key was unchecked. Yet, the error appeared: drupal SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'l10n_client' for key 'PRIMARY'
However, with page refresh, and the install continued OK.
Comment #14
Drunoober CreditAttribution: Drunoober commentedSame problem :(
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'l10n_client' for key 'PRIMARY'
I posted in the following discussions... regarding a issue which might me related to this one:
https://drupal.org/node/2031839
hopefully this helps cheers.
Comment #15
Sk8erPeter CreditAttribution: Sk8erPeter commentedI can confirm this problem. When trying to install l10n_install via Drush, I get the same results like guidot did in #7, and the same when trying to install Drupal via browser:
System info in short:
Windows 8 x64, IIS 8, FastCGI PHP 5.3.24, MySQL Community Server 5.1.70-community-log.
Comment #16
jaydee1818 CreditAttribution: jaydee1818 commentedSame here:
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'l10n_client' for key 'PRIMARY'
Occurred while setting up Localized Drupal Distribution ( https://drupal.org/project/l10n_install ) on my Acquia Dev Desktop local environment.
Comment #17
asrobRolled out a new beta. I hope I will be able to testi it soon.
Comment #18
asrobI've tested it at simplytest.me and it looks good to me that's why I changed it to fixed. If you think it's still present, you can feel free to reopen it.