Zen Cart Logo
Forums / Basic Configuration / moving directories around

moving directories around

Locked

Views: 2,570

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
29 Jun 2006, 17:05
#1
whiteboxer avatar

whiteboxer

New Zenner

Join Date:
Apr 2006
Location:
Columbus, OH
Posts:
97
Plugin Contributions:
0

moving directories around

When I installed zen cart, I followed the installation document which recommended creating a sub folder called "catalog." I would like to move the files out of "catalog" and into the root directory, primarily so I can get catalog/index.htm to be the home page. Dreamweaver will automatically update the html links for me. However, I'm not sure if it will handle the PHP links. Also, is there anything in the database setup I need to change? Does anyone have a recommendation on the best way to do this, or better alternatives?

29 Jun 2006, 17:38
#2
lydia avatar

lydia

New Zenner

Join Date:
Jun 2006
Posts:
1
Plugin Contributions:
0

Re: moving directories around

I, too, would be interested in this information. However, in my case, I am trying to move ZenCart out of my main directory, and into a subdirectory "catalog". Go figure! :blush:
Any help appreciated!

29 Jun 2006, 21:04
#3
brent avatar

brent

Totally Zenned

Join Date:
Mar 2005
Location:
United Kingdom
Posts:
606
Plugin Contributions:
0

Re: moving directories around

Have a look in the FAQ here for instructions on how to move directories.

Very easily done.

Brent

05 Jul 2006, 23:09
#4
whiteboxer avatar

whiteboxer

New Zenner

Join Date:
Apr 2006
Location:
Columbus, OH
Posts:
97
Plugin Contributions:
0

Re: moving directories around

Thanks. One thing wasn't clear on the FAQ link you provided. Under point 2, it states to update DIR_FS_ADMIN in admin. However, I couldn't locate that. Can anyone provide a specific file that has to be upated?

05 Jul 2006, 23:22
#5
brent avatar

brent

Totally Zenned

Join Date:
Mar 2005
Location:
United Kingdom
Posts:
606
Plugin Contributions:
0

Re: moving directories around

/admin/includes/configure.php and you need to make the changes in 2 places.

Brent

06 Jul 2006, 00:14
#6
whiteboxer avatar

whiteboxer

New Zenner

Join Date:
Apr 2006
Location:
Columbus, OH
Posts:
97
Plugin Contributions:
0

Re: moving directories around

got those two, but there's a reference to a third spot in the admin, or am I misreading it?

06 Jul 2006, 02:44
#7
ajeh avatar

ajeh

Oba-san

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

Re: moving directories around

There is a setting in the Configuration ... Session Settings ... that could be a problem depending on how you have configured your cache ...

06 Jul 2006, 12:35
#8
whiteboxer avatar

whiteboxer

New Zenner

Join Date:
Apr 2006
Location:
Columbus, OH
Posts:
97
Plugin Contributions:
0

Re: moving directories around

Got that one as well. What I'm confused about is the mention in the FAQ that Brent listed above that states:

"2. Your /includes/configure.php and /admin/includes/configure.php files are used to point Zen Cart to the right folders. The DIR_FS_CATALOG, DIR_FS_SQL_CACHE, (and also DIR_FS_ADMIN in admin) need to be updated if you simply swap directory names. So, edit those files and upload your changes."

Its the (and also DIR_FS_ADMIN in admin) that I'm having trouble locating. I took care of the rest of the updates in the FAQ.

06 Jul 2006, 12:58
#9
brent avatar

brent

Totally Zenned

Join Date:
Mar 2005
Location:
United Kingdom
Posts:
606
Plugin Contributions:
0

Re: moving directories around

Check out the Fix Cache Key Mod as this may also be causing you problems.

Ajeh is referring to the setting in your store admin under configuration then sessions. Can you log into your store admin though? This setting is for the physical path to your cache directory e.g. /home/userfolder/......./cache

Brent

PS. Don't take anything I say as gospel!! I have moved my sites a number of times without any problems but I am in know way an expert. :lol:

06 Jul 2006, 13:23
#10
whiteboxer avatar

whiteboxer

New Zenner

Join Date:
Apr 2006
Location:
Columbus, OH
Posts:
97
Plugin Contributions:
0

Re: moving directories around

Thanks. Haivng it repeated in the next item had me confused.

06 Jul 2006, 21:47
#11
whiteboxer avatar

whiteboxer

New Zenner

Join Date:
Apr 2006
Location:
Columbus, OH
Posts:
97
Plugin Contributions:
0

Re: moving directories around

So I followed the FAQ and moved the files out of the catalog subdirectory into the main. However, when I log in to the admin, it keeps going to the old directory. How do I fix that?

06 Jul 2006, 21:51
#12
ajeh avatar

ajeh

Oba-san

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

Re: moving directories around

Did you fix the /includes/configure.php and the /admin/includes/configure.php

If you search the files ... do you see catalog anywhere?

Be sure that you are looking in the right directory and the right file ...

06 Jul 2006, 22:58
#13
whiteboxer avatar

whiteboxer

New Zenner

Join Date:
Apr 2006
Location:
Columbus, OH
Posts:
97
Plugin Contributions:
0

Re: moving directories around

I needed to change the DIR_WS_CATALOG and DIR_WS_ADMIN in admin/includes/configure.php

06 Jul 2006, 23:29
#14
whiteboxer avatar

whiteboxer

New Zenner

Join Date:
Apr 2006
Location:
Columbus, OH
Posts:
97
Plugin Contributions:
0

Re: moving directories around

Another problem I'm now having is that the template isn't applying. I went to the admin/tools/template selection and it works according to that, but the styles aren't applying live.