Zen Cart Logo
Forums / Installing on a Linux/Unix Server / install file location

install file location

Views: 1,065

Results 1 to 4 of 4
24 Jun 2011, 7:22 AM
#1
blanktheman avatar

blanktheman

New Zenner

Join Date:
Jun 2011
Posts:
6
Plugin Contributions:
0

install file location

Before you jump on me, i've looked through google, zen cart FAQ and forums and i can't find where zen cart installs the files to. It's something like esmith\something\sitename\blahblah but what's before that. Can somenoe tell me the whole location?

24 Jun 2011, 8:09 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: install file location

Well, the thing is ... Zen Cart doesn't make that decision. Whoever installs it is who decides where the files are put when they upload them to the server.

More important is: why are you asking that question in the first place?

24 Jun 2011, 8:22 AM
#3
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: install file location

You need to understand the difference between the SERVER path and the HTTP path.

The SERVER path will typically comprise a sequence such as:

home/jimmysmith/public_html/

Where the public_html is the ROOT directory into which all files will reside.

Some servers have different NAMES for the root:-

httpdocs, for example

All your zencart folders/files need to go into the ROOT directory, not before it.

The HTTP path will know (from the way the server is configured), that it must look inside the ROOT (public_html) for further "information" regarding the locality of the index file which must then kick the site into life.

If you want your zencart installation to run directly from the ROOT directory, then all the files get loaded into that directory.

If you want your site to run in a SUB-DIRECTORY (or possibly as a sub-domain), then you load the files into a named SUB-DIRECTORY which itself sits inside public_html.

So... just where you LOAD the initial folders/files will depend on whether you want the site to run as the main site:

A: http://www.myzencartwebsite.com/

or in a sub-directory:

B: http://www.myzencartwebsite.com/webshop/

If you want A, then ZC gets ftp'd to go inside "public_html" or "httpdocs" , or whatever your server root directory is called.

If you want B, then ZC gets ftp'd to go inside "public_html/webshop/"

Then, when you run the install via a browser, you navigate to:

A: http://www.myzencartwebsite.com/zc_install

or

B: http://www.myzencartwebsite.com/webshop/zc_install

24 Jun 2011, 9:28 AM
#4
blanktheman avatar

blanktheman

New Zenner

Join Date:
Jun 2011
Posts:
6
Plugin Contributions:
0

Re: install file location

thanx for the help guys. Actually went to admin-tools-developers tool kit and i searched for lbs in the last box on the left. searched thru admin/catalog and it showed me where lbs was and it also showed me where the location of the files were. So i found where the installation was, thanks guys. Happened about 2 minutes ago.