If you have come across the following database error on developerforce documentation site and are still clueless on how to solve this problem.. read on.
You are trying to : Login to wiki / download Force.com Fundamentals: Custom Application Development in the Cloud
Error Message :
A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:
(SQL query hidden)
from within function "User::saveSettings". MySQL returned error "1062: Duplicate entry ‘Alok Agrawal (Alok Agrawal)’ for key ‘user_name’ (localhost)". Retrieved from "https://wiki.developerforce.com/index.php/Special:UserLogin"
Following is a screenshot of the error message
To resolve this error all you need to do is change your name in the personal information area in developer login setup.
4. Change your first name and / or last name.
Thats it! Now when you try to login to wiki there should be no problem. Also if you just want to download the Force.com Platform Fundamentals pdf ebook you can do so from outside the wiki. Follow these steps to download this book from lulu.com
The exact hardlink is as follows :
Hope this helped as I could not find any resolution to this problem on the developerforce discussion forum.