Login Fails Breadcrumbs Behave Strangely

Login Fails Breadcrumbs Behave Strangely

When I try to log into the front end I get the mesasage:


The security token did not match. The request was aborted to prevent any security breach. Please try again.

And in the breadcrumbs I get:

You are here: Home - 9/11 Movement Presents Evidence for a Legal Case:

Breadcrumbs problem went away after I uninstalled RegularLabs "Modules Anywhere," I use MaximenuCK which allows me to install modules in a menu position and having both installed causes some collisions, and refreshed all the caches several times. I was then able to log in. But when I logged out and tried to login in again I again got:


The security token did not match. The request was aborted to prevent any security breach. Please try again.

again.

Everything was working correctly and then someone brought this to my attention today.

The HTML for the login drop-down looks as below, I see nothing wrong here:

Code:


<div id="jfbcLoginModal" class="sourcecoast modal" style="display:none">
  <div class="modal-body">You are now being logged in using your Facebook credentials</div>
</div>
<script src="/plugins/system/equalheights/js/equalheights.min.js" type="text/javascript">
  jQuery.fn.equalHeights=function(){var maxHeight=0;var windowWidth=jQuery(window).width();this.each(function(){var $this=jQuery(this);$this.height("auto");if($this.outerHeight(false)>maxHeight){maxHeight=$this.outerHeight(false)}});if(windowWidth>750){this.each(function(){var $this=jQuery(this);$this.height(maxHeight)})}};function ddResizeClass(selector){jQuery(selector).equalHeights()}function ddEqualizeHeights(){if(ddClasses!="undefined"){jQuery.each(ddClasses,function(index,selector){ddResizeClass(selector)})}}
</script>
<script type="text/javascript">

  var ddClasses = new Array(".equal-heights" );
  jQuery(window).load(function() {
    ddEqualizeHeights();
  });
  var resizeTimer;
  jQuery(window).resize(function() {
    clearTimeout(resizeTimer);
    resizeTimer = setTimeout(ddEqualizeHeights, 50);
  });
</script>
<div class="autocomplete-suggestions" style="position: absolute; display: none; width: 300px; max-height: 400px; z-index: 9999;"></div>
<div class="jfbcsocialshare"></div>
<div id="login-modal" class="sourcecoast modal fade in" tabindex="-1" role="dialog" aria-labelledby="login-modalLabel" aria-hidden="false" style="margin-left: -280px;">
  <div class="modal-header">
    <button class="close" type="button" data-dismiss="sc-modal" aria-hidden="true">×</button>
    <span class="modal-title">9/11 TAP Login</span>
  </div>
  <div class="modal-body">
    <div id="sclogin-242" class="sclogin sourcecoast">
      <div class="row-fluid">
        <div class="sclogin-joomla-login vertical span12">
          <form id="sclogin-form242" action="https://www.911tap.org/" method="post">
            <fieldset class="input-block-level userdata">
              <div id="form-sclogin-username" class="control-group">
                <div class="controls input-block-level">
                  <div class="input-append input-block-level">
                    <input id="sclogin-username" class="input-block-level" name="username" tabindex="0" alt="username" placeholder="Username" type="text">
                  </div>
                </div>
              </div>
              <div id="form-sclogin-password" class="control-group">
                <div class="controls input-block-level">
                  <div class="input-append input-block-level">
                    <input id="sclogin-passwd" class="input-block-level" name="password" tabindex="0" alt="password" placeholder="Password" type="password">
                  </div>
                </div>
              </div>
              <div id="form-sclogin-submitcreate" class="control-group">
                <button class="btn btn-primary span12" type="submit" name="Submit">Log in</button>
              </div>
              <div id="form-sclogin-remember" class="control-group">
                <label for="sclogin-remember">
                  <input id="sclogin-remember" class="inputbox" name="remember" alt="Remember Me" type="checkbox">
                  Remember me
                </label>
              </div>
              <input name="option" value="com_users" type="hidden">
              <input name="task" value="user.login" type="hidden">
              <input name="return" value="aW5kZXgucGhwP0l0ZW1pZD0xMDE=" type="hidden">
              <input name="mod_id" value="242" type="hidden">
              <input name="d24bb9f9c46437759cada76ee69a0c34" value="1" type="hidden">
              <ul>
                <li>
                  <a href="/register-with-us?view=remind">Forgot Username?</a>
                </li>
                <li>
                  <a href="/register-with-us?view=reset">Forgot Password?</a>
                </li>
              </ul>
            </fieldset>
          </form>
        </div>
        <div class="sclogin-social-login span12 vertical bottom">
          <span class="sclogin-social-intro span12">
            Log in Quickly with
            <i class="fa fa-hand-o-down" style="font-size:larger"></i>
          </span>
          <span class="sourcecoast login">
            <div class="row-fluid">
              <div class="social-login amazon scAmazonLogin pull-left">
                <a class="sc_amazonlogin" href="javascript:void(0)" onclick="jfbc.login.provider('amazon');">
                  <img src="/media/sourcecoast/images/provider/amazon/911truth_icon.png" alt="Login With Amazon" title="Login With Amazon">
                </a>
              </div>
              <div class="social-login facebook jfbcLogin pull-left">
                <a class="sc_fblogin" href="javascript:void(0)" onclick="jfbc.login.provider('facebook');">
                  <img src="/media/sourcecoast/images/provider/facebook/911truth_icon.png" alt="Login With Facebook" title="Login With Facebook">
                </a>
              </div>
              <div class="social-login github scGithubLogin pull-left">
                <a class="sc_githublogin" href="javascript:void(0)" onclick="jfbc.login.provider('github');">
                  <img src="/media/sourcecoast/images/provider/github/911truth_icon.png" alt="Login With Github" title="Login With Github">
                </a>
              </div>
              <div class="social-login google scGoogleLogin pull-left">
                <a class="sc_gologin" href="javascript:void(0)" onclick="jfbc.login.provider('google');">
                  <img src="/media/sourcecoast/images/provider/google/911truth_icon.png" alt="Login With Google" title="Login With Google">
                </a>
              </div>
              <div class="social-login instagram scInstagramLogin pull-left">
                <a class="sc_instagramlogin" href="javascript:void(0)" onclick="jfbc.login.provider('instagram');">
                  <img src="/media/sourcecoast/images/provider/instagram/911truth_icon.png" alt="Login With Instagram" title="Login With Instagram">
                </a>
              </div>
              <div class="social-login twitter scTwitterLogin pull-left">
                <a class="sc_twlogin" href="javascript:void(0)" onclick="jfbc.login.provider('twitter');">
                  <img src="/media/sourcecoast/images/provider/twitter/911truth_icon.png" alt="Login With Twitter" title="Login With Twitter">
                </a>
              </div>
            </div>
          </span>
        </div>
      </div>
      <div class="clearfix"></div>
    </div>
  </div>
</div>
<div id="login-modal" class="sourcecoast modal fade" tabindex="-1" role="dialog" aria-labelledby="login-modalLabel" aria-hidden="true" style="display:none">
  <div class="modal-header">
    <button class="close" type="button" data-dismiss="sc-modal" aria-hidden="true">×</button>
    <span class="modal-title">9/11 TAP Login</span>
  </div>
  <div class="modal-body">
    <div id="sclogin-242" class="sclogin sourcecoast">
      <div class="row-fluid">
        <div class="sclogin-joomla-login vertical span12">
          <form id="sclogin-form242" action="https://www.911tap.org/" method="post">
            <fieldset class="input-block-level userdata">
              <div id="form-sclogin-username" class="control-group">
                <div class="controls input-block-level">
                  <div class="input-append input-block-level">
                    <input id="sclogin-username" class="input-block-level" name="username" tabindex="0" alt="username" placeholder="Username" type="text">
                  </div>
                </div>
              </div>
              <div id="form-sclogin-password" class="control-group">
                <div class="controls input-block-level">
                  <div class="input-append input-block-level">
                    <input id="sclogin-passwd" class="input-block-level" name="password" tabindex="0" alt="password" placeholder="Password" type="password">
                  </div>
                </div>
              </div>
              <div id="form-sclogin-submitcreate" class="control-group">
                <button class="btn btn-primary span12" type="submit" name="Submit">Log in</button>
              </div>
              <div id="form-sclogin-remember" class="control-group">
                <label for="sclogin-remember">
                  <input id="sclogin-remember" class="inputbox" name="remember" alt="Remember Me" type="checkbox">
                  Remember me
                </label>
              </div>
              <input name="option" value="com_users" type="hidden">
              <input name="task" value="user.login" type="hidden">
              <input name="return" value="aW5kZXgucGhwP0l0ZW1pZD0xMDE=" type="hidden">
              <input name="mod_id" value="242" type="hidden">
              <input name="d24bb9f9c46437759cada76ee69a0c34" value="1" type="hidden">
              <ul>
                <li>
                  <a href="/register-with-us?view=remind">Forgot Username?</a>
                </li>
                <li>
                  <a href="/register-with-us?view=reset">Forgot Password?</a>
                </li>
              </ul>
            </fieldset>
          </form>
        </div>
        <div class="sclogin-social-login span12 vertical bottom">
          <span class="sclogin-social-intro span12">
            Log in Quickly with
            <i class="fa fa-hand-o-down" style="font-size:larger"></i>
          </span>
          <span class="sourcecoast login">
            <div class="row-fluid">
              <div class="social-login amazon scAmazonLogin pull-left">
                <a class="sc_amazonlogin" href="javascript:void(0)" onclick="jfbc.login.provider('amazon');">
                  <img src="/media/sourcecoast/images/provider/amazon/911truth_icon.png" alt="Login With Amazon" title="Login With Amazon">
                </a>
              </div>
              <div class="social-login facebook jfbcLogin pull-left">
                <a class="sc_fblogin" href="javascript:void(0)" onclick="jfbc.login.provider('facebook');">
                  <img src="/media/sourcecoast/images/provider/facebook/911truth_icon.png" alt="Login With Facebook" title="Login With Facebook">
                </a>
              </div>
              <div class="social-login github scGithubLogin pull-left">
                <a class="sc_githublogin" href="javascript:void(0)" onclick="jfbc.login.provider('github');">
                  <img src="/media/sourcecoast/images/provider/github/911truth_icon.png" alt="Login With Github" title="Login With Github">
                </a>
              </div>
              <div class="social-login google scGoogleLogin pull-left">
                <a class="sc_gologin" href="javascript:void(0)" onclick="jfbc.login.provider('google');">
                  <img src="/media/sourcecoast/images/provider/google/911truth_icon.png" alt="Login With Google" title="Login With Google">
                </a>
              </div>
              <div class="social-login instagram scInstagramLogin pull-left">
                <a class="sc_instagramlogin" href="javascript:void(0)" onclick="jfbc.login.provider('instagram');">
                  <img src="/media/sourcecoast/images/provider/instagram/911truth_icon.png" alt="Login With Instagram" title="Login With Instagram">
                </a>
              </div>
              <div class="social-login twitter scTwitterLogin pull-left">
                <a class="sc_twlogin" href="javascript:void(0)" onclick="jfbc.login.provider('twitter');">
                  <img src="/media/sourcecoast/images/provider/twitter/911truth_icon.png" alt="Login With Twitter" title="Login With Twitter">
                </a>
              </div>
            </div>
          </span>
        </div>
      </div>
      <div class="clearfix"></div>
    </div>
  </div>
</div>
<div class="sourcecoast modal-backdrop fade in"></div>

Edited by: webdevtim - Jun-26-17 12:54:47
webdevtim
T. Michel
useravatar
Offline
240 Posts
Website 
Active Subscriptions:

Administrator has disabled public posting. Please login or register in order to proceed.

Re: Login Fails Breadcrumbs Behave Strangely

In the SCLogin module, there's an option for caching, please try disabling it.

If that doesn't work, disable all caching or optimizations on your site to see if the problem goes away. It's possible that something is caching the token on one page and then re-using it on future pages which would cause the error you're seeing.

That's just a guess. Of course, always try with the regular mod_login module to see if that doesn't have the issue as that will narrow things down as well.

Thanks,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
23659 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Login Fails Breadcrumbs Behave Strangely

The module cache was already disabled.

I disabled the Joomla system cache and the problem went away including the problem with the breadcrumbs not referencing the correct page.

So I will have to set an exception for the SCLogin module, but I am not sure how to do that, will have to do some reading.

webdevtim
T. Michel
useravatar
Offline
240 Posts
Website 
Active Subscriptions:

Administrator has disabled public posting. Please login or register in order to proceed.

Re: Login Fails Breadcrumbs Behave Strangely

When you say the system cache, do you mean the System - Cache plugin? In that plugin, there's a setting for "Enable Browser Caching". If that is enabled, it should be turned of as that's likely the cause of your problem.

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
23659 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests also viewing this topic
There are 0 users also viewing this topic

Board Info

Board Stats
 
Total Topics:
11405
Total Polls:
0
Total Posts:
48071
Posts this week:
15
User Info
 
Total Users:
47243
Newest User:
jerpay
Members Online:
1
Guests Online:
530

Online: 
mr.srawut
Social Stream
Refer and Earn

Like our extensions? You're not alone! That's why they're used on tens of thousands of websites. Now you can earn 20% of any sale you refer to SourceCoast.com.

We provide excellent documentation, well laid out sales pages and great support. All you need to do is spread the word and we'll take care of the rest.

Learn About Our Affiliate Program