• Resolved Halil ESEN

    (@halilesen)


    Hi,

    There are problems with login. When I log in to phpBB with my test account and then switch to WP, the session still appears closed; After browsing around a bit and going back to phpBB, the session is closed. Can help me?

    And… I’ve seen something before, but I haven’t installed it; is this necessary: https://www.axew3.com/w3/forums/viewtopic.php?t=1783

    Thaks.

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter Halil ESEN

    (@halilesen)

    I reverted back to version 3.6.9. When I tried it from the Chrome incognito tab, everything was fine. When I tried it from Edge, the same problem occurred once. This has to do with caching, but…

    Is there anything that should be excluded?

    Plugin Author axew3

    (@axewww)

    Hello Halil, no it is not required to have the phpBB extension installed.

    If the user is logged in phpBB and coming in WP it is not logged in, mean that the cookie setting in phpBB maybe is not correct (not recognized by the code on WP because is not available all over the domain)? But i assume your setting is correct, is it an online test or localhost?

    .yourdomain.com

    3.6.9 of what?

    Thread Starter Halil ESEN

    (@halilesen)

    Cookie setting is correct in phpBB. I even updated the cookie name the other day. There is no problem in that part.

    Online. Tests in my board.

    Thread Starter Halil ESEN

    (@halilesen)

    Yes, when I try from the incognito tab, when I log in to phpBB and then back to WordPress, it seems like I’m not logged in. I refresh the page or click on WP links. Then when I go back to phpBB, it logout there either.

    Thread Starter Halil ESEN

    (@halilesen)

    I disabled the cache. There was no problem except that sometimes when I returned to WP with the phpBB redirect (with changes in the url) while logging in, it would sometimes ask to log in to WP again. Then I enabled the caching plugin again and asked it to exclude cookies containing login and wordpress_logged_in. not stable. But, it work. Thanks.

    Plugin Author axew3

    (@axewww)

    Which cache plugin are you using?

    Thread Starter Halil ESEN

    (@halilesen)

    WP Fastest Cache

    Plugin Author axew3

    (@axewww)

    Yes sorry, i already installed and partially tested days ago…

    Plugin Author axew3

    (@axewww)

    This is valid suggestion for all caching plugins.

    Option:

    Logged-in Users Don’t show the cached version for logged-in users

    i assume you should activate this option to fix the problem, yes!

    • This reply was modified 1 year ago by axew3.
    • This reply was modified 1 year ago by axew3.
    Thread Starter Halil ESEN

    (@halilesen)

    This option was always active. I had already seen that you recommended this in the beginning and i implemented.

    Well, I think the important question here is: what cookie name does the extension create to match sessions? Maybe…

    Do you receive my e-mails? ?? Am I talking too much?

    Plugin Author axew3

    (@axewww)

    No absolutely ?? and i missed last two notifications emails of this and the other post here.

    The WP plugin create a phpBB session when a wp login occur, not the phpbb extension, which if you installed, works on phpbb pnly and do not interfere anyway into phpbb auth flow.

    While the wp plugin, create a session using same phpbb names and when the user go into phpbb, the cookie is recognized and the user being logged.

    But if the cookie do not match a valid session, stored into phpbb db, then the user is logged out.

    Same so goes for wp: if the plugin do not find a matching cookie/session then the logout occur.

    I will test again since i am over to 2.7.7 which fix some problem on page forum and forum shortcode and yes i followed with the post to phpBB, even if it seem quite impossible to be achieved, i have find the way but it is a non secure way to execute the task so that i have to return over and see how to workaround to this aspect

    Thread Starter Halil ESEN

    (@halilesen)

    Thanks. After making some adjustments to the cache extension, I did not encounter this problem. However, as I have encountered many times, when switching from phpBB to WordPress, it asks me to go to the WP login page and log in again.

    Plugin Author axew3

    (@axewww)

    It is maybe because the id of the phpbb user, result to be into the bruteforce array: it happen that an ID (user) is added as bruteforced for several reasons and maybe not because it really has been bruteforced, but due to mismatching phpBB session that can occur for several reasons: at this point, a wp logged user is not affected, nor the user that login in WP (it will cause the cleanup of the phpBB user’s id from the bruteforce array in WP), but if the ID result to be existent into the brute force array and the user login in phpBB then come to WP, he will be logged out. To avoid this, you should install the last phpbb extension version and activate the latest added option about WP bruteforce, that cleanup the wp bruteforce id of the user if it exist, when will login in phpBB.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Problems.’ is closed to new replies.