Download & Extend

SQL Error on account creation from webserver_auth

Project:Registration role
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)

Issue Summary

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

#1

Title:SQL Error on account creation» SQL Error on account creation from webserver_auth

#2

Status:active» postponed (maintainer needs more info)

ScarabMonkey - do you have any reason to think this is caused by the Registration Role module?

#3

Error 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.

#4

Heirba – 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?

nobody click here