Closed (fixed)
Project:
Anonymous Contact
Version:
5.x-1.0
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
26 Mar 2008 at 02:35 UTC
Updated:
10 Apr 2008 at 17:37 UTC
Hello,
When I open contact_anon/[nid]
I have the message :
warning: array_keys() [function.array-keys]: The first argument should be an array in /home.10.15/.../modules/user/user.module on line 361.
warning: implode() [function.implode]: Bad arguments. in /home.10.15/.../modules/user/user.module on line 361.
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 DISTINCT(p.perm) FROM role r INNER JOIN permission p ON p.rid = r.rid WHERE r.rid IN () in /home.10.15/.../includes/database.mysql.inc on line 172.
If someone can help me.
It's could be very HAPPY.
Thanks,
Jerome
Comments
Comment #1
michaux commentedDrupal 5.1
Base de données MySQL 5.0.44
Fichier de configuration Protégé
Librairie GD bundled (2.0.28 compatible)
Librairie Unicode Extension PHP mbstring
PHP 4.4.8
Comment #2
ezra-g commentedThanks for reporting this bug -- I hadn't configured the 'issues email address' for this project so I didn't see it until just now. I'll take a look at this as soon as possible.
Comment #3
ezra-g commentedThis was caused by incorrect calls to user_access, which should have been calls to node_access. I'm surprised that those errors made it into the initial release as I tested prior to committing the first version. I'll commit a fix and roll a new release in a few moments.
Comment #4
ezra-g commentedNew release will be available in a few minutes. Thanks for trying out this module!
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.