Login/logout redirects: page not found

  • I login in Drupal.
  • I click on forum link and enter the phpbb forum, where i'm correctly logged in.
  • I click on Logout in the phpbb forum: i get "Page not found" in Drupal.

I also had another problem with redirects, described here, which I paste here too, if it can be useful:
"Forum stuff" block shows 3 links: private messages, unread topics, unread posts. Links to topics and posts work, but "private messages" links to a "forum/inbox" which doesn't exist. But inbox exists, I can use it from the forum.

Groups:
Login to post comments

Solved

airali - Sun, 2008-02-17 14:50

I had to modify paths in .htaccess:

I changed this

RewriteRule ^inbox$ ucp.php?i=pm&folder=inbox [L]

in

RewriteRule ^inbox$ http://www.yousite.com/forumfolder/ucp.php?i=pm&folder=inbox [L]

and in the other paths I changed the DOTS before the paths in http://www.yousite.com, so for example:

../phpbb/login becomes http://www.yoursite.com/phpbb/login

etc.

Then I uploaded htaccess in forum folder, and it worked.


The "correct" fix would

arkepp - Thu, 2008-02-21 07:58

The "correct" fix would probably have been to set the RewriteBase for mod_rewrite. Whether you need it or not depends on the server, but if you do set it then it needs to be correct for our forumfolder-name.


Will have to try your changes but...

Dartarius - Wed, 2008-02-20 17:53

I had a similar problem but what happened in my case is that when I logged out from PHPBB, it took me back to the Drupal page and was logged out there too but when I logged back in, and then tried to go to the forums, I would not be logged there anymore! Its like if the cookies were not being deleted properly... I didnt change anything except upgrade to from drupal 6 rc2 to drupal 6 release.

Any has an idea as to what could be causing this problem??

Thanks


@SpectralDart youre saying

demon326 - Wed, 2008-02-20 18:45

@SpectralDart

youre saying this:
I didnt change anything except upgrade to from drupal 6 rc2 to drupal 6 release.

as far as i know there is no drupal 6 release for this module.., i think youre using the phpbb2drupal module


Actually this is for drupal 6

Dartarius - Thu, 2008-02-21 01:03

Actually, I worked on porting the module to drupal 6 and it worked fine until last night after I upgraded to the final release. The problem seems to be related to the session ID....


Session id or session

arkepp - Thu, 2008-02-21 07:55

Session id or session name?

If the latter, I'd try hardcoding it to the correct value.


Don't know which .HTACCESS file

snooze-gdo - Sun, 2008-12-28 02:36

Can you tell me which .htaccess file i have to modifi?
I tried to add the RewriteRule in the .htaccess file of my "root-drupal-directory", but after that the template cannot be loaded :-(

thanks.