successful login but errors

goose2000 - September 11, 2007 - 16:37
Project:Imap Auth
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi, I got it working with a university imap server. I got my login to work but
it produced some errors in the watchdog. Not really sure at this point, I just think
that these 3 are all inter-related somehow. I'm using:

PHP 5.1
MySQL 5.0
Drupal 5.2

Note it did create a new account & logged me in all at once - neat!

array_keys() [<a href='function.array-keys'>function.array-keys</a>]: The first argument should be an array in C:\Inetpub\wwwroot\BHRP5\modules\user\user.module on line 368.

implode() [<a href='function.implode'>function.implode</a>]: Bad arguments. in C:\Inetpub\wwwroot\BHRP5\modules\user\user.module on line 368.

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &#039;)&#039; 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 C:\Inetpub\wwwroot\BHRP5\includes\database.mysql.inc on line 172.

#1

goose2000 - September 19, 2007 - 16:54

Just curious if anyone is still around in support of this module? Thanks.

#2

goose2000 - January 30, 2008 - 17:29

I still have these warnings today, they show up the 1st time an external user logs in. After that, all is ok. I just don't show errors to screen. Still wondering why these come back like that? Anyone else seen this problem?

#3

dragongold - April 12, 2008 - 08:19

I get exactly the same errors plus one more with my Drupal 5.7 installation, and got it also with 5.6...

just to turn off the error messages on the screen does not realy suddisfy me...

my error messages all from Location: http://www.to-be-sharing.org/nil/en/user/register

Message

array_keys() [function.array-keys]: The first argument should be an array in /*/*/public_html/nil/modules/user/user.module on line 378.

Message

array_fill() [function.array-fill]: Number of elements must be positive in /*/*/public_html/nil/modules/user/user.module on line 379.

Message

implode() [function.implode]: Bad arguments. in /*/*/public_html/nil/modules/user/user.module on line 379.

Message

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use 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 /*/*/public_html/nil/includes/database.mysql.inc on line 172.

Hopefully someone can help me with this...

 
 

Drupal is a registered trademark of Dries Buytaert.