Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter jturet

    (@jturet)

    My problem was that ‘http’ is hardcoded in the plugin and my site enforces ssl usage (https). Changed in plugin launcher and works now.

    tmh23

    (@tmh23)

    @jturet I am having the same problem can you share how you fixed the code in the plugin?

    tmh23

    (@tmh23)

    Wondering if you can help me out with a solution for this issue.

    Thread Starter jturet

    (@jturet)

    Does your site use https?

    tmh23

    (@tmh23)

    It didn’t when I go the error. The only time users went to https was in the shopping cart. The error happen when they were redirected back to the site.

    I believe my developer made the site https but then when you trying to login it would just kick you back like you weren’t logged in.

    tmh23

    (@tmh23)

    what is the best way to make the whole site https.

    Hi there,

    this is how i fix the problem for my website :
    (i’ve rewrite a part of plugin )

    Edit file bp-fp-loader.php :

    Replace :
    $current_url = 'https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];

    BY :

    if(is_ssl()){
    			$current_url  = 'https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
    		}else{
    			$current_url  = 'https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
    		}

    Now the code detect if we are in https or not and use the good protocol !

    An updated version with fix for HTTP/HTTPS can be downloaded here: https://github.com/bkuehhnle/Bp-Force-Profile.git

    Thread Starter jturet

    (@jturet)

    Excellent, thank you. Will the update be pushed to the wordpress repository?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Infinite Loop after 4.3 Update’ is closed to new replies.