Posted by chrisdebird on January 15, 2008 at 12:57pm
Hello,
I’ve integrated phpbb with a fresh install of Drupal 5.6, everything seems to work as expected (login, logout, private messages, recent posts etc) other than My Account.
(a) When I log in and click “My Account” I get “The requested URL /users/xxx was not found on this server.”
(b) “My Account” doesn’t appear under the Menu in Drupal->Site Building->Menus either. This is different to another installation I have where “My Account” appears as a menu item with a status of locked.
I’ve checked “forums.htaccess “ and “phpbb\configuration.inc” and they seem ok.
Do you have any ideas why I may be having the problems in (a) and (b) above?
TIA.
Comments
Do you have to enable "View
Do you have to enable "View profiles" in Drupal permissions for authenticated users explicitly?
I would expect a Permissions denied, rather than 404, but it should be [drupal-path]/user/uid anyway, not userS
-Arne
Fixed
You sir, are a gentleman.
You're right, changing the alias to "user" and not "userS" fixed the problem. Bizarre but "userS" works fine on my local install.
For future reference I'd really appreciate it if you could explain why it has to be user and not userS?
Thanks again,
Paul
If you look into Drupal's
If you look into Drupal's .htaccess you'll see how it works.
/user/1000 turns into index.php?q=user/1000
The user.module has registered with the Drupal framework so that index.php knows that anything q=user/* is meant for user.module
I don't know why userS worked on your local machine, perhaps another module had registered it.
It's users/ on my install
It's users/ on my install too. This is generated by pathauto. I guess we'll have to turn this off to make the phpbb integration work?
edit: Ok, I know turned off the user profile aliasing in pathauto and removed all existing user aliases. Now the problem seems to be that "My Account" redirects all users to their phpbb profile, except the admin which I registered to use on a daily basis (all access rights in Drupal 5.6, "Founder" in phpbb3), this one still gets linked to the Drupal profile. Any idea how I can fix this?
Based on this, and the your
Based on this, and the your question about syncing users, I am guessing you need to review the foreword ( http://drupal.i1media.no/drupal+phpbb/foreword ) ?
I got the user sync to work
I got the user sync to work fine after altering the user IDs, so everything works perfectly now. Except for the above mentioned glitch, which only happens for the administrator (not ID 1 in Drupal, just a user with all permissions + "Founder" and Administrator in phpbb). All other users get redirected just fine.
Got it figured out, it was
Got it figured out, it was the "edit drupal users" permission that made this one user have access to the Drupal profile instead of the phpbb profile. I removed that permission for the admin and now the "My Account" link leads to phpbb for all users.
Thought I'd post this in case someone else runs into the same problem.