If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Password problems

Password problems

Started by teadiez on 7 Oct 2012, 7:51 PM · Views: 2,595

Results 21 to 40 of 46
10 Oct 2012, 12:52 AM
#21
teadiez avatar

teadiez

New Zenner

Join Date:
Apr 2012
Posts:
31
Plugin Contributions:
0

Password problems

Yes, everything is exact.

10 Oct 2012, 12:54 AM
#22
drbyte avatar

drbyte

Sensei

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

Re: Password problems

Okay. Earlier you said you're getting this message: > WARNING: An Error occurred, please refresh the page and try again.
That means an error is occurring. And it's most likely recorded in the logs.
What's showing in the logs now?

.
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.

10 Oct 2012, 12:59 AM
#23
teadiez avatar

teadiez

New Zenner

Join Date:
Apr 2012
Posts:
31
Plugin Contributions:
0

Re: Password problems

I haven't gotten anything in the logs since Sunday and this is what it showed:

[07-Oct-2012 18:34:23 UTC] PHP Fatal error: 0: DB_ERROR_NOT_CONNECTED :: select * from zen_project_version WHERE project_version_key = 'Zen-Cart Database' in /home/content/88/9174688/html/zencart/includes/classes/db/mysql/query_factory.php on line 101

10 Oct 2012, 1:14 AM
#24
drbyte avatar

drbyte

Sensei

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

Re: Password problems

Well that sort of thing would show up if the DB_PASSWORD (or other DB_XXXXX settings) were invalid in the configure.php files.

But if that's been fixed, then the issue is something else.

.
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.

10 Oct 2012, 1:48 AM
#25
teadiez avatar

teadiez

New Zenner

Join Date:
Apr 2012
Posts:
31
Plugin Contributions:
0

Re: Password problems

Well, isn't my face red...I've been on with GoDaddy and a very helpful employee who guided me to the CORRECT configure.php file. I was not going into the admin/includes/config, I was just going into admin/config. I now have my admin login screen again, however, it is still not accepting my login info.

10 Oct 2012, 1:52 AM
#26
teadiez avatar

teadiez

New Zenner

Join Date:
Apr 2012
Posts:
31
Plugin Contributions:
0

Re: Password problems

Sooooo, I guess now my question is--if now that all the DB passwords match in all the config.php files, if I were to run that code in the tutorial that I posted, will it work???

Getting sweaty palms just thinking about trying it again.

10 Oct 2012, 2:15 AM
#27
drbyte avatar

drbyte

Sensei

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

Re: Password problems

What are the new symptoms since fixing the correct configure.php file?

  • blank screen?

  • "invalid password" message?

  • no message, but just refreshes the login boxes to empty again after submitting?

  • or still the old "WARNING: An Error occurred, please refresh the page and try again." message?

.
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.

10 Oct 2012, 2:17 AM
#28
teadiez avatar

teadiez

New Zenner

Join Date:
Apr 2012
Posts:
31
Plugin Contributions:
0

Re: Password problems

I'm actually getting the login screen now. :D It's just not accepting username/PW combo. Tried username with PW that is in the php files. Tried 'Admin/admin' combo also.

10 Oct 2012, 2:18 AM
#29
teadiez avatar

teadiez

New Zenner

Join Date:
Apr 2012
Posts:
31
Plugin Contributions:
0

Re: Password problems

"You entered the wrong username or password", that's what I get.

10 Oct 2012, 2:28 AM
#30
drbyte avatar

drbyte

Sensei

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

Re: Password problems

Okay, then yes the SQL query shown in the FAQ article should take care of resetting it to Admin/admin

http://www.zen-cart.com/content.php?44-how-do-i-change-or-reset-my-admin-password-%28i-lost-it%29

.
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.

10 Oct 2012, 2:43 AM
#31
teadiez avatar

teadiez

New Zenner

Join Date:
Apr 2012
Posts:
31
Plugin Contributions:
0

Re: Password problems

Okay, tried that...didn't work. My site is still up and I'm still able to connect to my login page.

I cut and pasted that code and got an error, saying "Table xyz.admin doesn't exist". But, at least I didn't lost everything again! Its a step...

10 Oct 2012, 2:46 AM
#32
drbyte avatar

drbyte

Sensei

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

Re: Password problems

What are all your table names like? In phpMyAdmin, do you see a table named "admin"? or do all your tables have some sort of prefix on them? like "fred_" or "zen_" or "sunny_" ?
If so, that's what the FAQ text is talking about in the small print under the SQL code where it talks about prefixes.

So, if your table name is actually zen_admin then change the DELETE FROM admin and INSERT INTO admin to read DELETE FROM zen_admin and INSERT INTO zen_admin

.
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.

10 Oct 2012, 2:51 AM
#33
teadiez avatar

teadiez

New Zenner

Join Date:
Apr 2012
Posts:
31
Plugin Contributions:
0

Re: Password problems

Okay, saw that I do have a prefix, so I tried that also. Still got that error. Grrrrrr. Seems like something so simple!!

10 Oct 2012, 2:53 AM
#34
drbyte avatar

drbyte

Sensei

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

Re: Password problems

What's the exact new error message?

What's the DB_PREFIX in your configure.php file? Is that the prefix you added in the SQL code?

What's the DB_DATABASE in your configure.php file? Is that the database you selected in phpMyAdmin from the pulldown on the left side of the screen? (there may not be a pulldown if you have only one database in your hosting account)

.
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.

10 Oct 2012, 2:59 AM
#35
teadiez avatar

teadiez

New Zenner

Join Date:
Apr 2012
Posts:
31
Plugin Contributions:
0

Re: Password problems

Same error.

Prefix is zen_, and I did use that. Only one database.

10 Oct 2012, 3:03 AM
#36
drbyte avatar

drbyte

Sensei

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

Re: Password problems

With respect, it's not going to say "Table xyz.admin doesn't exist" if you used "zen_admin". It would instead say "Table xyz.zen_admin doesn't exist".
So if the actual error is really still saying just "admin", then it means you didn't put the prefix in correctly.

.
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.

10 Oct 2012, 3:04 AM
#37
teadiez avatar

teadiez

New Zenner

Join Date:
Apr 2012
Posts:
31
Plugin Contributions:
0

Re: Password problems

Wait, should I actually be using the ID I use when I log in with the prefix? Or zen_admin? I don't use 'Admin' to log in.

My brain is fried. I really appreciate all your time with me.

10 Oct 2012, 3:06 AM
#38
teadiez avatar

teadiez

New Zenner

Join Date:
Apr 2012
Posts:
31
Plugin Contributions:
0

Re: Password problems

SQL query:

DELETE FROM admin WHERE admin_name = 'zen_admin';

MySQL said: Documentation
#1146 - Table 'tig1210604264656.admin' doesn't exist

10 Oct 2012, 3:06 AM
#39
teadiez avatar

teadiez

New Zenner

Join Date:
Apr 2012
Posts:
31
Plugin Contributions:
0

Re: Password problems

That's the error message. Cut and pasted.

10 Oct 2012, 3:09 AM
#40
drbyte avatar

drbyte

Sensei

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

Re: Password problems

No.

The FAQ article says:

In v1.5.x use this:


Open your phpMyAdmin (supplied by your hosting company), select your store's database, then click the "SQL" tab and run this query:

DELETE FROM [B]admin[/B] WHERE admin_name = 'Admin';  
INSERT INTO [B]admin[/B] (admin_name, admin_email, admin_pass, admin_profile)  
VALUES ('Admin', 'admin@localhost', '351683ea4e19efe34874b501fdbf9792:9b', 1);
``` If you are using a prefix for your database tables, you'll naturally need to add that prefix to the table name above. 
ie. "DELETE FROM **prefix_**admin ... " and "INSERT INTO **prefix_**admin ..."  ... replacing "prefix_" with your actual tablename prefix.

.
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.