Zen Cart Logo
Forums / Basic Configuration / Admin login not working

Admin login not working

Views: 7,403

Results 1 to 20 of 26
15 Dec 2023, 10:20 AM
#1
t20bigjim avatar

t20bigjim

New Zenner

Join Date:
Sep 2021
Location:
Wisbech
Posts:
1
Plugin Contributions:
0

Admin login not working

Hi People,

My admin logon randomly started saying insecure on chrome browser and an endless loop of not being able to login.

I have gone through the configure.php filed and corrected the SSL links so now i get no warnings except i still cannot login.

After editing the configure files, i clock login and the little icon in the corner thinking about it for a few seconds and gives me back the login page again!

I can send an admin reset passwrod email, i can receive the email. Login with it which gives me the prompt to set a new one which it then wont allow me to do now.

The site has been working find until the last three days. I havent upgraded, changed any settings etc.

my domain is chgclassics.co.uk and i am unsure which zencart version as i cant login to check :blink:

The site according to the whynopadlock is fine. Really confused with this one now!

15 Dec 2023, 5:27 PM
#2
pilou2 avatar

pilou2

Zen Follower

Join Date:
Jun 2008
Location:
Japan
Posts:
391
Plugin Contributions:
6

Re: Admin login not working

Your site is not accessible with a message saying your DNS can't be found.
It sounds like a DNS server problem.

15 Dec 2023, 10:01 PM
#3
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,963
Plugin Contributions:
8

Re: Admin login not working

pilou2:

Your site is not accessible with a message saying your DNS can't be found.
It sounds like a DNS server problem.

???

charmes: # ping chgclassics.co.uk
PING chgclassics.co.uk (185.65.237.151) 56(84) bytes of data.
64 bytes from nomad.xssl.net (185.65.237.151): icmp_seq=1 ttl=43 time=172 ms
64 bytes from nomad.xssl.net (185.65.237.151): icmp_seq=2 ttl=43 time=147 ms
64 bytes from nomad.xssl.net (185.65.237.151): icmp_seq=3 ttl=43 time=201 ms
64 bytes from nomad.xssl.net (185.65.237.151): icmp_seq=4 ttl=43 time=347 ms
64 bytes from nomad.xssl.net (185.65.237.151): icmp_seq=5 ttl=43 time=161 ms
64 bytes from nomad.xssl.net (185.65.237.151): icmp_seq=6 ttl=43 time=189 ms
^C
--- chgclassics.co.uk ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5005ms
18 Dec 2023, 1:36 PM
#4
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,290
Plugin Contributions:
39

Re: Admin login not working

Some things to do ... check

Just a note to make sure any browser you are using is up to date because your Let's Encrypt SSL has no throwback for TLS 1.0 & 1.1. This is as it should be, but if your browser or OS is out of date you may not be TLS 1.2 ready.

~Melanie

3 Mar 2024, 10:55 PM
#5
kitutal avatar

kitutal

New Zenner

Join Date:
Jun 2014
Location:
Portsmouth, UK
Posts:
4
Plugin Contributions:
0

Re: Admin login not working

I've just signed in to ask this same exact question, conveniently, but I'm not sure the answer given works for me, since this is a new installation of the site, and the automatically generated password doesn't work. Neither does the one I get from the password reset email. This is on a subdomain of a site I've been using for a while, so all the DNS and SSL settings have been set up, and caused no issue previously, I don't see why they would suddenly stop working on just this software. Any thoughts?

4 Mar 2024, 11:09 AM
#6
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,290
Plugin Contributions:
39

Re: Admin login not working

kitutal:

I've just signed in to ask this same exact question, conveniently, but I'm not sure the answer given works for me, since this is a new installation of the site, and the automatically generated password doesn't work. Neither does the one I get from the password reset email. This is on a subdomain of a site I've been using for a while, so all the DNS and SSL settings have been set up, and caused no issue previously, I don't see why they would suddenly stop working on just this software. Any thoughts?

Yep, this is still for you =)

Some things to do ... check

Just a note to make sure any browser you are using is up to date because your Let's Encrypt SSL has no throwback for TLS 1.0 & 1.1. This is as it should be, but if your browser or OS is out of date you may not be TLS 1.2 ready.

~Melanie

8 Mar 2024, 2:42 PM
#7
fenomenal7 avatar

fenomenal7

New Zenner

Join Date:
Mar 2024
Location:
Lufkin, Tx
Posts:
41
Plugin Contributions:
0

Re: Admin login not working

Greetings!

I'm a small business owner and new to working on websites for my business. My company is Cedar Grove Herbs. I have a main store on https://www.cedargrovehersb.com but I recently had someone install a new theme for me to work on/customized to replace my main store. The new theme is installed in subdirectory - https://www.cedargroveherbs.com/new.

I've been working on installing Easy Populate 4.0.36.ZC on my new zencart v.1.5.8 website. I have it on my main store and since I have so many products I want to be able to add them to my new site quickly; however I ran into a problem, I'm not quite sure what it is. When I clicked on easy populate in my tools on my admin I received a 404 error and then after clearing my cache on my website, my admin login page and admin page looked like this:

Attachment 20494Attachment 20495

I'm hoping someone can help me get my admin log in page and admin page back to looking normal. I deleted the easypop files I added (nothing was overwritten) and I put back the .htaccess files that were there previously. Do I need to restore the admin/login page? Which file if so - as I do have my backup files made before any attempt at installation.

8 Mar 2024, 3:27 PM
#8
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,963
Plugin Contributions:
8

Re: Admin login not working

Fenomenal7:

Greetings!

I'm a small business owner and new to working on websites for my business. My company is Cedar Grove Herbs. I have a main store on https://www.cedargrovehersb.com but I recently had someone install a new theme for me to work on/customized to replace my main store. The new theme is installed in subdirectory - https://www.cedargroveherbs.com/new.

I've been working on installing Easy Populate 4.0.36.ZC on my new zencart v.1.5.8 website. I have it on my main store and since I have so many products I want to be able to add them to my new site quickly; however I ran into a problem, I'm not quite sure what it is. When I clicked on easy populate in my tools on my admin I received a 404 error and then after clearing my cache on my website, my admin login page and admin page looked like this:

Attachment 20494Attachment 20495

I'm hoping someone can help me get my admin log in page and admin page back to looking normal. I deleted the easypop files I added (nothing was overwritten) and I put back the .htaccess files that were there previously. Do I need to restore the admin/login page? Which file if so - as I do have my backup files made before any attempt at installation.

your admin css files are not being loaded. there were a bunch of changes between v157 and v158.

i would compare the files in:

YOUR_ADMIN/includes/css/

to these files:

https://github.com/zencart/zencart/tree/v1.5.8a/admin/includes/css

and then compare the files here:

YOUR_ADMIN/includes/*.css

to any css files you see here:

https://github.com/zencart/zencart/tree/v1.5.8a/admin/includes

best.

9 Mar 2024, 6:02 PM
#9
fenomenal7 avatar

fenomenal7

New Zenner

Join Date:
Mar 2024
Location:
Lufkin, Tx
Posts:
41
Plugin Contributions:
0

Re: Admin login not working

I started out with v158 so I don't think that's the problem...

9 Mar 2024, 6:04 PM
#10
fenomenal7 avatar

fenomenal7

New Zenner

Join Date:
Mar 2024
Location:
Lufkin, Tx
Posts:
41
Plugin Contributions:
0

Re: Admin login not working

carlwhat:

your admin css files are not being loaded. there were a bunch of changes between v157 and v158.

i would compare the files in:

YOUR_ADMIN/includes/css/

to these files:

https://github.com/zencart/zencart/tree/v1.5.8a/admin/includes/css

and then compare the files here:

YOUR_ADMIN/includes/*.css

to any css files you see here:

https://github.com/zencart/zencart/tree/v1.5.8a/admin/includes

best.

I started out with v158 so I don't think v157 has anything to do with it but as far as admin css files not being loaded, sounds about right. I don't know how to fix it

13 Mar 2024, 7:07 PM
#11
fenomenal7 avatar

fenomenal7

New Zenner

Join Date:
Mar 2024
Location:
Lufkin, Tx
Posts:
41
Plugin Contributions:
0

Re: Admin login not working

Does anybody know what css file I need to restore from my backup to make the admin login page and admin page go back to looking normal? I have my backup files from before I made any changes.

Attachment 20507Attachment 20508

13 Mar 2024, 10:50 PM
#12
royaldave avatar

royaldave

Zen Follower

Join Date:
Aug 2013
Location:
Perth, WA, AU
Posts:
285
Plugin Contributions:
1

Re: Admin login not working

Fenomenal7:

Does anybody know what css file I need to restore from my backup to make the admin login page and admin page go back to looking normal? I have my backup files from before I made any changes.

Attachment 20507Attachment 20508

I would be inclined to wipe the whole admin directory and restore from backup - there could be other damage done which is preventing the .css files loading.

14 Mar 2024, 1:19 AM
#13
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Admin login not working

Fenomenal7:

Does anybody know what css file I need to restore from my backup to make the admin login page and admin page go back to looking normal? I have my backup files from before I made any changes.

Attachment 20507Attachment 20508

Looks to me like perhaps you have an issue with https/http. This is controlled through YOUR_ADMIN/configure.php. basically if the admin is trying to connect via https, but a certificate is not dedicated for the associated domain name, then the result is as provided. Another example is if your certificate is for www.domain, but you're setup for domain, then the same applies.

14 Mar 2024, 11:06 AM
#14
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,290
Plugin Contributions:
39

Re: Admin login not working

mc12345678:

Looks to me like perhaps you have an issue with https/http. This is controlled through YOUR_ADMIN/configure.php. basically if the admin is trying to connect via https, but a certificate is not dedicated for the associated domain name, then the result is as provided. Another example is if your certificate is for www.domain, but you're setup for domain, then the same applies.

That is exactly right

Attachment 20514

14 Mar 2024, 8:37 PM
#15
fenomenal7 avatar

fenomenal7

New Zenner

Join Date:
Mar 2024
Location:
Lufkin, Tx
Posts:
41
Plugin Contributions:
0

Re: Admin login not working

mprough:

That is exactly right

Attachment 20514

I see. I have this installed in a subdirectory, because my main store is @ https://www.cedargroveherbs.com and I'm working on customizing the new store first before installing it over the main store. The problem I'm working on is at https://www.cedargroveherbs.com/new. How do I fix this? Should I replace mail.cedargroveherbs.com with https://www.cedargroveherbs.com/new? Where do I pull this up at?

14 Mar 2024, 8:42 PM
#16
fenomenal7 avatar

fenomenal7

New Zenner

Join Date:
Mar 2024
Location:
Lufkin, Tx
Posts:
41
Plugin Contributions:
0

Re: Admin login not working

mprough:

That is exactly right

Attachment 20514

Oh, I see it in the SSL/TLS

Attachment 20515

14 Mar 2024, 8:46 PM
#17
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,963
Plugin Contributions:
8

Re: Admin login not working

mprough:

That is exactly right

Attachment 20514

i am not sure about that.

i think what mc-digits said could be correct. there probably is a mix of http and https on the page.

but if the certificate is incorrect, which is what you suggest, why does a page like:

https://www.cedargroveherbs.com/new/index.php?main_page=index&cPath=162_168

not show any mismatched certificate errors?

i would agree that the common name on the certificate could be better (any more likely to be *.cedargroveherbs.com), but i do not think that is where the problem lies.

14 Mar 2024, 9:34 PM
#18
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,963
Plugin Contributions:
8

Re: Admin login not working

this is looking to be a permissions problem with the css files. the css files are all returning a 403 error.

i was able to do this via knowing where the admin directory lies through a PM.

14 Mar 2024, 9:40 PM
#19
fenomenal7 avatar

fenomenal7

New Zenner

Join Date:
Mar 2024
Location:
Lufkin, Tx
Posts:
41
Plugin Contributions:
0

Re: Admin login not working

carlwhat:

this is looking to be a permissions problem with the css files. the css files are all returning a 403 error.

i was able to do this via knowing where the admin directory lies through a PM.

I just got done chatting with my server host. They said they fixed the permissions and fixed the .htaccess file. They told me to clear my cache and try in another browser and it should be fixed but I did both these things and it wasn't. Then they said it should take 15-20 min so I will update you in 20 min.

14 Mar 2024, 10:00 PM
#20
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,963
Plugin Contributions:
8

Re: Admin login not working

Fenomenal7:

I just got done chatting with my server host. They said they fixed the permissions and fixed the .htaccess file. They told me to clear my cache and try in another browser and it should be fixed but I did both these things and it wasn't. Then they said it should take 15-20 min so I will update you in 20 min.

i am not sure about your hosts setup. but it is still returning a 403 for me. opening an incognito window in theory should bypass any browser side caching.

i believe a permissions issue fix should not require any waiting.