Forums / General Questions / admin login issues

admin login issues

Results 1 to 5 of 5
19 Apr 2025, 13:56
#1
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

admin login issues

V 2.1.0

While trying to figure out the issue reported here:
https://www.zen-cart.com/showthread.php?230627-new-customer-not-showing-up-in-customers-list

I encountered this new issue.
After filling the credentials for admin access the page reloads to login again.

Some more details to clarify the situation.

Till yesterday I was able to access the admin.

I created a new admin with limited access profile (to test for the issue reported on the thread mentione above)

I asked the other user (limited admin) to try, and he encountered the issue reported here, after submit the page would reload to login page.

I set the configuration files to use SSL
define('ENABLE_SSL', 'true');


I noticed that the browser would report unsecure connection, site has SSL installed, to make sure I contacted the host, and they confirm the SSL is working for the site.

I then tried to login and encountered the issue of not being able to access with login page reloading.

I disabled SSL in the configuration files, and tried again, and issue is still recurring.

All the above is occuring in tesoreriabahai.org/zen-210
While the tesoreriabahai.org with Zencart v 1.58 works fine

Strangely I encountered the issue on tesoreriabahai.org as well after setting the SSL for the zen-210 install, after clearing the browser cache I could access the old version admin with no problem, but the new 210 is still not letting me access.
19 Apr 2025, 16:01
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: admin login issues

In the site's configure.php files (both admin and storefront), make sure that you're setting ENABLE_SSL to 'true' and also that the HTTP_SERVER, HTTPS_SERVER (storefront only), HTTP_CATALOG_SERVER (admin only) and HTTPS_CATALOG_SERVER (admin only) all refer to https:// server names.
22 Apr 2025, 17:11
#3
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: admin login issues

Sorry for belated reply.

What you suggest, and is in the docs is what I have done and have; only doubt is if you mean that
HTTP_SERVER
and
HTTP_CATALOG_SERVER
should have https like this:
storefront
define('HTTP_SERVER', 'https://whatever');
admin
define('HTTP_CATALOG_SERVER', 'https://whatever');

In the admin I already have set this:
/**
* Enter the domain for your Admin URL. If you have SSL, enter the correct https address in the HTTP_SERVER setting, instead of just an http address.
*/
define('HTTP_SERVER', 'https://whatever');
22 Apr 2025, 19:42
#4
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Posts:
9,707
Plugin Contributions:
6

Re: admin login issues

Sì, tutte le impostazioni http per YOUR_DOMAIN dovrebbero iniziare con https://
23 Apr 2025, 10:49
#5
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: admin login issues

dbltoe:

Sì, tutte le impostazioni http per YOUR_DOMAIN dovrebbero iniziare con https://


Grazie ;)

Translating for others:
Yes, all http settings should use (begin with) https://