Forums / Installing on a Windows Server / How to move my store to another directory?

How to move my store to another directory?

Locked

Views: 8,914

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
3 Jun 2006, 10:56 AM
#1
peace_freak avatar

peace_freak

Zen Follower

Join Date:
Apr 2006
Posts:
354
Plugin Contributions:
0

How to move my store to another directory?

I have been trying to locate the documentation on moving my store (version 1.3) to a new directory within my site but I cannot seem to find it, even in the archives... Could someone let me know where I can see it or let me know the procedure?

Thanks!

3 Jun 2006, 11:45 AM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,861
Plugin Contributions:
18

Re: How to move my store to another directory?

Basically, it's a standard copy.

You'll just need to edit the two configure files (admin/includes/ and includes/) to change the effected links.

HTH

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

3 Jun 2006, 5:12 PM
#3
Kim avatar

Kim

Obaa-san

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

Re: How to move my store to another directory?

[moderator: Updated link to Wiki for this FAQ]:

http://www.zen-cart.com/wiki/index.php/Server_Admin_-_Change_Folders

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.

8 Jun 2006, 2:46 AM
#4
designbydemeter avatar

designbydemeter

Zen Follower

Join Date:
Jun 2006
Location:
Taos,NM
Posts:
225
Plugin Contributions:
0

Re: How to move my store to another directory?

I followed the directions here and in the FAQ - easy enough,

However, it still breaks. I can get a top page, but all the photo links are broken, and all the links on the sidebars are broken.

It was originally under public_html/public_html, and I wanted to move it to root (public_html).

I moved it back, restored the 2 config files and its working again, however, I would like to shift it to the root dir.

Thanks,
Laura

Laura M Collins Invitation Designs

"The best way to navigate in a new area is to first get totally lost in it."...Mike L. Stein

8 Jun 2006, 3:04 AM
#5
ajeh avatar

ajeh

Oba-san

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

Re: How to move my store to another directory?

You had it where?

/public_html/public_html sounds like a mis-configured site ... :blink:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

8 Jun 2006, 6:37 AM
#6
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,861
Plugin Contributions:
18

Re: How to move my store to another directory?

Sounds like you didn't change the links in the two configure files after moving the files to the root.

Make sure you have the proper settings in admin/includes/configure.php AND includes/configure.php

HTH

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

8 Jun 2006, 2:55 PM
#7
designbydemeter avatar

designbydemeter

Zen Follower

Join Date:
Jun 2006
Location:
Taos,NM
Posts:
225
Plugin Contributions:
0

Re: How to move my store to another directory?

Thanks for the reply,

Upon initial installation, it said that public_html already existed (which it does, my hosting company has all our visible files under that dir). So I put your public_html under that already existing dir, as I was not ready to migrate yet.

So - 96 hours later (and no sleep:sleepy: ), I've migrated completely, using redirects . I'd like to get it in the root pubic_html, but even after configuring the 2 files (easy enough), weirdness abounds.

So I moved everything back, restored my 2 config files and now its working again.

Any help would be enormously appreciated.

~Laura

Laura M Collins Invitation Designs

"The best way to navigate in a new area is to first get totally lost in it."...Mike L. Stein

11 Jun 2006, 8:30 AM
#8
designbydemeter avatar

designbydemeter

Zen Follower

Join Date:
Jun 2006
Location:
Taos,NM
Posts:
225
Plugin Contributions:
0

Re: How to move my store to another directory?

Success. Thanks for everyone's input, however I did find that there were a couple of interesting things I ran into:

In both the /includes/configure.php and admin/includes/configure.php, in addition to modifying the 2 and 3 lines as directed by the documentation, respectively, I also had to modify

define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');

as these are relative paths and they were pointing to the former subdirectory that it was in.

Additionally, I found that it worked better for me to change the session path first in the admin module, then do the other two files. When I tried it the other way, the program kept looping an error message every time i hit "save", by looking for the former subdirectory, and would not save it.

Don't know if I was doing this bass ackwards, but it's definately been an education:thumbsup: :thumbsup:

Laura M Collins Invitation Designs

"The best way to navigate in a new area is to first get totally lost in it."...Mike L. Stein

11 Jun 2006, 11:31 AM
#9
drbyte avatar

drbyte

Sensei

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

Re: How to move my store to another directory?

Your observations are correct. Will make a note to update the FAQ.

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

13 Jun 2006, 2:58 AM
#10
styledata avatar

styledata

Zen Follower

Join Date:
Feb 2006
Posts:
290
Plugin Contributions:
0

Re: How to move my store to another directory?

thanks for posting about this. I followed the FAQ and got the same weirdness. I too had to revert. I will try it as you suggest.
Suzanne

Give us your best shot!
http://www.photoimprints.com

13 Jun 2006, 3:27 AM
#11
designbydemeter avatar

designbydemeter

Zen Follower

Join Date:
Jun 2006
Location:
Taos,NM
Posts:
225
Plugin Contributions:
0

Re: How to move my store to another directory?

Awesome! I'm glad I finally get a chance to help someone else!:cool:

Laura

Laura M Collins Invitation Designs

"The best way to navigate in a new area is to first get totally lost in it."...Mike L. Stein

13 Jun 2006, 4:07 AM
#12
drbyte avatar

drbyte

Sensei

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

Re: How to move my store to another directory?

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