Forums / Upgrading from 1.3.x to 1.3.9 / Straight update with renamed admin folder

Straight update with renamed admin folder

Locked

Views: 1,755

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
29 Oct 2006, 7:37 PM
#1
brightidea avatar

brightidea

New Zenner

Join Date:
Aug 2006
Posts:
18
Plugin Contributions:
0

Straight update with renamed admin folder

Hi,

I have a zencart install thats not live yet but has lots of products on it.
my admin directory has been renamed...

Is there a way for me to do an inplace upgrade? as my admin table is naturally called something else at the moment.

Many Thanks

Alan

29 Oct 2006, 9:01 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Straight update with renamed admin folder

While I don't recommend blindly upgrading in-place, yes.

(It's better to do a test in an offline / non-live environment just to be fully comfortable that things are working as expected.)

On your live site, if your admin folder has been renamed, simply follow this approach:

  1. run zc_install via the browser to start the process
  2. while looking at the license screen, open your FTP program and rename your "admin" folder back to "admin". Leave the FTP program open.
  3. back in your browser, click through to the System Inspection screen. You'll see the Database Upgrade option enabled. Click it.
  4. back in your FTP program, rename your admin folder back to what you had called it previously
  5. finish your upgrade process in zc_install.

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

30 Oct 2006, 12:21 AM
#3
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: Straight update with renamed admin folder

DrByte:

  1. run zc_install via the browser to start the process
  2. while looking at the license screen, open your FTP program and rename your "admin" folder back to "admin". Leave the FTP program open.
  3. back in your browser, click through to the System Inspection screen. You'll see the Database Upgrade option enabled. Click it.
  4. back in your FTP program, rename your admin folder back to what you had called it previously
  5. finish your upgrade process in zc_install.

Hi DrByte
Do you need to edit the 2 confiqure files so that they reflect the renamed admin folder or can you ignore them.
Are the paths in the 2 files used in the upgrade process?

30 Oct 2006, 3:59 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: Straight update with renamed admin folder

They were excluded from my instructions because the internal contents of the admin config file is presently ignored during a database-upgrade.

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

30 Oct 2006, 12:44 PM
#5
brightidea avatar

brightidea

New Zenner

Join Date:
Aug 2006
Posts:
18
Plugin Contributions:
0

Re: Straight update with renamed admin folder

Hi,

thanks for reply, in the end i decided to play it safe and just do like the documentation suggested.

Many Thanks

Alan