If this is your first visit, check our documentation. To post, register or login.

clean upgrade

Locked

Started by godt on 2 May 2008, 10:22 AM · Views: 3,772

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
2 May 2008, 10:22 AM
#1
godt avatar

godt

Zen Follower

Join Date:
Mar 2006
Location:
Melbourne, Australia
Posts:
378
Plugin Contributions:
0

clean upgrade

I've been reading around for some time in preparation, done a few experiments, but I am still not clear on the best approach: I have a 1.2.7 install (client resisted the imperative to downtime to upgrade) on a server with mySQL4 type setup, with image manager as the only add-on. I want to/have to move to a mySQL/PHP5 setup, and upgrade to 1.3.8a. What is the best path to take? I am not bothered about templates, as I am happy to recreate/develop the site in that way as part of the move. That is no problem. My problem is with regard to the database - in all my messing about trying things people have mentioned, I've not got a successful link to a copy of the 1.2.7 database.

And, of course, I'm running out of time. Any suggestions as to the best way to deal with it would be appreciated, to say the least. I see the main problem to be to do with database prefixes, by which I mean those attached by setting up a database on this or that server, not configure.php prefixes. And as both servers are in the same DNS zone, I am not free to duplicate the 1.2.7 prefix, as I see it, using cPanel to create a database to link to a manual install of Zencart.

4 May 2008, 12:27 AM
#2
godt avatar

godt

Zen Follower

Join Date:
Mar 2006
Location:
Melbourne, Australia
Posts:
378
Plugin Contributions:
0

Re: clean upgrade

I understand the reluctance to reply, given all the documentation, which I have read. Can I put my question another way: given that I am moving to a new server and upgrading from 1.2.7 to current version at the same time, which is the best path:

  1. install 1.2.7 and existing database on the new server and go through the upgrade path

  2. install 1.3.8a on the new server and and try to import the database.

I have experimented with the second, but seem to run into what are database conflict issues, even having run the fix_cache_key.

Or, is there a third, compromise approach: export only the database tables related to customers, orders, products, etc, and import them into the 1.3.8a database?

I would appreciate any direction.

4 May 2008, 2:44 AM
#3
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,748
Plugin Contributions:
0

Re: clean upgrade

Without the specifics of any problems it is impossible to give advice.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

4 May 2008, 3:18 AM
#4
godt avatar

godt

Zen Follower

Join Date:
Mar 2006
Location:
Melbourne, Australia
Posts:
378
Plugin Contributions:
0

Re: clean upgrade

I'll steel myself for another go, and document the challenges! Thank you for the reply.

6 May 2008, 3:47 AM
#5
drbyte avatar

drbyte

Sensei

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

Re: clean upgrade

I generally recommend your #1 suggestion as the best approach. Less error-prone that way.

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