Login Problem on the Front Page of Forum
I am using wpmu 2.8.1, bp 1.0.3, bbpress 1.0.1. I have deep integration and all is working fine.
The problem is that when I want to login on the front page of the forum, I get “page not found” error, and when I refresh or go to any other page after, it shows that I am actually logged in!
On any other page of the forum or buddypress, I can login without any problem, it is just the /forum (front) page with the problem.
Got your PM.
I didn’t reply to this thread, because I’m not sure what the problem is
Otherwise, I would have written something; but anyway, here’s some possible things to check out:
- Can you navigate to any bbPress topic? Is this only on the bbPress front-page?
- Try going to your bbPress admin area and deactivating any or all of your bbPress plugins and see if that fixes the problem.
- Make sure you uploaded all the bbPress distribution files. You could be missing the index.php.
That’s all I can think of at the top of my head.
Hope one of them fixes your problem.
Thank you for your reply R-A-Y
I checked and it is none of the above! I have bbpress+bp+wpmu working fine. I have done all the integration necessary.
It is only on the front page of the forums and no-where else. When I login on the front page of the forum, I get:
Page not found!
I’m sorry, but there is nothing at this URL.
I refresh the page or click on the links (like homepage, members, forums), I am actually logged in!
It seems to me that it is a stupid error somewhere!?!
I’ve had this happen before. Here are 3 solutions which have worked for me in the past. There IS another but I can’t for the life of me remember what file needed hacked.
1. Check all of the links that you had to put into configurations. Make sure that the links & trailing slashes are correct.
2. Try overwriting the files with a new download. If the download glitched, you’ll have wonky files in your install & it will do that.
3. Another thing to try is a new install. (don’t forget to do backups) When doing the new install, pay attention to step 2 where it asks for your site & blog URL. If you used a trailing slash before, don’t use it this time & vice versa.
TheEasyButton, I think we are getting close, you mention about links and trailing slashes. When I go to general settings of bbpress, I see:
bbPress address (URL)as “http://mydomain.com/forum/” with the slash at the end, I am not sure if this is the problem?
I tried saving it without, but goes back to the “/” at the end!
I am not good in coding and assume that maybe hacking bb-login.php file some way will solve the problem?!? Or .htaccess?1?
Does anyone have an idea to the solution?
Can you link us to your site please?
If you have this integrated as you say, you may be able to completely remove the login in bbpress and just use the integrated cookies to make it work.
I will be glad and thankful if you can help me Rohan. My site:
Have you created a page in your root MU blog called “forum” by chance? Also, it kind of sucks but because bbPress pretty permalinks use “forum” to tell the URL that you’re clicking a forum, having your URL be domain.com/forum/forum/name-of-forum is the reason why most people install bbPress in “/forums/” or something else like “/support/” or “/discussion/”
What I’m saying is that it might just be that bbPress or WordPress are getting tripped up on what the redirect is, and maybe conflicting somehow?
JJJ, I don’t have “forum” mu blog in the root. Yes, my links go /forum/forum/name-of-forum. The problem is only on the main page of the forum (domain.com/forum) and redirected to “page not found”, other pages in the forum work normal.
Is there a hack possible, so that when I login on the “domain.com/forum” page, I am redirected to “domain.com/forum”? (as it should be)
Create a page in your MU root blog called “forum” and leave it empty. Right now when the WordPress .htaccess file see’s a redirect to domain.com/forum/ it denies it saying the page doesn’t exist. Creating the page on your MU root blog will satisfy the .htaccess file, and still route to your bbPress installation.
JJJ, thanks for your reply. Tried it and did not work. It also messed the admin bar in bbpress. This is maybe because I am using Burt’s hack:
Is there a way to hack .htaccess file, to solve this forum front page login problem?
I don’t see what creating the page could do to interfere with the admin bar in bbPress…
That post has nothing to do with bbPress.
Something else is gumming this up for you… Hmm…
- The topic ‘Login Problem on the Front Page of Forum’ is closed to new replies.