Login/logout redirects: page not found

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by airali on February 16, 2008 at 1:04am
  • 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

Posted by airali on February 17, 2008 at 2:50pm

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

Posted by arkepp on February 21, 2008 at 7:58am

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

Posted by SpectralDart on February 20, 2008 at 5:53pm

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

Posted by demon326 on February 20, 2008 at 6:45pm

@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

Posted by SpectralDart on February 21, 2008 at 1:03am

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

Posted by arkepp on February 21, 2008 at 7:55am

Session id or session name?

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

Don't know which .HTACCESS file

Posted by snooze-gdo on December 28, 2008 at 2:36am

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

Posted by robin1988 on March 14, 2010 at 6:20pm

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:

AltStyle によって変換されたページ (->オリジナル) /