Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
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. |
#2
|
||||
|
||||
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://'?
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#3
|
||||
|
||||
Same issue I am having. Just logs me out randomly..
|
#4
|
||||
|
||||
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 () $_COOKIE['mysuid'] => 1 () $_COOKIE['myssession'] => c8459e64acf7bf060ba516032a1ece91 () 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
__________________
|
#5
|
||||
|
||||
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 :)
__________________
My Mods Site (1.3.4, 2020 Mods) |
#6
|
||||
|
||||
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. |
#7
|
||||
|
||||
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$ RewriteRule ^(.*)$ http://www.yourSite.com/$1 [R=301] Greetings From PowerChaos
__________________
|
#8
|
||||
|
||||
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.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#9
|
||||
|
||||
And members page scrolling doesn't work properly. Should be an easy fix for me though.
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Admin Login Error, Please Help!! | ashamedCake | Questions and Supports | 5 | 01-29-2015 08:35 PM |
Unable to login as Admin. | NobodysHero | Questions and Supports | 0 | 03-10-2014 09:17 PM |
Oh god, here we go again lol..(Admin CP Issue) | Phoeniix | Questions and Supports | 5 | 11-03-2013 06:46 PM |
Admin failed to login | IntoRain | Questions and Supports | 4 | 08-02-2013 03:42 PM |
Admin CP? | booksbooks098 | Questions and Supports | 2 | 12-06-2012 04:37 PM |
What's New? |
What's Hot? |
What's Popular? |