Zen Cart Logo
Forums / General Questions / Can't log into Admin after new install

Can't log into Admin after new install

Locked

Views: 2,766

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
21 Apr 2009, 2:16 AM
#1
kireol avatar

kireol

New Zenner

Join Date:
Jul 2005
Posts:
26
Plugin Contributions:
0

Can't log into Admin after new install

I just installed my 4th install of zencart. running it successfully on 3 other servers.

Everything seemed to go well with the v1.3.8a version of zencart install

After the install, everything was fine.

I went to the /admin page and typed in my user name and password.

it simply reloads the admin login page.

at first I thought maybe I typed in the wrong username and password. But when I put in the wrong username and PW, zencart says "You entered the wrong username or password". When I type the correct username and PW it just reloads the login page. No error message or anything.

the install is at www.gardner-westcott dot com/cart

any ideas?

21 Apr 2009, 2:49 AM
#3
kireol avatar

kireol

New Zenner

Join Date:
Jul 2005
Posts:
26
Plugin Contributions:
0

Re: Can't log into Admin after new install

Thanks,

per that page I did the following:

Renamed .htaccess to .htaccess.old- didn't work
Cleared my browser cache. - didn't work. (i can log into my other sites zencart admins)
I don't have SSL turned on in zencart
My username and PW arent forgotten.

I've also tried using firefox and IE

the next step on that page is to post here.

21 Apr 2009, 3:06 AM
#4
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,176
Plugin Contributions:
0

Re: Can't log into Admin after new install

Ki,
admin/ includes/ configure.php
Look for a space before the <?php at the top of the page or a space at the end of the page ?>

When you typed your username and password are you sure there are single quotes around them EX: 'pleasework'

21 Apr 2009, 3:23 AM
#5
kireol avatar

kireol

New Zenner

Join Date:
Jul 2005
Posts:
26
Plugin Contributions:
0

Re: Can't log into Admin after new install

haredo:

Ki,
admin/ includes/ configure.php
Look for a space before the <?php at the top of the page or a space at the end of the page ?>

When you typed your username and password are you sure there are single quotes around them EX: 'pleasework'

The very first part of the file is

<?php /** * @package Configuration Settings circa 1.3.8 * @copyright

and the very end of the file is

// EOF

so no spaces.

Not sure what you mean about the single quotes for the login, unless yer talking about mysql login info. then yes. and I've double checked that part.

I compared the non-working servers configure with a working server. Other than mysql info, HTTP_SERVER type defines, and directory locations, they seem to be identical.

I did have a .htaccess in my servers root. I tried renaming that just in case it would affect the cart. no luck there either.

21 Apr 2009, 3:37 AM
#6
kireol avatar

kireol

New Zenner

Join Date:
Jul 2005
Posts:
26
Plugin Contributions:
0

Re: Can't log into Admin after new install

also,

in firefox I checked cookies.

in my cookies, it's just 1 and is set.
site:
gardner-westcott dot com

and cookie name:
zenAdminID

21 Apr 2009, 3:47 AM
#7
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Can't log into Admin after new install

You might try having your password resent but I do believe you will still have the same problem.

Every now and then I've run into this same problem. As it happens on a fresh install my solution has been to delete the Tables (using phpMyAdmin) and reinstall.

21 Apr 2009, 3:49 AM
#8
kireol avatar

kireol

New Zenner

Join Date:
Jul 2005
Posts:
26
Plugin Contributions:
0

Re: Can't log into Admin after new install

I've considered reinstalling, but the site is running php 4.3.2 and phpmyadmin wants 5.2

:(

21 Apr 2009, 3:59 AM
#9
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Can't log into Admin after new install

No problem, just delete the database. More work as you then have to recreate it but it's an option.

Always handy to know 6 ways of getting the same results. So far I've listed two. :wink:

21 Apr 2009, 4:02 AM
#10
kireol avatar

kireol

New Zenner

Join Date:
Jul 2005
Posts:
26
Plugin Contributions:
0

Re: Can't log into Admin after new install

the DB is being used by other apps so deleting DB isnt an option. so really my only choice I could think of would be to write some php script to run sql and drop the tables or find some old version of phpmyadmin. was hoping to find a fix here before I did that.

21 Apr 2009, 4:27 AM
#11
kireol avatar

kireol

New Zenner

Join Date:
Jul 2005
Posts:
26
Plugin Contributions:
0

Re: Can't log into Admin after new install

OK, i deleted all of the tables. I deleted the cart directory. I reinstalled zencart

same problem.

21 Apr 2009, 4:32 AM
#12
kireol avatar

kireol

New Zenner

Join Date:
Jul 2005
Posts:
26
Plugin Contributions:
0

Re: Can't log into Admin after new install

oh, and of course I've tried reset password as well

I give.

any other suggestions?

21 Apr 2009, 12:09 PM
#13
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Can't log into Admin after new install

Are you using a Hosting account or a Home computer?

Can you duplicate the install of all apps used at some other location then import your current database?

Can you install ZC as a stand-alone database?

6 May 2009, 11:21 AM
#14
buzzby avatar

buzzby

New Zenner

Join Date:
Sep 2006
Posts:
18
Plugin Contributions:
0

Re: Can't log into Admin after new install

check this tutorial out
https://www.zen-cart.com/tutorials/index.php?article=2

this is the tute that will definately enable you to log into your admin if you forget or cannot use your existing username and password for whatever reason. i used this about 20mins ago and it works a treat. remember also to delete the Admin account once in there after you make a fresh username/password for yourself