October 4, 2011 at 10:55 pm #4480
I recently updated to a new build after you fixed an issue for me and now I am suddenly finding some strange behavior going on. I have 3 levels of memberships setup (ids are 2,3,4) each has its own redirect after login.
I am using php to find the user level and serve up different menu content based on their level but every level coming back from my users is level 2 even thought I can clearly look in the member database and see that the user I am currently logged in as is level 3.
I have tried both ways to find the level id’s that you have on this page:
I am also noticing that upon login the user stays on whatever page they are currently on versus the login redirect kicking in.
All of this was working before… I am baffled at how it has suddenly stopped working.October 4, 2011 at 11:31 pm #37313
ok something weird is definitely going on here…
I placed <?php global $auth; print_r($auth); ?> above my login and it is saying a certain user is logged in even after i manually logout it continues to say this person is logged in which explains why no matter what user I sign in with it keeps going to level 2 because this user that it is stuck on is.
Any thoughts? This is crazy.October 4, 2011 at 11:46 pm #37314
BTW… I am not using a caching plugin.October 4, 2011 at 11:48 pm #37315
Seems if I do a WordPress logout it does not log out of both WordPress and eMember.. it used to work though… so I then log out of eMember manually thru the url but as soon as I refresh the page its back to the same member data again!!!October 5, 2011 at 12:11 am #37316
I just updated the plugin to the newest and the same thing is happening in safari and FF. seems the cookies are just not reseting. So odd.
No matter how many times I log out as soon as I remove the logout string and hit refresh the member data pops right back up again… and if i sign in with someone else it will not change the data… it just keeps the same person logged in.October 5, 2011 at 12:22 am #37317
Looks like the cookie somehow got messed up. Can you clear all your cookies from the browser then check it out?October 5, 2011 at 12:26 am #37318
yes I have over and over again in attempts to figure out the issue. when i remove the cookies it works that first time but after that it goes back to the same issue.October 5, 2011 at 12:27 am #37319
not sure if you saw this but I added it on to my last comment after you responded:
No matter how many times I log out as soon as I remove the logout string and hit refresh the member data pops right back up again… and if i sign in with someone else it will not change the data… it just keeps the same person logged in.October 5, 2011 at 12:38 am #37320
In order to get it to clear the current $auth data I need to delete both the e_m_bazooka and the PHPSESSID cookies. Clearing just one of them does not change a thing.October 5, 2011 at 12:48 am #37321
It’s happening in safari, FF and chrome so it’s not a isolated incident in one cookie on one browser. (I only tested in those 3)October 5, 2011 at 2:30 am #37322
Please do the following
1. Deactivate and delete the currently installed version of the plugin(s).
2. Download a fresh build of the plugin(s) from here:
3. Upload and activate this version of the plugin(s).
4. Create a test member account and share the login details of this member so we can jump on your site and test the logout.
5. Post a link to the eMember login page of your site
Please make sure you do not do any code modification after the update (we cannot troubleshoot a customized version of the plugin).October 5, 2011 at 2:59 am #37323
Who do I email the username/password to?October 5, 2011 at 3:13 am #37324
You can use the contact form here:
Mention this forum thread so we can reference the issue.October 6, 2011 at 3:14 am #37325
All sent.October 8, 2011 at 6:28 am #37326
You seem to have customized the login form (the login form I see there is not the one the eMember creates). Just remember that when you make your customer login you need to use the following URL as your logout URL otherwise logout won’t work (replace your-domain with the actual domain name):
- You must be logged in to reply to this topic.