Ah, I meant if you use privatemsg, then you should upgrade it. Not to install ;)
If you don't use it, then I don't have more ideas. I keep my system up-to-date as possible and the problem was gone after upgrading my privatemsg module.
 
I recommend you to do a search drupal.org with implode()+user+349, you'll find a lot of posts discussing this kind of problem.
 



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

I have added privatemsg-4.7.0.tar.gz module,still i face the same problem

Regards

Kaushal
--
[ Drupal support list | http://lists.drupal.org/ ]