WordPress.org

Ready to get started?Download WordPress

Forums

WP phpBB Bridge
[resolved] Cannot login to wp-admin - redirected to forum login (86 posts)

  1. shooker
    Member
    Posted 3 years ago #

    Hello, first of all wanted to say I'm very happy to have found this mod.

    I cannot login to wp-admin anymore. When I try to go there, it redirects me to the forum login. How can i fix this?

    http://wordpress.org/extend/plugins/wp-phpbb-bridge/

  2. shooker
    Member
    Posted 3 years ago #

    I just logged in somehow.

    While I was logged out of the forum, I was unable to login to wp-admin.

    Now I tried logging into the forum, then logging into wp-admin and it worked.. I'm confused.

  3. merianos
    Member
    Plugin Author

    Posted 3 years ago #

    After you have installed the plugin and activated you logged out from WordPress automatically. Then the authentication is made by the phpBB3 and not from the WordPress, that's why you can't use the wp-admin.

    After the activation of the plugin, any user that is registered on phpBB3, on first log in will get an account with that same credentials on WordPress automatically. Any new user that come to register on your forum will also have an account on WordPress automatically. The new users that are made by the phpBB3 on WordPress they will have the lowest level of rules.

  4. docterdoom
    Member
    Posted 3 years ago #

    I have the same problem but then it redirects me to the phpbb login right, but it isnt in the right location and i cant acces my wp admin to change it
    please tell me how i can fix this.
    i tried loggin in on the form and then go to localhost/wp-admin but it still redirects me to the login that isnt on that path

    (p.s thanks for the plugin gonna make my life a holl lot easyer )

  5. rianseve
    Member
    Posted 3 years ago #

    I have the same problem!!

    What i have found is that this the only "bridge" for WP3 and phpBB3....?

    If the plugin is activated and configured you can't go to localhost/wp-admin anymore?

    Who has the solution?????

    ( rename the "wp-phpbb-bridge" folder in the plugin folder. wp-admin works then but not the bridge.. )

  6. DJSParky
    Member
    Posted 3 years ago #

    Exactly the same problem, can't login to wp-admin after bridge activated, so have no way of getting into the WP admin panel

  7. merianos
    Member
    Plugin Author

    Posted 3 years ago #

    If you read the plugin page, then you can see that there is a specific process on how the plugin manage the authentication.

    Plugin home page [You can find english version at the bottom of the page]

    After the plugin activation, the authentication is made by the phpBB3. This mean that you can't login into WordPress by the wp-admin anymore. The only way to login there is to use the phpBB login form. Also, after the activation of the plugin in Plugin Manager of the WordPress you have several Widgets available. One of theme is the User widget that allows you to login into WordPress and phpBB3 from the wordpress front end.

    Finally, maybe will help you if you have same username for both wordpress and phpBB in administration level.

  8. DJSParky
    Member
    Posted 3 years ago #

    I understand that, but without being able to gain access to the admin panel, you can't put the widgets in place as when you turn the bridge on, you can't go to appearance/widgets

    And now, it says I don't have enough privileges to manage plugins when I am the only user on both my wordpress and brand new phpbb

    So therefore there is an issue that you cannot access the wp-admin panel when you vitally need too!

  9. crashtest
    Member
    Posted 3 years ago #

    didn't install this plugin yet, i would know what happens when maintenance mode is activated using this plugin:

    http://wordpress.org/extend/plugins/wp-maintenance-mode/

    with maintenace mode on, i have a link in maintenance page to http://www.mydomain.com/wp-login.php, after login i'm in admin panel. What will happen in case WP phpBB Bridge is activated?

    Thank you

  10. DJSParky
    Member
    Posted 3 years ago #

    Right, I got this to work....sort of

    The instructions are wrong as they tell you to activate the settings before you've placed the widgets
    Activate Plugins
    Add Widgets
    Activate Bridge Settings

    Having added a fresh install of phpbb again, I got around the privileges problem

    Now, here's where I find there's a problem
    All is fine, widgets are in place, login via phpbb, but that is not translating back to WP so I'm never logged in on WP and can't make new posts or actually do any admin

  11. archonic
    Member
    Posted 3 years ago #

    Hello,

    Love this bridge script, I can finally abandon the unfortunate wp-united =).

    I'm not sure if I need to delete users or reinstall anything to get it behaving properly but this is what's happening for me. All authentication goes through phpBB as expected, but if I'm logged in to the forum and go to [wp location]/wp-login.php, I am logged out. [wp location]/wp-admin/ works as expected though. Is this normal behavior?

  12. merianos
    Member
    Plugin Author

    Posted 3 years ago #

    hello archonic :)
    yes this is normal behavior cause you try to login to wp that redirects you to phpbb so you get a new session id ;)

  13. mike.steben
    Member
    Posted 3 years ago #

    First, let me disclaim that I tend to not admonish programmers in the open source community as I respect their individual talent and contributions to open and freely available software. BUT, in this scenario I am going to make an exception.

    Failing to mention in your installation instructions that the widget phpBB3 Users Widget MUST be enabled BEFORE the bridge is "turned on" is ABSOLUTELY UNACCEPTABLE. Failure to do so will render the WordPress admin to not be able to access wp-admin.

    Here's how to fix the problem;

    If you need immediate access to wp-admin then all you need to do is FTP into your WordPress plugins directory and rename the wp-phpbb-bridge plugin folder to something else. You'll be able to access wp-admin once again. The problem however is that the bridge function of the plugin is still enabled in MySQL... Here's the fix for that...

    Login into phpMyAdmin from your CPanel and open your WordPress database. Search for wpb_active and select all the DB tables before clicking Go. You'll now see the row wpb_active, click on edit. Change both "yes" values to no. You now have your wp-admin back!

    This time be sure to enable the phpBB3 Users Widget before "turning on" the bridge.

    Dear programmer, please correct your installation instructions, talk about a dark cloud over a potentially brilliant plug-in!

  14. Fraya713
    Member
    Posted 3 years ago #

    mike:

    So is this a permanent fix or will this just solve the current admin panel issue by turning off the plugin and we need to wait for an actual fix for this?
    Thanks

  15. Fraya713
    Member
    Posted 3 years ago #

    I think I know why everyone is having issues with the wp-admin page..

    you need to have your forums as a sub folder of your wordpress blog.

    for example:
    domain.com/wordpress/

    your forums need to be:
    domain.com/wordpress/forums/

    otherwise you will have issues with the wp-admin page..

  16. mike.steben
    Member
    Posted 3 years ago #

    Yes, this fix has worked for me no problem so far, just make sure that the phpBB3 Users Widget is enabled in your sidebar BEFORE you enable the actual bridge.

  17. Fraya713
    Member
    Posted 3 years ago #

    mike:
    is your wordpress sql server the same as your phpbb sql server also? or are you using different sql servers?

    thanks

  18. mike.steben
    Member
    Posted 3 years ago #

    I'm using different MySQL databases. I also just took the time to triple check and look for specific requirements for this plugin and found none whatsoever...

  19. Fraya713
    Member
    Posted 3 years ago #

    ok, because I tried to use this plugin with WordPress and my phpbb forums in separate folders and the wp-admin page would never come up.

    I then decided to do another test with the phpbb forums as a subfolder of the wordpress forums and I could get into the wp-admin page without a problem. I am assuming this is how you set yours up also if it is working correctly for you?

  20. mike.steben
    Member
    Posted 3 years ago #

    Yes, my WordPress install exists within my webroot, the forums exist in a subfolder.

  21. gms0012
    Member
    Posted 3 years ago #

    this is really bullshit..
    there is no way to get the wordpress login back?!

    i am trying all the stuff...

    how can I enter my wordpress admin account, after installing the bridge..

    it is really terrible and useless...

  22. mike.steben
    Member
    Posted 3 years ago #

    If you rename the plugin folder wp-phpbb-bridge to something such as wp-phpbb-bridge.old you will be let back into wp-admin immediately. My first post also details the complete fix. The plugin is pretty good once you get it to work.

  23. gms0012
    Member
    Posted 3 years ago #

    I renamed it already..
    but i dont want to change the database for now.
    i am lazy and want correct software.
    now i am looking for an alternative.. :)

  24. gms0012
    Member
    Posted 3 years ago #

    by the way.

    i dont find this wpb_active in all tables...

    which table is it?

  25. gms0012
    Member
    Posted 3 years ago #

    it is not working
    i changed the values to "no" and i still are in the forum area when i try to login to wordpress..

  26. Fraya713
    Member
    Posted 3 years ago #

    gms0012:

    I've been searching for a quality bridge for over two months, I've even played with joomla and I will tell you that this bridge is the easiest, most intuitive, straight forward and simple bridge you will ever find.
    This is the first bridge that I have actually gotten to work.

    You need to ensure a few things:
    Your forums are a subfolder of your wordpress file structure.

    I set up my phpbb and wordpress in the same SQL server, but Mike set them up in seperate SQL servers so that shouldn't matter.

    I used the same login name, password, and e-mail for both admin accounts. Not sure how Mike did it.

    Once you have your wordpress and phpbb forums set up, you need to add the phpbb username widget. (I went ahead and added all the phpbb widgets, just to be sure everything I needed was there)

    Then set up the paths to point to your phpbb forums within the wordpress add-on tab in your wordpress admin panel.

    All should then work, you should be able to login to your wordpress admin panel without a problem. If it doesn't, do what Mike said, as that worked for me as well. Another option is to completely delete the plugin from your plugin folder inside of wordpress and then reinstall and try it again.

    hope this helps.

  27. gms0012
    Member
    Posted 3 years ago #

    ok
    i will try it again later.
    i will put the forum as a subfolder to my wordpress folder...

    must it be somewhere in wp_content.. or can i put it under my wordpress root (at the momment MAIN).

    then i will add the same user to the board as i have within wordpress...

  28. Fraya713
    Member
    Posted 3 years ago #

    just the root folder is fine. That's exactly how I set mine up.

    wordpress:
    domain.com/wordpress/

    phpbb
    domain.com/wordpress/forums/

    let me know how it goes

  29. gms0012
    Member
    Posted 3 years ago #

    hm
    i did all the steps..
    but when i try to login to wordpress i am still in the forum :(

  30. Fraya713
    Member
    Posted 3 years ago #

    hmm that's interesting. Maybe give us a bit more information on how you've set everything up?

    Are your forums a subfolder of wordpress now?
    Do they have the same or separate SQL servers?
    Are you using the same admin login and password for both?
    Is this a new phpbb forum install and a new wordpress install or are you testing over a live website?
    How are you setting up your paths within the wordpress plugin?

    any information and more will be helpful, I understand how frustrating this can be..

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic