Page 1 of 1

Can't log in to admin panel ;(

Posted: Tue Jan 05, 2010 10:11 pm
by anek1983apps
I have a problem. I just can't log in to admin panel. I installed open cart on my server, went through the registration process, created the admin login and password and nothing happens when I try to log in.

Nothing happens when I press enter. What can be a problem? Please help me, I'm new :-[ . Htaccess is ok.

Re: Can't log in to admin panel ;(

Posted: Tue Jan 05, 2010 10:13 pm
by TigerMatze
Did you try another browser?

Re: Can't log in to admin panel ;(

Posted: Tue Jan 05, 2010 11:09 pm
by Qphoria
I saw this once before... it was due to a custom htaccess file that was trying to redirect the domain to always use www... it would login to xxxxxxxxxx.com and then forward to www.xxxxxxxxx.com but since the session was with xxxxxxxx.com, it just went back to the admin login.

Be sure you comment out any htaccess stuff that is forcing redirects.

Re: Can't log in to admin panel ;(

Posted: Thu Jan 07, 2010 1:52 am
by anek1983apps
Qphoria wrote:I saw this once before... it was due to a custom htaccess file that was trying to redirect the domain to always use http://www... it would login to xxxxxxxxxx.com and then forward to http://www.xxxxxxxxx.com but since the session was with xxxxxxxx.com, it just went back to the admin login.

Be sure you comment out any htaccess stuff that is forcing redirects.
I tried it both. It doesn't work :(. It doesn't matter if it is xxx.com or www.xxx.com.

Re: Can't log in to admin panel ;(

Posted: Fri Apr 29, 2011 5:34 am
by adriankoooo
Hi dogacankanat,

I have same problem. Your solution is not working for me, I have already urls' without www (http://url.com) in admin/config.php.

RewriteCond %{HTTP_HOST} !^www\.xy\.eu$ [NC]
RewriteRule .? http://www.xy.eu%{REQUEST_URI} [R=301,L]

Any idea?

Re: Can't log in to admin panel ;(

Posted: Thu Jun 09, 2011 7:48 pm
by dat98cbr
I got this error when I changed the file sessions.php and entered an invalid domain by misstake.

Re: Can't log in to admin panel ;(

Posted: Mon Nov 28, 2011 12:49 pm
by kraftandjute
hey dogacankanat,

thank you -- this worked for me. I have a temporary re-direct - and all of a sudden I couldn't log into my admin (about 6 hours or so after I made the re-direct). Fixed! Thanks!

Re: Can't log in to admin panel ;(

Posted: Mon Jan 12, 2015 3:28 pm
by diwakar007
Thanks dogacankanat !

I have also solve my problem as well.

Re: Can't log in to admin panel ;(

Posted: Mon Mar 30, 2015 3:39 am
by cosminmc
I had the same problem, after I activated SSL from admin area.
When I did that there was not an immediate effect since the login session remained active.
One day after, when session expired, I tried to login back with no success, no error message.

Initially I didn't see a connection between these changes. After some research I disabled htaccess rewrite and worked.
I discovered that 301 redirect to "www." was the problem.
In config.php from admin was define('HTTPS_SERVER', 'https://domain.com/admin/'); without "www."

Adding "www." to that solved my problem.

This can be also a problem for define('HTTP_SERVER' if there is set a redirect in htaccess.

Re: Can't log in to admin panel ;(

Posted: Thu Apr 28, 2016 5:54 am
by abm23du
I have also the same problem
when I install opencart on my localhost every thing is correct but after I upload the web site on the server I can't login admin panel, when I input wrong pass it shows wrong pass and when I enter the correct pass it shows only the admin user and pass panel again.
the main site is http://www.eprtec.com

thanks
by the way I have a silly question :) I didn't find where the request new question section is in this forum!!!, where is it? ???

Re: Can't log in to admin panel ;(

Posted: Wed Aug 24, 2016 12:07 pm
by blackarch
I have same problem i try in localhost and it's work fine.
then i try in dummy domain and i can't login in admin it's keep write http://website.com/admin/index.php?route=common/login. every time i input correct it's blank(white screen with same page common/login).
so i tried echo the token and rewrite the url and sometimes it's work, somwtimes it's failed.

Re: Can't log in to admin panel ;(

Posted: Sat Oct 24, 2020 4:05 am
by trustgsm

Re: Can't log in to admin panel ;(

Posted: Sat Oct 24, 2020 4:26 am
by straightlight
Ok.

Re: Can't log in to admin panel ;(

Posted: Sat Oct 24, 2020 4:43 pm
by khnaz35
Admin page is seems loading fine and no error in console.
https://prnt.sc/v5tzdi
may be create a demo account and share the admin access to test login.

Re: Can't log in to admin panel ;(

Posted: Sun Oct 25, 2020 7:41 pm
by Burt65
khnaz35 wrote:
Sat Oct 24, 2020 4:43 pm
Admin page is seems loading fine and no error in console.
https://prnt.sc/v5tzdi
may be create a demo account and share the admin access to test login.
Or perhaps even start a new thread considering that this is 10 years old and related to Opencart version 1.5...