Zen Cart Logo
Forums / Upgrading from 1.3.x to 1.3.9 / Help, I messed this up completely.

Help, I messed this up completely.

Locked

Views: 3,269

Results 1 to 18 of 18
This thread is locked. New replies are disabled.
29 Jan 2008, 11:29 PM
#1
injected avatar

injected

New Zenner

Join Date:
Jan 2008
Posts:
41
Plugin Contributions:
0

Help, I messed this up completely.

I was trying to upgrade from 1.3.7.1 to 1.3.8a and that led a huge turn of events that leaves me with nothing. I installed with Fantastico and i failed to realize there was an UPDATE button.. that now does not work because i messed up the schemes.

What I have on my site now is nothing. No databases, no zencart files. I was just starting to put it together.

What I do have, is:

Backup of all site files prior to ANY update attempts(the main dir)

Backup of SQL prior to any update attempts.

I have attempted several times to follow the guides to upgrading, and i dont know what i did wrong but i got many errors etc. What I would like to do now is get to 1.3.8a.

All i have is the files mentioned above.

Thanks in advance

30 Jan 2008, 3:04 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Help, I messed this up completely.

Let's pretend you totally blew up your site and destroyed everything ... oopps ... guess you did, eh? :eek:

Not to panick ... it cannot get much worse ... :blink:

Good news is you have a backup of your v1.3.7.1 database ...

Download Zen Cart v1.3.8a from our site and FTP all the files to your site ...

Empty your database via phpMyAdmin and load your backup of your v1.3.7.1 database ...

Now run the /zc_install and hit the UPGRADE DATABASE ... and NOT the INSTALL button ...

If you do NOT see the UPGRADE button, check that you have two configure.php files loaded for your site that were working before this all happened in:
/includes/configure.php
/admin/includes/configure.php

This should get you back to where you would of been before the goof ...

NOTE: v1.3.8a is at:
http://www.zen-cart.com/forum/showthread.php?t=81696

Plus a link to any known tweaks you may wish to make that were caught after its release ...

30 Jan 2008, 9:46 PM
#3
injected avatar

injected

New Zenner

Join Date:
Jan 2008
Posts:
41
Plugin Contributions:
0

Re: Help, I messed this up completely.

It didnt work.. I deleted the old db, and made a new one (injected_zc)

the old one i used had the suffix zc1

So i figured the config files might have the wrong db

i changed db name and db password and still didnt get an upgrade option..

What am i doing wrong?

1 Feb 2008, 1:18 AM
#4
injected avatar

injected

New Zenner

Join Date:
Jan 2008
Posts:
41
Plugin Contributions:
0

Re: Help, I messed this up completely.

sorry for a bump again, but its really important i get this up.. and i dont know what to do. It seems my config files arent being able to connect to the db. For DB USER and DB PASSWORD do i put my cPanel user/pw or the mysql one? In "Mysql DB's" in cpanel, theres an option to create user. i made a new one and put in the credentials but it didnt work, still.

1 Feb 2008, 7:22 PM
#5
tljhn avatar

tljhn

New Zenner

Join Date:
May 2007
Posts:
8
Plugin Contributions:
0

Re: Help, I messed this up completely.

What does emptying the database and then restoring from backup do for you? In other words, what happens if you try to upgrade the database without doing this. Sounds to me like you get exactly what you started with, so why do it?

2 Feb 2008, 4:46 AM
#6
injected avatar

injected

New Zenner

Join Date:
Jan 2008
Posts:
41
Plugin Contributions:
0

Re: Help, I messed this up completely.

I cant upgrade my database at all, thats my problem..

2 Feb 2008, 4:50 AM
#7
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Help, I messed this up completely.

injected:

sorry for a bump again, but its really important i get this up.. and i dont know what to do. It seems my config files arent being able to connect to the db. For DB USER and DB PASSWORD do i put my cPanel user/pw or the mysql one? In "Mysql DB's" in cpanel, theres an option to create user. i made a new one and put in the credentials but it didnt work, still.

The user and password should be the ones associated with the database. Make certain the config files are pointing to the correct database.

3 Feb 2008, 4:56 AM
#8
injected avatar

injected

New Zenner

Join Date:
Jan 2008
Posts:
41
Plugin Contributions:
0

Re: Help, I messed this up completely.

afo:

The user and password should be the ones associated with the database. Make certain the config files are pointing to the correct database.

i kept trying to use mysql passwords.. and that was my problem. I had to use the cpanel user and pass..

it fixed it. Wooh. :laugh:

3 Feb 2008, 5:06 AM
#9
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Help, I messed this up completely.

Cpanel user and password is also your mysql root password, which you should NEVER use in this case.

You have to use the username and password that you created and assigned to ZC database (all this is done on Cpanel).

4 Feb 2008, 4:07 AM
#10
injected avatar

injected

New Zenner

Join Date:
Jan 2008
Posts:
41
Plugin Contributions:
0

Re: Help, I messed this up completely.

Can you help me with this?

Currently, im using the cpanel user/pw for my config.php files

i dont know the password i set up for the zc database..

4 Feb 2008, 4:25 AM
#11
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Help, I messed this up completely.

You may have to set up another user and password and associate it with the database you're using for Zen Cart. You'd do that from your CPanel using MySQL Databases.

4 Feb 2008, 10:02 AM
#12
injected avatar

injected

New Zenner

Join Date:
Jan 2008
Posts:
41
Plugin Contributions:
0

Re: Help, I messed this up completely.

Is this what youre talking about? then id put that user and pw into the config files?

4 Feb 2008, 11:17 AM
#13
marg avatar

marg

Totally Zenned

Join Date:
Mar 2004
Posts:
642
Plugin Contributions:
0

Re: Help, I messed this up completely.

Yes, that would be what afo said to do and that's where you do it.
Marg

4 Feb 2008, 7:33 PM
#14
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Help, I messed this up completely.

Exactly. If you don't remember the ID/password you originally associated with the database, create a new one and use that ID and password.

5 Feb 2008, 11:20 PM
#15
injected avatar

injected

New Zenner

Join Date:
Jan 2008
Posts:
41
Plugin Contributions:
0

Re: Help, I messed this up completely.

OK.. I did that and it wont work. Connection problem..

It only seems to work the the cpanel user and pass. How should i go about fixing this? Do i just make my root password extremely secure? Or do I contact my host about this? I don't know if they would be knowledgeable specifically with zen cart though..

8 Feb 2008, 8:41 AM
#16
injected avatar

injected

New Zenner

Join Date:
Jan 2008
Posts:
41
Plugin Contributions:
0

Re: Help, I messed this up completely.

yeah... if this poses a big security thread i really want to get this fixed. just not sure how:wacko:

8 Feb 2008, 8:43 AM
#17
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Help, I messed this up completely.

You have to create new username + password
Then you have to associate that username with the ZC database.

8 Feb 2008, 5:35 PM
#18
injected avatar

injected

New Zenner

Join Date:
Jan 2008
Posts:
41
Plugin Contributions:
0

Re: Help, I messed this up completely.

How? Just edit my config files? It wont work when i just put in the user/pw into there.. its like i have to do something more.