test
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • bicker Friend
    #170808

    We are using the Joomlart JA Social template and have an issue with users attempting to enter their username/password when they are on the home page (index.php) of the site. When they enter the username/password and click Log In, the page refreshes and the Log in area at the top right goes away, but the user is not logged in. Users can navigate to another page on the site and then proceed to log in normally. Users also cannot log out of the site from the home page (index.php) but can when they navigate to another page on the site.

    Could we please get some help for this?

    Thank you.

    Updated:

    More details: I can “fix” this by changing templates/ja_social/html/mod_jalogin/default.php so that the FORM action isn’t aimed at the page the user is on, but instead aimed at a specific page on the website, other than the home page. This is okay for now, but surely there must be a correct way to do this without making such a capricious hack to the JA Social code.

    pavit Moderator
    #425201

    Hi bicker

    If for you is not a problem, i can make some tests on your site and check what is wrong but i need your super admin credentials,

    could you send me it via Private Message ?

    Thanks

    bicker Friend
    #425203

    One more detail that perhaps can help you know off the top of your head what could be wrong:

    We have SEO and URL Rewriting set to “Yes”.

    pavit Moderator
    #425207

    well try to set to no the options for SEO and URL rewriting.

    bicker Friend
    #425208

    Yes, that of course “fixes” the problem, but deprives us of the benefits of URL rewriting (and breaks all the embedded links relying on it).

    phicts Friend
    #425673

    Subscribed.

    I hope the solution will be share here in this thread. 🙂

    bicker Friend
    #425676

    I should note that I found another place where the same problem manifests: The search box at the top of the page.

    I’ve also improved upon my hack …

    On
    public_html/plugins/system/jat3/jat3/base-themes/default/html/mod_search/default.php
    apply this change
    <?php$newsearchurl = JRoute::_(‘index.php’); if($newsearchurl= ‘/’) echo ‘/index.php’; else echo $newsearchurl; ?>

    The same approach can be applied for the login situation:

    On
    public_html/templates/ja_social/html/mod_jalogin/default.php
    apply this change
    <?php$newloginurl = JRoute::_(‘index.php’, true, $params->get(‘usesecure’)); if($newloginurl = ‘/’) echo ‘/index.php’;else echo $newloginurl ; ?>

    Again: Both of these are the <form> tag action= attributes for their respective scenarios.

    I’m sure this is the wrong way to fix this, but heck, it works for now.

Viewing 7 posts - 1 through 7 (of 7 total)

This topic contains 7 replies, has 3 voices, and was last updated by  bicker 13 years, 1 month ago.

We moved to new unified forum. Please post all new support queries in our New Forum