Needs work
Project:
Phorum integration
Version:
4.7.x-1.0
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Apr 2007 at 14:24 UTC
Updated:
17 Apr 2007 at 14:24 UTC
Don't know if this as already been corrected.
When a new registered users in drupal try to access phorum receive a "user id not found" error.
I found the bug in the file phorum_connector.php,v 1.1:
the code:
if(!$result) {
// if the user is not in the phorum user table but has access,
// insert an entry in the Phorum user table for them
if(user_access('access forum')) {
must be changed with:
if(!$result) {
// if the user is not in the phorum user table but has access,
// insert an entry in the Phorum user table for them
if(user_access('access phorum')) {
forum --> phorum
Cheers
Luigi