Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Installing on a Windows Server / How do I rename the zen cart directory?

How do I rename the zen cart directory?

Started by trevorwood on 23 Jun 2010, 11:44 AM · Views: 2,650

Results 1 to 10 of 10
23 Jun 2010, 11:44 AM
#1
trevorwood avatar

trevorwood

New Zenner

Join Date:
Nov 2006
Posts:
2
Plugin Contributions:
0

How do I rename the zen cart directory?

I want to install Zen cart into a subdirectory of my website. If I install it into zen-cart-v1.3.9d-full-fileset-06032010 the entire package works fine.

If I then try to rename the above named subdirectory, Zen cart fails.

I've been through and changed all the references of "zen-cart-v1.3.9d-full-fileset-06032010" to the new subdirectory name and changed where the WQL cache points to, but all I get a bank screen for the shop. I can still access the admin facilities though

I've tried clearing the browser cache and history.

What am I missing?

TIA

23 Jun 2010, 12:10 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: How do I rename the zen cart directory?

trevorwood:

I've been through and changed all the references of "zen-cart-v1.3.9d-full-fileset-06032010" to the new subdirectory name and changed where the WQL cache points to

You changed the paths in includes/configure.php ?

23 Jun 2010, 1:05 PM
#3
trevorwood avatar

trevorwood

New Zenner

Join Date:
Nov 2006
Posts:
2
Plugin Contributions:
0

Re: How do I rename the zen cart directory?

stevesh:

You changed the paths in includes/configure.php ?

yes - it turns out that Dreamweaver was causing the problem.

Renaming the directory using Dreamweaver caused various bits internally to be redirected which shouldn't have been. Rename the directory outside of Dreamweaver and then change the path names seems to have fixed the problem

Thanks all

23 Jun 2010, 9:03 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: How do I rename the zen cart directory?

Never use Dreamweaver for large-scale FTP actions. It's fine for one-at-a-time file uploads, but anything more than that should really use a real FTP program.

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

19 Dec 2010, 11:27 PM
#5
rjspomer avatar

rjspomer

Zen Follower

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

Re: How do I rename the zen cart directory?

I have tried changing the name in both configure.php in the admin/includes directory and the includes directory but they just get changed back whats going on :dontgetit

Now I have messed up site I can not get into.

Help

all I wanted to do is make the "store" more of relevant to my products.

20 Dec 2010, 12:29 AM
#6
rjspomer avatar

rjspomer

Zen Follower

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

Re: How do I rename the zen cart directory?

I had to change the permission and now the correct directory. I used the fix cache key php. That work as far as changing the cache but I still can not access my website.

I have checked and double checked I cannot access the admin page either.

Any Help?

20 Dec 2010, 1:32 AM
#7
rjspomer avatar

rjspomer

Zen Follower

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

Re: How do I rename the zen cart directory?

OK I can now get into my administration page. The website is still down.

20 Dec 2010, 11:18 AM
#9
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: How do I rename the zen cart directory?

Home page works for me. It looks like you have your Zencart installation in a subdirectory named wood-tissue-box-cover ??

20 Dec 2010, 12:07 PM
#10
rjspomer avatar

rjspomer

Zen Follower

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

Re: How do I rename the zen cart directory?

Yes I did get it to finally work. I not only had to change the two configure.php files, I had to change the lines in .htpaccess

Bluehost my host tech said that this is a common problem. I spent hours on this and he fixed in a few seconds.

Thanks