This topic has 9 replies, 2 voices, and was last updated 7 years by Laura.

  • Author
  • #209195
     gabhainn
    Participant

    Hi,

    I have wordpress 4.9.8 up to date with patches and hosted on WP Engine.  When clicking on the ”lost password” link on the login modal, I get redirected to a link like this https://datatest.wpengine.com/wp-login.php?redirect_to=http%3A%2F%2Fdatatest.wpengine.com%2Fwp-login.php

    This is a test site, to eliminate a quite complex set of plugins on the production site.

    It’s a subirectory Multisite install, however there are no subsites beyond the root configured.

    Installed are:

    Plugins:

    Akismet 4.0.8 (deactivated)

    bbPress 2.5.14

    Buddypress 3.1.0

    WP Bakery Page Builder 5.4.1

    Themes:

    BuddyApp 1.5.7

    BuddyApp Child

    Twenty Fifteen

    Twenty Seventeen

    Twenty Sixteen (disabled)

    Set up steps were:

    deploy the site

    convert to Multisite

    Add the BuddyApp and BuddyApp Child themes

    Add the WP Bakery, BuddyPress and bbPress plugins

    Activate the plugins

    Activate the theme (BuddyApp Child), configuring the theme and Buddypress with defaults

    Test the password reset behavior and find that it goes to the broken link (wp-admin.php with a querystring redirecting to itself)

    I’m going to check the child theme funtions.php against the recommended additional code here https://archived.seventhqueen.com/buddyapp/article/wpengine-compatibility, but in the meantime wanted to check if there are any other items to be aware of running BuddyApp on the WP Engine hosting environment?

     

    thanks

     

    Gavin

     

     

    #209254
     Laura
    Moderator
    Not marked as solution
    #209290
     gabhainn
    Participant
    Not marked as solution
    #209292
     gabhainn
    Participant
    Not marked as solution
    #209302
     gabhainn
    Participant
    Not marked as solution
    #209303
     gabhainn
    Participant
    Not marked as solution
    #209304
     gabhainn
    Participant
    Not marked as solution
    #209338
     Laura
    Moderator
    Not marked as solution
    #210899
     gabhainn
    Participant
    Some follow up for you: after getting the login to work I discovered that replies to comments on activity stream items didn't work, and also editing Buddypress Docs documents did not work. After some debugging, I found that WPEngine throttles the wordpress heartbeat, which both Buddypress and Buddypress docs rely on to keep track of user state. Getting the heartbeat sorted, BuddyPress Docs lit up but I then found that my activity stream comments and replies were being posted twice. I traced *that* problem to the seventhqueen recommended modification to the child theme when working on WPEngine. With WPEngine's front end options set to *default*, the recommended snippet queues some basic scripts to help the them/buddypress work. With the WP heartbeat sorted out, what then happens is that BuddyPress loads the javascript objects - and the child theme does as well, so having loaded twice they fire twice, and Bang! - two copies of every comment and reply. Opened the ticket again to share the (hopefully) final resolution, which has the theme back and running nicely for me again. 1. DON'T MAKE THE MODIFICATION TO THE CHILD THEME described here: https://archived.seventhqueen.com/buddyapp/article/wpengine-compatibility 2. Contact WP Engine support and, for each install where you want to use BuddyPress (and BuddyApp) - have them modify the front end login settings so that WPEngine doesn't attempt to police failed login attempts - have them set the following options on the front end heartbeat API throttling = 15 seconds heartbeat_autosave_only = OFF This will adjust the behavior of the WP Engine mandatory security plugins so that they play nice with BuddyPress / BuddyApp, and won't break the threaded comments/replies to activity stream items or BuddyPress Docs (and likely anything else making use of the BuddyPress framework).
    #210937
     Laura
    Moderator
    Not marked as solution
Viewing 10 posts - 1 through 10 (of 10 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?