Hi all,
I'm tying the simplesamlphp_auth module (Rev: 14 from
http://drupalsimplesaml.googlecode.com/svn/trunk/simplesamlphp_auth/)
together with simplesamlphp 1.5.0 and drupal 6.14. We have are
currently connecting to a local SP which, to my knowledge, works as
expected.
However, the first time a user tries to log in the following error
message is displayed:
warning: array_fill() [function.array-fill]: Number of elements must
be positive in /path/to/drupal/htdocs/includes/database.inc on line
253.
warning: implode() [function.implode]: Invalid arguments passed in /
path/to/drupal/htdocs/includes/database.inc on line 253.
warning: array_keys() [function.array-keys]: The first argument should
be an array in /path/to/drupal/htdocs/modules/user/user.module on line
502.
warning: pg_query() [function.pg-query]: Query failed: ERROR: syntax
error at or near ")" at character 84 in /path/to/drupal/htdocs/
includes/database.pgsql.inc on line 139.
user warning: query: SELECT p.perm FROM role r INNER JOIN permission p
ON p.rid = r.rid WHERE r.rid IN () in /path/to/drupal/htdocs/modules/
user/user.module on line 502.
The next time the same user tries to log in every thing will be fine
(since the user already has been created).
I'm not sure if this is a problem with the simplesamlphp_auth module
or with drupal 6.14.
If no one else has this problem I would guess we have a problem with
our SP.
--
Halvor Utby
USIT - UiO