STRANGE admin problem - Probably easy solutionadmin login on backup
Posted 10 December 2011 - 09:14 AM
Can anyone help -- I have created a backup of my website and installed it onto Xampp on Mac OSX. Everything seems to be fine, although I when I go to the admin age on local host, I can't login using the default user-name and password. It doesn't give me an (password or user) error message, it just brings me straight back to the login screen and the browser asks me if I want to remember the password. I would normally expect to see the dashboard of the admin side. However this isn;t happening.
I have also removed the .htaccess files from the public_html folder
Is there a redirect somewhere in the code.
Any help would be VERY VERY much appreciated.
Posted 10 December 2011 - 09:30 AM
Might be an issue of not being to set a cookie (domain name needs dots in it)
(For the MySQL entry you can use localhost though)
Edited by Jan Zonjee, 10 December 2011 - 09:31 AM.
Posted 11 December 2011 - 12:52 PM
Thank you for the reply. I changed the following from localhost to 127.0.0.1 and still seem to be getting the same issue as before
Do you have any other suggestions? or have I changed something I shouldn't?
Any feedback is very grateful.
Posted 11 December 2011 - 02:08 PM
- Is the url in the form action of the login OK (it could point to https or something strange - do a "view source" in your browser.)
- Check if you get admin cookies for 127.0.0.1 (if so delete it and see if you get a new one.)
- Start up "Terminal" and use curl to go your admin:
curl -v http://127.0.0.1/catalog/admin/login.phpFrom the headers you get (and you don't see those in your browser) you can sometimes also get information about redirects, not getting cookies etc.