The first time and ldap user logs in they get an error. If they then log out and log back in they are fine. This is with ldadpgroups enabled and configured as well.
warning: array_fill() [function.array-fill]: Number of elements must be positive in /Library/WebServer/Documents/drupal/includes/database.inc on line 240.
warning: implode() [function.implode]: Invalid arguments passed in /Library/WebServer/Documents/drupal/includes/database.inc on line 240.
warning: array_keys() [function.array-keys]: The first argument should be an array in /Library/WebServer/Documents/drupal/modules/user/user.module on line 500.
user warning: 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 p.perm FROM role r INNER JOIN permission p ON p.rid = r.rid WHERE r.rid IN () in /Library/WebServer/Documents/drupal/modules/user/user.module on line 500.
user warning: Duplicate entry 'mt' for key 2 query: INSERT INTO authmap (authname, uid, module) VALUES ('mt', 11, 'ldapauth') in /Library/WebServer/Documents/drupal/modules/user/user.module on line 1222.
Comments
Comment #1
miglius commentedThis issue is caused by the profile module. I submitted an issue about that http://drupal.org/node/281465
Comment #2
agerson commentedignore my error line "user warning: Duplicate entry 'mt' for key 2 query: INSERT INTO authmap (authname, uid, module) VALUES ('mt', 11, 'ldapauth') in /Library/WebServer/Documents/drupal/modules/user/user.module on line 1222." this is because I was doing a lot of testing with this user.
Comment #3
miglius commentedI have rid of user_external_login_register() function, so now the errors on first login should not appear.
Comment #4
huats commentedsubscribing
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.