Login Problems

7 years 4 months ago #288973 by kirkydu
Login Problems was created by kirkydu
I set up this site some time ago, but my friend has asked for help now because of some problems. Here is what I know: the site worked fine for several years, with the only issue being about five months ago needing a CBSubs upgrade. All worked fine until this week. Since I did not perform the Joomla upgrade to 3.65. Latest CB and CBsubs are installed.

The only two changes that seem to have occurred are the Joomla upgrade and the owner deleting the original Free CBsubs plan. Owner says he also probably added some plugins to speed the site up recently, but even if that's the case, the results are really odd...

The results are that users cannot login on the main page. Or, if they can (which we seemed to make happen today - I believe after two tries), they are logged in as the last person to have logged in, not their own profile. No database errors when I run the tools. Plus, users can log in just fine in Kunena forum.

We are redirecting members to the forum, but we want a main page login. I saw something about the two-attempt login issue, but not anything about getting a different username once logged in.

Please Log in to join the conversation.

7 years 4 months ago #288974 by kirkydu
Replied by kirkydu on topic Login Problems
When looking around, I disabled JCH Optimize Pro and jSGCache in order to see if those add-ons were doing it. I wanted to mention that this is the owner's account on joomlapolis and he is the paid member, so I am not trying to get free advice for some other website. Upon disabling these plugins, we're back to not being able to login at all on main page.

I also deleted login redirect from cb login module as it seems he had added a redirect there that you'd advised against in another forum post. Maybe still a cache issue with plugins, but other users might have had experience dealing with this, so I wanted to update the post.

Please Log in to join the conversation.

7 years 4 months ago #288996 by krileon
Replied by krileon on topic Login Problems
Sounds like a cache problem. Disable all caching (Joomla and 3rd party). Next purge the cache within Joomla. Now visit the frontpage. Next check the cache again. If new cache is there then caching isn't completely disabled and you need to find what's still trying to cache. Sometimes the Joomla template has some form of caching so be sure to try Joomlas default protostar template. Caching is the only way Joomla could be serving a page with the wrong user displayed and is typically page caching specifically doing it (as it caches the entire page buffer).

Login redirects are fine as long as they're configured correctly. They should be non-SEF and begin with index.php. If you include the domain you run the risk of cross-domain issues. For example if you configured it with www and someone logs in on your domain without www they'll redirect and appear not logged in as Joomla cookie is domain strict (as it should be for security purposes). Also ensure live_site within configuration.php is empty as that could also be a source of cross domain issues.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.604 seconds