Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 12-07-2012, 08:19 PM
rhiecakes rhiecakes is offline
Member
 
Join Date: Nov 2012
Location: united states
Posts: 1
Gender: Unknown/Other
Credits: 1,803
rhiecakes is on a distinguished road
Default 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.
Reply With Quote
  #2  
Old 12-07-2012, 09:51 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 327,939
Hall of Famer is on a distinguished road
Default

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.
Reply With Quote
  #3  
Old 12-09-2012, 01:19 AM
LucasA33's Avatar
LucasA33 LucasA33 is offline
Member
 
Join Date: Jul 2011
Posts: 144
Gender: Male
Credits: 12,247
LucasA33 is on a distinguished road
Default

Same issue I am having. Just logs me out randomly..
__________________
Reply With Quote
  #4  
Old 12-09-2012, 07:03 AM
powerchaos's Avatar
powerchaos powerchaos is offline
WebMaster
 
Join Date: May 2008
Posts: 130
Gender: Male
Credits: 9,937
powerchaos
Send a message via AIM to powerchaos Send a message via MSN to powerchaos
Default

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 ()
also to get this to work for you , you need to use the same script but then on your site
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
Attached Files
File Type: php session_show.php (1.3 KB, 0 views)
Reply With Quote
  #5  
Old 12-09-2012, 09:03 AM
Abronsyth's Avatar
Abronsyth Abronsyth is offline
A Headache Embodied
 
Join Date: Aug 2011
Location: NY
Posts: 1,011
Gender: Male
Credits: 111,788
Abronsyth is on a distinguished road
Default

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)
Reply With Quote
  #6  
Old 12-09-2012, 12:43 PM
LucasA33's Avatar
LucasA33 LucasA33 is offline
Member
 
Join Date: Jul 2011
Posts: 144
Gender: Male
Credits: 12,247
LucasA33 is on a distinguished road
Default

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.
__________________
Reply With Quote
  #7  
Old 12-09-2012, 01:00 PM
powerchaos's Avatar
powerchaos powerchaos is offline
WebMaster
 
Join Date: May 2008
Posts: 130
Gender: Male
Credits: 9,937
powerchaos
Send a message via AIM to powerchaos Send a message via MSN to powerchaos
Default

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]
replace yoursite.com with your site

Greetings From PowerChaos
Reply With Quote
  #8  
Old 12-09-2012, 01:16 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 327,939
Hall of Famer is on a distinguished road
Default

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.
Reply With Quote
  #9  
Old 12-09-2012, 01:30 PM
LucasA33's Avatar
LucasA33 LucasA33 is offline
Member
 
Join Date: Jul 2011
Posts: 144
Gender: Male
Credits: 12,247
LucasA33 is on a distinguished road
Default

And members page scrolling doesn't work properly. Should be an easy fix for me though.
__________________
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -5. The time now is 11:00 AM.

Currently Active Users: 657 (0 members and 657 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636