![]() |
admin cp not recognizing login
this happens to me a lot. the admin cp won't recognize me at all, after logging into both my site, and the CP itself. it gives me this error:
"An error has occurred. You do not have permission to access Admin Control Panel." even after logging into my site, refreshing, logging out and back in, or changing my password and logging out/in again. sometimes it lets me log in, most of the time, it does not. i don't know if it has something to do with cookies or caching, but it is very frustrating. i'm on chrome and i have cookies enabled so i can't understand why it keeps doing this. |
umm so you can log in from time to time but in most circumstances you cannot? Thats strange, are you using the url with 'http://'?
|
Same issue I am having. Just logs me out randomly..
|
1 Attachment(s)
the script works with cookie's and sesions in the db (unless it is changed in 1.3.2 )
if you randomly log out then it means a few things 1) your cookie does not match the sesion stored in the db 2) your cookie does not exist anymore in google chrome , try to clean your cach and cookie's and try again to login also try to use a second browser ( internet explorer for example ) as it is sometimes a problem with google chrome itself (happends to me to with some sites) you can also try to shut down google chrome and re open it (full browser close) and see if that works also to see if cookie's are stored or not you can check it on this site http://pets.demonpower.com/session_show.php it should look something like this Code:
$_COOKIE['PHPSESSID'] => d332a782d61c36ce258b011cb0d26cae () some cookie's only works on the site itself and not on other sites (like in this case ) so here is the script download it and upload it to the main folder of the myadopts install then go to that site and you should see the same as above ( if logged in) or a lot less (if logged out) if it does not show anything even after a login then your browser is not accepting the cookie's Greetings From PowerChaos |
I was getting this same problem when trying to login...let me guess, it says "now redirecting you..." or something like that and it doesn't redirect you?
If this is what it is, I got around this by just clicking the url bar so it's highlighted, and hitting the "enter" button on the keyboard and it worked fine :) |
Alright, so the real answer is because you are most likely not using WWW in your domain.
I had the same issue, then figured it out. Notice when you go to the admin panel, you are seeing WWW. If you don't see WWW when you are on your site, that is your issue. |
if it is the www problem then put this in your htacces
then you always get redirected to WWW if you like it or not :D (to prevent it from happening again) Code:
RewriteCond %{HTTP_HOST} ^YourSite.com$ Greetings From PowerChaos |
Oh yeah, LucasA33 told me about this last night when I was making the Itemdrop Mod. The script requires the usage of www and sometimes even http:// to work properly. Hopefully theres a good solution to that, it mostly has to do with the pagination system.
|
And members page scrolling doesn't work properly. Should be an easy fix for me though.
|
All times are GMT -5. The time now is 01:56 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.