Vanilla 2.1.11

HI,
I just installed your plugin to my site, when try to sign-in via the plugin it takes me to a 404 page.
But i dont see anywhere i can fix/correct the URL to not get this error.
www.orionslegacy.com

Thank you.

Best Answer

  • Fred_PinelFred_PinelMember
    Answer ✓
    Hi,
    Could you test a possible fix for us on your environment?
    In file: plugins/OneallSocialLogin/class.oneallsociallogin.plugin.php
    Add the following line: $host .= substr ($host, -1, 1) === "/" ? "" : "/";
    after line 70: $host = Gdn_Url::webRoot(TRUE);
    Such that the file around line 70 would now look like:
    $host = Gdn_Url::webRoot(TRUE); $host .= substr ($host, -1, 1) === "/" ? "" : "/"; return "<h4 class='login-title'>${caption}</h4>...
    Thanks for your input!

Answers

  • Hi,
    The error is caused by a redirection to /vanillaindex.php (the 404 relates to the error document).
    We're checking how this could be the case, maybe you have an idea.

    Regards.
  • Thank you for your time Frederic_Pinel,
    Your suggestion solved my issue!

    Once again, thank you, and have a great day.
  • Hi,
    You're welcome. Thanks for your help.
    We will update our plugin code then.

    Regards.

Welcome!

Please sign in to your OneAll account to ask a new question or to contribute to the discussions.

Please click on the link below to connect to the forum with your OneAll account.