<div>I had the same problem: upgrade your privatemsg module to the newest version. This solved the problem for me.</div>
<div>&nbsp;</div>
<div>Cheers,</div>
<div>Tibor<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 6/14/06, <b class="gmail_sendername">Kaushal Shriyan</b> &lt;<a href="mailto:kaushalshriyan@gmail.com">kaushalshriyan@gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi ALL<br><br>I have added a module in the modules folder, I am getting the below error<br>while login and logout from drupal main page
<br><br>&nbsp;&nbsp; * user warning: Duplicate entry '' for key 2 query: INSERT INTO<br>users (name, pass, init, mail, status, created, uid) VALUES ('',<br>'6411532ba4971f378391776a9db629d3', '', '', 1, 1150274702, 8) in<br>/usr/local/apache/htdocs/includes/database.mysql.inc on line 120.
<br>&nbsp;&nbsp; * warning: array_keys(): The first argument should be an array in<br>/usr/local/apache/htdocs/modules/user.module on line 349.<br>&nbsp;&nbsp; * warning: implode(): Bad arguments. in<br>/usr/local/apache/htdocs/modules/user.module on line 349.
<br>&nbsp;&nbsp; * user warning: You have an error in your SQL syntax near ')' at<br>line 1 query: SELECT DISTINCT(p.perm) FROM role r INNER JOIN<br>permission p ON p.rid = r.rid WHERE r.rid IN () in<br>/usr/local/apache/htdocs/includes/database.mysql.inc on line 120.
<br><br>Thanks And Regards<br><br>Kaushal<br>--<br>[ Drupal support list | <a href="http://lists.drupal.org/">http://lists.drupal.org/</a> ]<br></blockquote></div><br>