If this is your first visit, check our documentation. To post, register or login.
Forums / Installing Zen Cart / Installing on a Linux/Unix Server / hmmmm... cannot log into admin

hmmmm... cannot log into admin

Locked

Started by mrbungra on 27 Sep 2006, 5:37 PM · Views: 3,381

Results 1 to 18 of 18
This thread is locked. New replies are disabled.
27 Sep 2006, 5:37 PM
#1
mrbungra avatar

mrbungra

New Zenner

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

Post #1 by mrbungra

This is winding me up now...
Have searched the forums for an answer...to no avail..at least nothing works..I have followed the instructions...but can not log in to admin..

The info is in mysql...if you put the wrong password in it tells you...the correct password doesn't work...zilch...none..zip..

lame....please help..

Jason

27 Sep 2006, 5:48 PM
#2
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Post #2 by merlinpa1969

go into phpmyadmin

and run this

INSERT INTO admin VALUES ('', 'Admin', 'admin@localhost', '351683ea4e19efe34874b501fdbf9792:9b', 1);

remember to add your db prefix if you set it up with one

this will then allow you to use Admin for the username and admin for the password,

notice the case structure...

once in you can reset the old password and delete this admin account

Zen cart PCI compliant Hosting

27 Sep 2006, 5:55 PM
#3
mrbungra avatar

mrbungra

New Zenner

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

Post #3 by mrbungra

Thx for the hasty reply..

I'm not sure I know what phpmyadmin is...i have the admin.php file, but can not see anything that allows me to change the values you said..

27 Sep 2006, 6:04 PM
#4
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Post #4 by tinas

PHPMyAdmin is the SQL tool provided for editing MySQL by your host. It is in the cpanel of your hosting it is not a part of zen.

hope that helps.

When the world gets in my face I say Have A Nice Day.

27 Sep 2006, 6:08 PM
#5
mrbungra avatar

mrbungra

New Zenner

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

Post #5 by mrbungra

cheers..

i just got there and then saw your email...it did help, except Mysql won't let me input the changes...it's says i have syntax errors...i'll keep going, but if someone nice would like to help me work out why, i'd appreciate that.

jason

27 Sep 2006, 6:10 PM
#6
johnny43 avatar

johnny43

Zen Follower

Join Date:
Feb 2006
Posts:
231
Plugin Contributions:
0

Post #6 by johnny43

Do you use DB prefixes?
What SQL error do you get?

I just tested in 1.3.5 and worked fine...

https://www.planetebio.net - Eat Right Feel Good !

27 Sep 2006, 6:15 PM
#7
mrbungra avatar

mrbungra

New Zenner

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

Post #7 by mrbungra

Ok..

not perhaps the correct way to do it...but I edited the table that was there already with the new values...

it's the same thing though..it'll understand that this is the right password..but will not log in...if you put in the wrong p/word and name it'll let me know straight away.

27 Sep 2006, 8:33 PM
#8
mrbungra avatar

mrbungra

New Zenner

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

Post #8 by mrbungra

anyone able to help ?

28 Sep 2006, 1:05 AM
#9
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Post #9 by vger

Go back to phpMyAdmin and for the 'admin' email address put in place a real email address which you use. Then go to the admin login page and use the Resend Password link.

Vger

28 Sep 2006, 1:41 PM
#10
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Post #10 by superprg

Tried that and the password which we get in the email doesnt works either
San

Tutorials on Zen Cart
http://tutorials.zen-cart.com/index.php

advanced.programmer at gmail dot com
In love with Zen Cart!!

28 Sep 2006, 2:49 PM
#11
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Post #11 by vger

In which case basic encryption is not working on your domain. Make sure that cURL is compiled into PHP.

Vger

superprg:

Tried that and the password which we get in the email doesnt works either
San

28 Sep 2006, 3:02 PM
#12
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Post #12 by paulm

Vger:

In which case basic encryption is not working on your domain. Make sure that cURLDo you really mean to say cURL here? Is that really related to the password encryption Zen uses?

Isn't it just a wrong combination of username and password superprg? You really filled in "Admin" as username?

28 Sep 2006, 3:24 PM
#13
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Post #13 by merlinpa1969

super pop into phpmyadmin

run the sql statement I listed above
remember that if you use a prefix ( zen_ ) to add it to the line

INSERT into zen_admin for example..

then just use Admin for username and admin for password,

this works like a charm,

Zen cart PCI compliant Hosting

28 Sep 2006, 3:25 PM
#14
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Post #14 by vger

Isn't it just a wrong combination of username and password superprg

I'm not certain at this stage (although I will be as I get up to speed on Zen Cart) whether it uses its own mechanism to encrypt the password or uses cURL for basic encryption. However, given that the admin's email address was changed and a new password sent out it should now be working. As 'superprg', which I assume stands for 'super programmer', describes themselves as 'advanced programmer' I'm assuming that they are getting the basic things right. Of course, I could be in error on that point!

Vger

28 Sep 2006, 4:43 PM
#15
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Post #15 by superprg

Merlinpa1969:

super pop into phpmyadmin

run the sql statement I listed above
remember that if you use a prefix ( zen_ ) to add it to the line

INSERT into zen_admin for example..

then just use Admin for username and admin for password,

this works like a charm,

Yes, I tried inserting the right data in the right table but its not working

Tutorials on Zen Cart
http://tutorials.zen-cart.com/index.php

advanced.programmer at gmail dot com
In love with Zen Cart!!

28 Sep 2006, 5:33 PM
#16
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Post #16 by merlinpa1969

There is a server issue there,
Super I tried doing a proper insert and its NOT recognizing it,
and it dosnt appear that your looking at the wrong database

I would call the host

Zen cart PCI compliant Hosting

28 Sep 2006, 5:41 PM
#17
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Post #17 by superprg

mrbungra(Jason) is already in touch with his host for the same. I will keep you updated with the response
San

Tutorials on Zen Cart
http://tutorials.zen-cart.com/index.php

advanced.programmer at gmail dot com
In love with Zen Cart!!

29 Sep 2006, 6:18 AM
#18
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #18 by drbyte

mrbungra:

if you put the wrong password in it tells you...the correct password doesn't work...

This is typically a result of misconfigured PHP components, especially related to Sessions.

When you installed, were there any red warnings about PHP settings?

Can you post a link to your zc_install/techsupp.php file?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.