I receive this error when creating an account on D6 using 'webserver_auth':
* warning: array_fill() [function.array-fill]: Number of elements must be positive in /var/www/drupal-6.14/includes/database.inc on line 253.
* warning: implode() [function.implode]: Bad arguments. in /var/www/drupal-6.14/includes/database.inc on line 253.
* warning: array_keys() [function.array-keys]: The first argument should be an array in /var/www/drupal-6.14/modules/user/user.module on line 502.
* 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 /var/www/drupal-6.14/modules/user/user.module on line 502.
The error does not occur when I create the account as an admin using 'Add user'.
Comments
Comment #1
ScarabMonkey commentedComment #2
mlncn commentedScarabMonkey - do you have any reason to think this is caused by the Registration Role module?
Comment #3
Hierba commentedError on Create/Login too:
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 D:\Programme\xampp\htdocs\***\modules\user\user.module in Zeile 513.
array_keys() expects parameter 1 to be array, null given in D:\Programme\xampp\htdocs\***\modules\user\user.module in Zeile 513.
array_keys() expects parameter 1 to be array, null given in D:\Programme\xampp\htdocs\***\modules\user\user.module in Zeile 513.
array_fill() [function.array-fill]: Number of elements must be positive in D:\Programme\xampp\htdocs\***\includes\database.inc in Zeile 253.
Comment #4
mlncn commentedHeirba – same question to you– are you using the registration_role module? And if you are, does this problem go away if i disable registration_role?
Comment #5
mlncn commented