Forums / Upgrading from 1.3.x to 1.3.9 / upgrade put off long enough

upgrade put off long enough

Locked

Views: 6,498

Results 41 to 53 of 53
This thread is locked. New replies are disabled.
12 Nov 2010, 12:32 AM
#41
kobra avatar

kobra

Black Belt

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

upgrade put off long enough

if we have to do sequential updates, or do we just have to read through both update version's changelogs to figure out what exactly is being updated.
Like I stated - - you only have to concern yourself with your customized files and if they have a new version or not

I have upgraded to "h" from 1.3.8a directly - - just pay attention to your custom files.....core files need to be from the new version

Please don't take offense, but I've noticed in a lot of your posts you're quite short with people.
No offense - - I only volunteer here and sometimes I should be sleeping or something else besides being here....

Zen-Venom Get Bitten

12 Nov 2010, 1:20 AM
#42
ekoo avatar

ekoo

New Zenner

Join Date:
Oct 2010
Posts:
15
Plugin Contributions:
0

Re: upgrade put off long enough

Still not really the answer to the question at all, but I've got it figured out.

Thanks for your assistance, it's appreciated.

12 Nov 2010, 10:04 AM
#43
pookiehair avatar

pookiehair

New Zenner

Join Date:
May 2010
Location:
UK
Posts:
86
Plugin Contributions:
0

Re: upgrade put off long enough

kobra:

You first need to create a new database, user & pass to provide when you install the new version

And, First backup all your current shop file and it's database in the event you do mess something up
https://www.zen-cart.com/tutorials/index.php?article=103

Ive set up a new database with user but it seems I have to install the new version before I can link them together. The install step is the one thats got me worried at the moment as it says ...
Ready to Install? (This will wipe any existing data. You are NOT in Upgrade mode!!!)

How do I get in Upgrade mode?

12 Nov 2010, 2:19 PM
#44
kobra avatar

kobra

Black Belt

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

Re: upgrade put off long enough

Ive set up a new database with user but it seems I have to install the new version before I can link them together.

Yes - - the new database is empty and you install the new version and it creates the proper configures for the location tyou are installing to

Afyter this has been a success you use something like phpmyadmin to import a db backup from your live shop into this new database and re-run zc_install - - upgrade the db only at this point

Zen-Venom Get Bitten

12 Nov 2010, 2:33 PM
#45
pookiehair avatar

pookiehair

New Zenner

Join Date:
May 2010
Location:
UK
Posts:
86
Plugin Contributions:
0

Re: upgrade put off long enough

kobra:

Yes - - the new database is empty and you install the new version and it creates the proper configures for the location tyou are installing to

Afyter this has been a success you use something like phpmyadmin to import a db backup from your live shop into this new database and re-run zc_install - - upgrade the db only at this point

Thanks Kobra
This is where Ive got to now but Im still stuck...

  • I have copied everything from the public_html file on my server to my hard drive using FTP.

  • I've backed up the database to my hard drive.

  • I've done a full backup on my server which includes all of the files in my home directory, MySQL Databases, and my email forwarders and filters.

  • I have also set up a new database on my server in MySQL Databases.

  • I have also now got the WinMerge application that it said I will need, although not tried to use it yet.

  • I have my present shop in public_html/shop on the server

  • I have put the Zen Cart upgrade in public_html/demo although I haven't installed it yet.

When I am ready to install, it says...
**Ready to Install? (This will wipe any existing data. You are NOT in Upgrade mode!!!) **
I've no idea how to get in Upgrade mode :dontgetit

12 Nov 2010, 2:41 PM
#46
kobra avatar

kobra

Black Belt

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

Re: upgrade put off long enough

When I am ready to install, it says...
Ready to Install? (This will wipe any existing data. You are NOT in Upgrade mode!!!)
I've no idea how to get in Upgrade mode
Reposting
Yes - - the new database is empty and you install the new version and it creates the proper configures for the location you are installing to

Being empty there is no data to lose

After this has been a success you use something like phpmyadmin to import a db backup from your live shop into this new database and re-run zc_install - - upgrade the db only at this point

Zen-Venom Get Bitten

12 Nov 2010, 3:11 PM
#47
pookiehair avatar

pookiehair

New Zenner

Join Date:
May 2010
Location:
UK
Posts:
86
Plugin Contributions:
0

Re: upgrade put off long enough

kobra:

Reposting
Yes - - the new database is empty and you install the new version and it creates the proper configures for the location you are installing to

Being empty there is no data to lose

After this has been a success you use something like phpmyadmin to import a db backup from your live shop into this new database and re-run zc_install - - upgrade the db only at this point

Thanks for being patient Kobra :cool:
So before I go ahead and click the dreaded install button can I just check that...

  • Even though I am doing an Upgrade it doesn't matter that it says Ready to Install? (This will wipe any existing data. You are NOT in Upgrade mode!!!)
  • After I have installed the new Zen Cart Upgrade version to my demo area, I then link it to the new database that Ive set up.
  • Installing this new version won't change/delete my present Zen Cart shop untill I put the new version live
    :blink:
12 Nov 2010, 3:52 PM
#48
kobra avatar

kobra

Black Belt

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

Re: upgrade put off long enough

  • After I have installed the new Zen Cart Upgrade version to my demo area, I then link it to the new database that Ive set up.
    Not exactly - as during the install you will provide the new db name user & pass for this new install to use
    Then see my comment about after this is successful
  • Installing this new version won't change/delete my present Zen Cart shop untill I put the new version live
    Not as long as you have and use the new database that we have been discussing

Your live shop has it's own set of files and it's own database

Zen-Venom Get Bitten

12 Nov 2010, 4:30 PM
#49
pookiehair avatar

pookiehair

New Zenner

Join Date:
May 2010
Location:
UK
Posts:
86
Plugin Contributions:
0

Re: upgrade put off long enough

kobra:

Not exactly - as during the install you will provide the new db name user & pass for this new install to use
Then see my comment about after this is successful

Not as long as you have and use the new database that we have been discussing

Your live shop has it's own set of files and it's own database

Thanks kobra.
Will this become my new database? I have this new one called _demotest. Can I change this name later or can I revert to my old database name?

12 Nov 2010, 4:42 PM
#50
kobra avatar

kobra

Black Belt

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

Re: upgrade put off long enough

Will this become my new database?
Yes - - I would not attempt to change it later as only you should know what the DB name is

Zen-Venom Get Bitten

16 Nov 2010, 8:47 PM
#51
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Location:
Des Moines, Iowa USA
Posts:
618
Plugin Contributions:
0

Re: upgrade put off long enough

Hi all

For all you zenner - Kobra and Dr Byte again ty for your efforts and vaulable time - i wish I could be of more assistance to some othelse but knowledge I am definately lacking.

As soon as my candatable ship module is fixed I will be ready to launch. (This is that is then I will attempt to fix the other)

I have my files in public_html and I had planned on creating a folder lets say zencartsnfold and moving all the 1.3.8a folders into that folder and then moving up the folders from my
demo folder. I am assuming This is on the correct path of action.

I was hoping to use the database from my current shop and confiruging it to the config.php files in admin and includes by just copying these from my 1.3.8a shop. this would be instead of deleting the Demo database and then reinstalling the updated one from the current site. Or is this just Newbie thinking again?

17 Nov 2010, 6:28 PM
#52
pookiehair avatar

pookiehair

New Zenner

Join Date:
May 2010
Location:
UK
Posts:
86
Plugin Contributions:
0

Re: upgrade put off long enough

Im Upgrading from 1.3.8 to 1.3.9h.
Im about to install the Zen Cart Upgrade to demo/public.html on my server so that I can have a look at it and make any changes before going live with it.
I have copied my old database, & renamed it, to link it to the Upgrade. I have changed the 2 php files but I havent changed the DB_PREFIX.

// define our database connection
define('DB_TYPE', 'mysql');
define('DB_PREFIX', 'zen_');
define('DB_SERVER', 'localhost');
Change Database Table-Prefix

On the Zen Cart™ Setup - Database Upgrade page it says:
Change Database Table-Prefix. If you wish to change the database table prefixes, enter the new prefix below. NOTE: please verify that the prefix name is not already used in your database, as we do not check for such duplication. Using an already-existing table prefix will corrupt your database.

WARNING: DO NOT ATTEMPT TO CHANGE TABLE PREFIXES IF YOU DO NOT HAVE A FULL AND DEPENDABLE RECENT BACKUP OF YOUR DATABASE CONTENTS. If something goes wrong in the process, you will need to recover from your backup. If this is cause for concern or uncertainty for you, then DO NOT attempt to rename your tables.

I'm not sure whether I should change the Database Table-Prefix or not. If so where should I do this?
I have created a separate Demo site for the Upgrade instalation and a separate (copy of old) database.

I would really appretiate any help on this. I have asked same question on another forum area but had no reply. Maybe I was in the wrong area.

So close but so far to go

18 Nov 2010, 12:49 AM
#53
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Location:
Des Moines, Iowa USA
Posts:
618
Plugin Contributions:
0

Re: upgrade put off long enough

On my working file I have the following"

define('DB_TYPE', 'mysql');
define('DB_PREFIX', '');
define('DB_SERVER', 'localhost');

frankly if it I would go with the same as your working file use it as a guide.