array_keys(): The first argument should be an array in /home/[domainuser]/public_html/modules/user.module on line 349
and then this comes as well
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 /home/socialis/public_html/includes/database.mysql.inc on line 120.
I just installed the cvs version today but I assume it is 4.7 as you as you said. Still its doesnt seem to be.
Comments
Comment #1
jsbthree commentedYes it was the one you uploaded today..
Comment #2
robert castelo commentedI've uploaded a new version - wait until tomorrow to download, or get it directly from cvs.
If you do still see any error messages, make sure to include which page was affected when you report the bug.
Comment #3
zzlong commentedI grabbed user.module from CVS today and still got the same error messages in administer -> comment -> configure.
I noticed that in the forum many ppl said this problem relates to the private message module. However I don't have this module in my 4.7.2 system.
My drupal was updated from 4.7 RC which was a fresh installation.
Comment #4
robert castelo commentedzzlong no idea what you are talking about. I think you've posted to the wrong place.
Comment #5
(not verified) commentedComment #6
chrislynch commentedTried the latest CVS code today and got the same issue ?
Comment #7
chrislynch commentedThis is the output after trying to do ?q=logout
Warning: array_keys() [function.array-keys]: The first argument should be an array in E:\XAMPP\xampp\htdocs\drupal_ecommerce\modules\user.module on line 351
Warning: implode() [function.implode]: Bad arguments. in E:\XAMPP\xampp\htdocs\drupal_ecommerce\modules\user.module on line 351
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 DISTINCT(p.perm) FROM role r INNER JOIN permission p ON p.rid = r.rid WHERE r.rid IN () in E:\XAMPP\xampp\htdocs\drupal_ecommerce\includes\database.mysql.inc on line 120
Warning: Cannot modify header information - headers already sent by (output started at E:\XAMPP\xampp\htdocs\drupal_ecommerce\modules\user.module:351) in E:\XAMPP\xampp\htdocs\drupal_ecommerce\includes\common.inc on line 266
Comment #8
chrislynch commentedTry this fix - need to replace line 351 in user.module CVS version with this block of code
Appears to restore normal logout functionality (which was my issue), presume it will cover all instances of this error message.
Comment #9
robert castelo commentedDoes any of this have anything to do with News Page module?
Closing the issue.
Comment #10
Rosamunda commentedThe problem is still there.
I have the same problem with comment module, trying to enter admin/comment/config area
Comment #11
Rosamunda commentedCheck out this post, I´ve got a very similar problem with comments module and there I´ve got the solution :-)
Rosamunda
Buenos Aires
Comment #12
robert castelo commentedDoes this issue have anything to do with News Page module?