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 1 to 20 of 46
7 Oct 2012, 7:51 PM
#1
teadiez avatar

teadiez

New Zenner

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

Password problems

I hope I can properly explain what I've done so I don't waste anyone's time.

I miss my 90 day period to change my PW on my site. I tried the SQL query solution through my GoDaddy account, which promptly shut down my site. I called their customer service and was told what basically happened was the database password was changed and as a one time courtesy, they were able to get my site and up and running again. Store front is running fine, but now I cannot access my login site (or still figure out how to get my PW reset). This is what I'm getting when I've checked out my DEBUG log:

[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

I counted down to line 101 and don't even find a * and to be honest, I wouldn't even know what to do with it if there was one there. I hope someone can help!!!

7 Oct 2012, 10:16 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Password problems

I called their customer service and was told what basically happened was the database password was changed
Unless you changed your DB pass they are telling stories

FTP to your /includes/configure.php file and transfer it to your local
FTP to your /admin/includes/configure.php file and transfer it to another location on your local

Open the first and record the DB settings
Open the second and insure that the DB settings match if not as I expect ammend them to match and FTP the edited file back to it's location

Zen-Venom Get Bitten

7 Oct 2012, 10:37 PM
#3
teadiez avatar

teadiez

New Zenner

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

Re: Password problems

While I very much appreciate your response, I'm completely lost. LOL

Could you dumb it down a little please? What do you mean by local? How do I record the DB settings?

As opposed to using FTP, can I cut and paste the info?

7 Oct 2012, 10:55 PM
#4
joejoejoe avatar

joejoejoe

Zen Follower

Join Date:
Oct 2011
Location:
AZ
Posts:
383
Plugin Contributions:
0

Re: Password problems

You have two different configure files at your website. You need to get those two files downloaded to your computer so you can check inside them, and possibly edit one of them if necessary.
He told you to download them to different areas of your computer so you don't get confused as to which one came from which directory. This is because once you've checked them you need to put them back in the right place if you've changed anything..

Local computer means the one you are sitting at right now reading this from.
You have to use a FTP program to get those two files from your host's server down to your own computer. You can't edit them while they are sitting on Go-Daddy's computer. If you haven't used FTP before then it's time to quickly learn - down load a free version of filezilla and get the instructions from Go-Daddy on how to configure it so you can connect to your store's files on their server.

When you have them, open the first one with a text editor and look for the part that starts with // define our database connection.
Write down everything from there down to including your password.
Open the second file and find the same lines in that one and compare each one. If something is different, change it to match the first file.
Save it.
Then you need to use ftp to reload it to godaddy servers. You'll probably need to change some permissions to get it done at that point, but that's another hill to tackle.

7 Oct 2012, 11:12 PM
#5
teadiez avatar

teadiez

New Zenner

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

Re: Password problems

Thanks Joejoejoe. I have Filezilla and have used it, just not comfortable with it. I worked very hard on my site and it took me a month and by the time I was done, I truly thought I was going to lose my mind. I had to start from scratch at least three times. I used all of these forums to get me through (not very techy, just not totally illiterate either ;) )

Am I able to do this to change my password while fixing the other problem?

I'll hold my breath and work on this in a bit. Thanks for responding!

7 Oct 2012, 11:30 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Password problems

Am I able to do this to change my password while fixing the other problem
You do not want to change your password

As the frontend is loading properly, the password, Database & user are correct

As you can not access the admin side and are getting the DB connect error they are not correct in your admin configure.php file

Zen-Venom Get Bitten

8 Oct 2012, 5:57 AM
#7
drbyte avatar

drbyte

Sensei

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

Re: Password problems

Teadiez:

I miss my 90 day period to change my PW on my site.
There's no "90 day period to change your password".

That's a misunderstanding of how passwords work.

Your store's admin-user password is valid for 90 days. After that IT WILL AUTOMATICALLY PROMPT YOU TO CHANGE IT UPON NEXT LOGIN. That's it. All you have to do is type in the old one when it asks, and then supply a new password, which you enter twice.

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

9 Oct 2012, 3:39 PM
#8
teadiez avatar

teadiez

New Zenner

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

Re: Password problems

Okay, so I finally got a few quiet moments to go through this step by step, everything matches and I still cannot access my admin login. Any other suggestions?

9 Oct 2012, 5:00 PM
#9
drbyte avatar

drbyte

Sensei

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

Re: Password problems

Teadiez:

I still cannot access my admin login.
It's not clear what exactly you mean by "cannot access my admin login".

Does "cannot access" mean you can't get your browser to load?
Does "cannot access" mean that the page shows some weird error message? What's the error meessage?
Does "cannot access my admin login" mean that the login prompts don't appear? What appears instead?
Does "cannot access" mean that when you type in your username and password and submit the form it comes back with a certain response? What's the response?
Does "cannot access" mean that it's prompting you for a new password and won't let you in until you do?
Does "cannot access" mean that it lets you in but the screen is blank or displays something unexpected?
What's in the myDebug-adm-xxxxxxx.log files 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.

9 Oct 2012, 5:23 PM
#10
teadiez avatar

teadiez

New Zenner

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

Re: Password problems

This is what I get when I try to get to the screen to be able to login:

WARNING: An Error occurred, please refresh the page and try again.

9 Oct 2012, 5:31 PM
#11
drbyte avatar

drbyte

Sensei

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

Re: Password problems

That means your site is encountering a database error: http://www.zen-cart.com/content.php?311-warning-an-error-occurred-please-refresh-the-page-and-try-again

And database errors are usually a result of you installing PHP files for an addon that requires database/SQL changes, but you didn't also make the SQL changes.
Or the opposite, removing database pieces without removing the PHP files, or removing "some" of the PHP files but not all of them, and thus it's still looking for database things.
Or doing an upgrade with addons that aren't fully installed, etc.

Follow the instructions in the FAQ article to find the actual problem behind the generic error you're seeing.

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

9 Oct 2012, 8:26 PM
#12
teadiez avatar

teadiez

New Zenner

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

Re: Password problems

Well, the only thing I tried to do, since I couldn't get in to change my PW was this: http://www.zen-cart.com/content.php?44. I didn't do an upgrade with addons and I didn't remove anything from any php files.

My site crashed after doing that, GoDaddy was able to get it back up and running.

10 Oct 2012, 12:01 AM
#13
drbyte avatar

drbyte

Sensei

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

Re: Password problems

Glad they got it working for you.

.
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:07 AM
#14
joejoejoe avatar

joejoejoe

Zen Follower

Join Date:
Oct 2011
Location:
AZ
Posts:
383
Plugin Contributions:
0

Re: Password problems

I think he meant that his host was able to bring the website back up after he tried the fix in that link, but he's still locked out of his admin.
Or did I misunderstand?

10 Oct 2012, 12:20 AM
#15
teadiez avatar

teadiez

New Zenner

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

Re: Password problems

Joejoejoe is correct, I'm still getting the error. I meant my site had crashed after I tried that tutorial because I was locked out from not getting my PW to work. They got me back up and running, but I am still not able to access the admin login page.

10 Oct 2012, 12:25 AM
#16
drbyte avatar

drbyte

Sensei

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

Re: Password problems

Okay, when situations like this occur, it's crucial to determine the history leading up to the "sudden malfunction". It doesn't just break on its own. Usually things break when addons are installed or removed incorrectly.

You started out by posting that you'd missed the 90 day password expiry. I've already explained that the 90-day issue isn't a reason for getting database errors. It will simply result in prompting you to change your password.

So, I have to ask: what was happening before all this suddenly started?

.
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:27 AM
#17
joejoejoe avatar

joejoejoe

Zen Follower

Join Date:
Oct 2011
Location:
AZ
Posts:
383
Plugin Contributions:
0

Re: Password problems

Where exactly are you getting the error?
Do you get the login screen OK or does just trying to get to that page give you an error?
Or is the error after you type in your admin user name and password and hit return?

10 Oct 2012, 12:37 AM
#18
teadiez avatar

teadiez

New Zenner

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

Re: Password problems

DrByte:

Okay, when situations like this occur, it's crucial to determine the history leading up to the "sudden malfunction". It doesn't just break on its own. Usually things break when addons are installed or removed incorrectly.

You started out by posting that you'd missed the 90 day password expiry. I've already explained that the 90-day issue isn't a reason for getting database errors. It will simply result in prompting you to change your password.

So, I have to ask: what was happening before all this suddenly started?

As I explained in my OP, I was not able to login with my existing PW, so I found the link for the tutorial I posted above. When I followed those steps, my site crashed. Called GoDaddy, in the hopes that although none of them really know Zencart, someone might be able to help me figure out the problem. I was told that my DB password was changed in the process of me following the tutorial. They were able to get my site up and running, but ever since then I've still not been able to get my login fields, I get the error I cut and pasted.

Prior to trying the "behind the scene" tutorial, I had tried to get my password emailed to me, several times, which never worked.

10 Oct 2012, 12:39 AM
#19
teadiez avatar

teadiez

New Zenner

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

Re: Password problems

joejoejoe:

Where exactly are you getting the error?
Do you get the login screen OK or does just trying to get to that page give you an error?
Or is the error after you type in your admin user name and password and hit return?

I am getting the error when attempting to access the web address for the login screen. There are no fields to type in, just the error.

10 Oct 2012, 12:44 AM
#20
drbyte avatar

drbyte

Sensei

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

Re: Password problems

Are the DB_XXXXXXX settings in your /your-admin-foldername/includes/configure.php file different from the DB_XXXXXX settings in your /includes/configure.php file?

Those are the only settings that should be exactly identical between both files. If your storefront is working, copy your DB_XXXXXXXX settings from your /includes/configure.php file and use them to replace the DB_XXXXXXXX settings in your /your-admin-folder/includes/configure.php file.

Remember, the configure.php files are read-only, so you'll need to make them writable before you can save to them.

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