Pages redirect to homepage when user logs out from them - joomla

I'm new to Joomla, and I am having this strange issue that I can't find any help on, and I have no idea how to go about even debugging it.
Basically, whenever a user logs out on a page, that page from there on out redirects to the homepage. If I clear my cookies, everything goes back to normal, and the page is accessible again.
This doesn't happen in Chrome, just Firefox and IE. I'm using Joomla 2.5.
I've looked at the debug console but I didn't find any stand out clues.
Thanks everyone.

Go to the Module Manager, open the Login module, and in the parameters section, there are 2 fields to choose the redirection after logging in and out.

I had the same problem with joomla 2.5 on Firefox, but not on Chrome. Problem would reset when I cleared the cache, until I did a logout again. Then the home page content would get written into my cache for the page I had been on for registered users only, when I logged out.
I fixed it when I set the Login module to explicitly take the user to the home page, rather than leaving the setting at default. Then it worked correctly for both browsers, and the home page content no longer got cached as the registered users only page.
Set the logout behavior in Extensions: Module Manager: Module Login: Basic Options
Hope it fixes your problem also!

I realize this question is over a year old, but I just worked through the same issue. Hopefully my answer can still be useful to someone. The solution was to disable a plugin called "System - Logout" and clear the browser's cache afterwords. This fixed both the issue of not being able to get back to the page after logout, and an issue where the "Logout Redirection Page" parameter set in the login module was being ignored.

Related

Magento 2 - Redirect to "My account" page when clicking "Addressbook"

We just launched a Magento 2.0.4 store, but we're experiencing the issue described below. Hopefully someone can help us fix this.
When a customer is logged in in our store and clicks on "Addressbook" on the "My account" page, he gets redirected back to the "My Account" page.
The redirect order is as follows and all redirects are 302's (Moved Temporarily):
/customer/account/ --> /customer/address/new (as expected because this customer has not created any address yet)
/customer/address/new --> /customer/account/login/ (herein lies the issue, we would like to see the "Add New Address" page)
/customer/account/login --> /customer/account (as expected)
Notes: Our store is running on HTTPS and a custom made theme which is based on the default Luma theme. We also have another Magento 2.0.4 store running on the same server with the same hosting provider and the issue is not present here. You can try it yourself here.
What we tried:
Disabling all custom modules
Removing all custom language files (i18n folder)
Disabling SEO URLs
Here is a screenshot which shows the redirect order in the Chrome Developer Toolbar
We have found the solution. Apparently a module was in fact still causing the problem: Mirasvit_Core. Disabling the module and deploying static content again fixed the issue.
Thanks for reading and I hope this helps anyone else having this problem.

Magento Customer Login Issue - Login Page Keeps Reloading On Login

So I found several variations of this issue and tried the solutions; none worked.
So customers are not able to login with the correct username and password. The login screen (https://www.example.com/customer/account/login) just refreshes when the credentials are entered correctly -- should redirect to the My Account Dashboard.
The only thing that seems to temporarily work (few hours at a time before the problem comes back) is when we change back and forth the System > Config > Web > Session Cookie Management > Cookie Domain to "https://www.example.com" and ".example.com" Then we flush the Magento Cache and we flush the Storage Cache and refresh the all Cache Types.
After this, Customers can login on Firefox, Safari and IE, but not Chrome (same login page looping issue).
We have exhausted everything we can think of. No errors in the logs and we have the correct getBlockHtml('formkey'); ?> code in the login.phtml files. We are using a custom theme and noticed this problem after migrating the site from Enterprise Edition to Community edition.
Any suggestions would be greatly appreciated!
Thanks for reading this article and opportunity to post my answer here.
I also faced same problem which AShah faced. I also googleing but did not find such proper result. Finally I removed or clean the session folder (root>var>session) and its works fine for my store.
Hope this trick will solve you. thanks
First check what are the values set for following path in core_config_data
table
web/cookie/cookie_path
web/cookie/cookie_domain
Try by replacing any existing value by NULL.
Following should be set to 1
web/cookie/cookie_httponly

Wamp MyBB Forum Login failure

I have mybb forum on my website.
I am trying to make changes to my website.
I downloaded the contents of my website to localhost/wamp/www
Website works fine. When I try to login into mybb forum, it get redirected to login page again despite of the correct login.
Can someone tell me whats going wrong?
After debugging, I believe this could be a problem with localhost sessions.
Any help would be appreciated very much!
I understood that the session variables are not getting stored, however, the session files are being created.
What is the solution for wamp localhost sessions issue?
The problem is with the cookie domain.
Login as forum admin. Goto Configuration --> settings --> general settings
Clear the field: Cookie Domain
In case your admin login fails or you are not able to select configuration after your login don't worry!
Open the file: /forum/inc/settings.php
Search for $settings['cookiedomain'] and set the field to empty string.
Now you can login into MyBB in your localhost!!

Some Page links are not working when i am not logged in Pyrocms

I have a strange issue when i am logged in and exploring the pages created from CP all goes well. But when i am logged out and go to the same page it says Page missing. What is the problem? Also this is only happening only on those pages where i am not using any tags to display data from database tables. It is happening on about use page etc
I have found the problem. Using Access options i change from default to live and now it is working fine.

Magento session lost when switching to https from http

I've searched high and low for a solution to this, with no luck. My host told me they are too busy to help.
Magento 1.4.2 // SSL cert
1- When I add an item to cart, the page reloads and my item is added to cart. [good]
2- Next, I click home, and my items are no longer visible in cart sidebar. [bad]
3- Next, I click "Tops", and my items are still not visible in cart sidebar. [bad]
4- Next , I click "Bottoms" and the items show just fine.
In all cases where the cart isn't visible, I can add https to the URL and the cart loads up just fine. Can anyone help me figure out why my session is being lost between http and https?
I have all my backend web cookie settings set to "no" except for sID.
Also- When a user is logged in, the cart items ALWAYS show on the right. It's only screwy if they're a guest.
Thanks guys, if you need me to post any code let me know.
wwwdotlylifdotcom
EDIT: Here is a screenshot of my cookies session in firebug (not exactly sure what I am looking at). Hope this helps.
And here is my Session settings in magento: I have tried just about every variation of turning these on and off.
EDIT!
This issue has actually been narrowed down to a cache issue. We found out that when the cache is dumped/deleted, the website works properly. But after a few minutes of surfing the problem happens again. Does anyone have any idea? (And should i change the question title?)
I'm using a module called Lightspeed from TinyBrick, and it seems the new cache options are messing with our site. =( I'm contacting them shortly.
**EDIT Tinybricks excellent support helped us out. Thanks for all of your suggestions.
Is the session cookie being set to be HTTPS-only? That'll prevent it from being carried over to regular HTTP requests, effectively giving the user two different sessions.
You have in your screenshot two frontend cookie with two domains, one with www and an other one without. Check if you have a correct domain name in the configuration > Web tab > Cookie Management > Cookie Domain (or something close to that). If it's empty set it to ".mydomain.com" and try again.
Check if you don't have different cookie domain in your configuration in the other store views, set them to "use website".
If still doesn't work, What are the values of the fields of cookie management and the cookie validation settings
We were experiencing similar issues where our custom nav (depending on whether a user was logged in or not, was not very consistent across different pages.
We followed the suggestion # http://ka.lpe.sh/2011/06/19/magento-checking-customer-admin-is-logged-in-or-not/ to check if a user was logged base on the frontend session variable before a rendering a particular block, and it seems to have done the trick.
Perhaps you can try something similar.
Tinybricks excellent support helped us out. Thanks for all of your suggestions. This was a localized problem based off cache and a module called Lightspeed.

Resources