[support] Comment/Settings page error

Jason Flatt drupal at oadaeh.net
Thu Nov 29 20:56:09 UTC 2007


On Thursday 29 November 2007 12:33:04 Skip Taylor wrote:
> Hello,
>
> I've had this on the Drupal forum for almost a week with no reply. I hope
> someone here has an idea!
>
> Using Drupal 5.3. Site is upgraded. Originally 4.6 (new), then to 4.7, then
> to 5.3 if that matters. Theme is BlueMarine.
>
> When I go to the comment/settings page, I get these 4 errors reliably in
> the log:
>
> Location: http://www.mydomain.com/admin/content/comment/settings
> Message: array_keys()
> [function.array-keys<http://drupal.org/node/function.array-keys>]:
> The first argument should be an array in /modules/user/user.module on line
> 368.
> --------
> Location: http://www.mydomain.com/admin/content/comment/settings
> Message: array_fill()
> [function.array-fill<http://drupal.org/node/function.array-fill>]:
> Number of elements must be positive in /modules/user/user.module on line
> 369.
> --------
> Location: http://www.mydomain.com/admin/content/comment/settings
> Message: implode()
> [function.implode<http://drupal.org/node/function.implode>]: Bad arguments.
> in /modules/user/user.module on line 369.
> --------
> Location: http://www.mydomain.com/admin/content/comment/settings
> 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
> /includes/database.mysql.inc on line 172.
>
> I've disabled ALL modules, yet the error persists. Not sure where to go
> with this next. Is it a problem with comments , something wrong in the
> database or the user database/module?
>
> Thanks for any ideas!
>
> Regards,
> Skip Taylor

Has anyone modified that file?  What is on lines 368 and 369 of 
your /modules/user/user.module file?

-- 
Jason Flatt
http://www.oadaeh.net/
Father of Six:  http://www.flattfamily.com/ (Joseph, 14; Cramer, 12; Travis, 
10; Angela; Harry, 7; and William, 12:04 am, 12-29-2005)
Linux User:     http://www.xubuntu.org/
Drupal Fanatic: http://drupal.org/


More information about the support mailing list