Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cant login to admin page with OpenCart.

Tags:

opencart

I just installed OpenCart for the 5th time and I always get stuck on the same page ..

I get no errors when I install it but when I try to login to the admin page i always get stuck.. It shows no errors if i try with correct username / password.

Do someone here had the same problem?

Please answer..

like image 672
Albin Ferm Avatar asked Sep 07 '25 09:09

Albin Ferm


1 Answers

Do you have any non-www to www rewrites in effect in a .htaccess file? This is one instance where I've seen this happen - where the admin is set to use yourdomain.com/admin/ but your server is set to rewrite all non-www to www.yourdomain.com

If you open up your admin/config.php - find the url's for the HTTP_SERVER etc and change them all to www. if they're not already, and vice versa if they do have www.

Then save, and reload your admin page and try to log in. Hopefully it will then work

like image 100
Jay Gilford Avatar answered Sep 10 '25 08:09

Jay Gilford



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!