Login/logout redirects: page not found

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
airali's picture
  • 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.

Comments

Solved

airali's picture

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's picture

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...

SpectralDart's picture

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's picture

@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

SpectralDart's picture

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's picture

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's picture

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.

Guys even i am having a

robin1988's picture

Guys even i am having a problem similar to this
I have a custom content type and if i save more than 3 nodes using that content type after saving the fourth node i am redirected to "page not found" page.
May be this page can help you understand my problem more clearly to you
http://drupal.org/node/741600

Help me guys

phpbb

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week