Page 1 of 1

Admin Access fails

PostPosted: August 11th, 2011, 8:30 pm
by TalkingEd
Hi team, great plugin and support looks amazing.

Just loaded s2Member, have installed and basic configuration, restricted a few pages. Signed out as admin to show site to client, wont allow me back in as admin with correct password. Tried to change password, successfully done, stil wont let in with new password.

Cleared cache, history, cookies, any suggestions please.

Re: Admin Access fails

PostPosted: August 11th, 2011, 10:46 pm
by Cristián Lávaque
Hi Ed.

I'm sorry you had that problem. Tell me, did you get any errors? Do you have a backup of the site before you got that problem?

I imagine you still have FTP access, you could go to the plugins dir and move out those you feel may be causing the issue. Or go into the database and see what you can do from there.

For s2Member, I hope you had Deactivation Safeguards on so you don't lose your settings and info if you deactivate it. WP Admin -> s2Member -> General Options -> Deactivation Safeguards

Re: Admin Access fails

PostPosted: August 11th, 2011, 11:18 pm
by TalkingEd
No I didn't receive any errors, when I did try to log out it failed a number of times to log me out but then after a few refreshes it did.

I have deleted s2member and it still fails to let me in. Any suggestions.

Re: Admin Access fails

PostPosted: August 11th, 2011, 11:22 pm
by TalkingEd
I also have this line of data in the db in the wp_usermeta table

a:2:{s:5:"level";s:10:"1312787623";s:6:"level4";s:10:"1312787623";}, should I amend some of this?

Re: Admin Access fails

PostPosted: August 11th, 2011, 11:23 pm
by Cristián Lávaque
Well, it wasn't s2Member... I don't know what could be causing the problem. :|

You could try searching Google for that problem and see if someone else had it and how they solved it.

Do you have a backup of the website from before you had the problem?

Edit: I'm not really sure what that line is. What's the rest of the row?

Re: Admin Access fails

PostPosted: August 11th, 2011, 11:34 pm
by TalkingEd
Thanks

Thats the row of data in the db that controls s2member permissions, I'll search around google to see if these is an answer

Re: Admin Access fails

PostPosted: August 14th, 2011, 6:31 pm
by TalkingEd
Possible solution

I inserted ('COOKIE_DOMAIN', $_SERVER['HTTP_HOST']); into the wp-config file of wp 3.2.1 and it has fixed the issue so far, if it reoccurs I'll let you know.