Re: Can't login to admin after upgrading to 1.3.9g
Quote:
Originally Posted by
Satu
Hi,
There is nothing in the cache folder. I don't know why.
It keeps me on the login page and says that "You entered the wrong username or password."
If it says that, then the password isn't matching the encrypted password stored in the database.
So, that suggests that either your configure.php database settings are pointing to the wrong database and/or db-prefix,
or you've reset the password and aren't using the new one it generated for you.
https://www.zen-cart.com/tutorials/index.php?article=2
You posted earlier that your DB_PREFIX is "zen_", so that means your admin is looking only at tables named "zen_xxxxxxxxxxxx". If that's not the right set of tables for your store, then it won't give you a valid match on passwords, or anything else.
Re: Can't login to admin after upgrading to 1.3.9g
Quote:
Originally Posted by
countrycharm
open your /admin/includes/configure.php file and set the 2 SSL definitions to 'false' then try again.
Trying to rule out SSL for the time being.
If that don't work Post the admin configure file. XX-out only your new admin folder name and the db user & pass fields - - make sure to include any leading or trailing "/"
I have had a hard day today. I asked you to post your admin/includes/configure file again sorry about that you already did.:blink:
DrByte has you on the right track.
Re: Can't login to admin after upgrading to 1.3.9g
Marvelous! Just BRILLIANT! It was the DB prefix. First I tired the SSL and nothing. Then I changed this: define('DB_PREFIX', 'zen_'); to this: define('DB_PREFIX', '');
Thank you so very much Countrycharm and DrByte!!!! Thank you again.
Re: Can't login to admin after upgrading to 1.3.9g
Quote:
Originally Posted by
Satu
Marvelous! Just BRILLIANT! It was the DB prefix. First I tired the SSL and nothing. Then I changed this: define('DB_PREFIX', 'zen_'); to this: define('DB_PREFIX', '');
Thank you so very much Countrycharm and DrByte!!!! Thank you again.
DrByte is the man:clap:
Re: Can't login to admin after upgrading to 1.3.9g
I am experiencing the same problem. I just upgraded to 1.3.9g and I can no longer login to the admin. I though it may have been a password problem, so I tried to resend it to myself. That did not work it just keeps refreshing on the admin screen.
The only third party plugin I have installed is easypopulate
Not sure how to proceed other than starting from scratch? :cry:
No one else had this problem?
Re: Can't login to admin after upgrading to 1.3.9g
Quote:
Originally Posted by
joeljordan
I am experiencing the same problem. I just upgraded to 1.3.9g and I can no longer login to the admin. I though it may have been a password problem, so I tried to resend it to myself. That did not work it just keeps refreshing on the admin screen.
The only third party plugin I have installed is easypopulate
Not sure how to proceed other than starting from scratch? :cry:
No one else had this problem?
OK... so it was a rewrite issue in the .htaccess file. I had the following:
RewriteCond %{HTTP_HOST} ^domain\.com$ [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]
I removed this, and the admin login works now... but now the web address does not show the www. in front of my domain. How do I correct this without using a .htaccess rewrite?
Re: Can't login to admin after upgrading to 1.3.9g
Quote:
Originally Posted by joeljordan
I removed this, and the admin login works now... but now the web address does not show the www. in front of my domain. How do I correct this without using a .htaccess rewrite?
What do you have in your 2 configure.php files?
Re: Can't login to admin after upgrading to 1.3.9g
Quote:
Originally Posted by
joeljordan
I just upgraded to 1.3.9g
You might be wise to carry on and upgrade to v1.3.9h while you're at it ... :blush:
Re: Can't login to admin after upgrading to 1.3.9g
Quote:
Originally Posted by
kobra
What do you have in your 2 configure.php files?
Configure Files both reflect the following:
define('HTTP_SERVER', 'http://www.domain.com');
define('HTTPS_SERVER', 'https://www.domain.com');
define('HTTP_CATALOG_SERVER', 'http://www.domain.com');
define('HTTPS_CATALOG_SERVER', 'https://www.domain.com');
Originally, they did not have the "www" preceding the domain name. I have tried removing and re-adding "www" but neither works.
Re: Can't login to admin after upgrading to 1.3.9g
Quote:
Originally Posted by
DrByte
You might be wise to carry on and upgrade to v1.3.9h while you're at it ... :blush:
Yea, I'm using cpanel with Fantastico, and my host has not updated Zen Cart to h yet. I will upgrade as soon as they make it available.