-
AuthorPosts
-
November 17, 2011 at 9:40 pm #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 Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
November 18, 2011 at 8:55 am #425201Hi 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
November 18, 2011 at 9:16 am #425203One 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 Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
November 18, 2011 at 10:13 am #425207well try to set to no the options for SEO and URL rewriting.
November 18, 2011 at 10:24 am #425208Yes, 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 Friendphicts
- Join date:
- June 2011
- Posts:
- 85
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 26
- Thanked:
- 3 times in 1 posts
November 21, 2011 at 11:01 am #425673Subscribed.
I hope the solution will be share here in this thread. 🙂
November 21, 2011 at 11:19 am #425676I 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.
-
AuthorPosts
This topic contains 7 replies, has 3 voices, and was last updated by bicker 13 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum