Zen Cart Logo
Forums / General Questions / Pre load up to server - about the configure files

Pre load up to server - about the configure files

Views: 1,031

Results 1 to 7 of 7
21 Dec 2013, 8:25 AM
#1
jenvin avatar

jenvin

New Zenner

Join Date:
Sep 2010
Location:
Australia
Posts:
78
Plugin Contributions:
0

Pre load up to server - about the configure files

Hi smart people,

Okay, giving this another go, sorry if I'm getting anyone upset.

I've downloaded another 1.5.1 and unzipped it. It's looking good on my computer. Nothing changed as yet, like custom files or anything. Straight unzip.

I've done the mysql set up and done a new database thing.I'm now up to this bit.

  1. configure.php files
    Two files need to be created on the server. These are the configure.php files that will contain
    important information to identify the settings of your particular server and the location of the
    files that you just loaded. After they have been created, you will then need to change the
    permissions on these files.
    For a new install, the simplest way to do this is to rename these two files BEFORE installing:
  • /includes/dist-configure.php
    to /includes/configure.php
  • /admin/includes/dist-configure.php
    to /admin/includes/configure.php

My question is - Do I change the dist-configure in the files I've unzipped, or do I go to my FTP and make two new files under public_html/new store name/includes/.... and the admin one?

Sorry if I'm sounding dim, but I probably am. :(

21 Dec 2013, 11:43 AM
#2
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Pre load up to server - about the configure files

Jenvin:

My question is - Do I change the dist-configure in the files I've unzipped....

You upload all (unzipped) ZC files to your server and then rename these two files BEFORE installing:

  • /includes/dist-configure.php
    to /includes/configure.php

  • /admin/includes/dist-configure.php
    to /admin/includes/configure.php

I usually create a copy of the 2 dist-configure.php files and rename the copies to configure.php. Then I upload the lot to my server.

After your site has been set up using the zc-installer and all steps have been completed, you then FTP into your site again and change the permissions of these two files

/includes/configure.php

/admin/includes/configure.php

to read-only (eg 444 - or as I prefer: 400)

21 Dec 2013, 12:28 PM
#3
jenvin avatar

jenvin

New Zenner

Join Date:
Sep 2010
Location:
Australia
Posts:
78
Plugin Contributions:
0

Re: Pre load up to server - about the configure files

frank18:

You upload all (unzipped) ZC files to your server and then rename these two files BEFORE installing:

  • /includes/dist-configure.php
    to /includes/configure.php

  • /admin/includes/dist-configure.php
    to /admin/includes/configure.php

I usually create a copy of the 2 dist-configure.php files and rename the copies to configure.php. Then I upload the lot to my server.

After your site has been set up using the zc-installer and all steps have been completed, you then FTP into your site again and change the permissions of these two files

/includes/configure.php

/admin/includes/configure.php

to read-only (eg 444 - or as I prefer: 400)

Thank you so much Frank.
The instruction may seem self explanatory to some people, but to me it said something else entirely.

Maybe you can help me with the next puzzle. Renaming the Admin.
In the FAQ's, it says to rename it to what I put in in step A.
Out of all the questions, which was step A?
(seriously tearing hair out here.)
The first thing I remember doing was the database names and password.

21 Dec 2013, 2:28 PM
#4
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Pre load up to server - about the configure files

Jenvin:

Thank you so much Frank.
The instruction may seem self explanatory to some people, but to me it said something else entirely.

Maybe you can help me with the next puzzle. Renaming the Admin.
In the FAQ's, it says to rename it to what I put in in step A.
Out of all the questions, which was step A?
(seriously tearing hair out here.)
The first thing I remember doing was the database names and password.

The file structure of the install file set looks something like this:

file_set

|-admin
|-cache
|-docs
|-download

etc
etc

Once the installation process has completed and you have changed the permissions of your 2 configure.php files, you can then FTP into your new ZC installation and simply rename admin to something like bull_DUST-1234

That new name for the admin should be something complicated and not easy to guess by a malicious individual. Use lower and upper case, numbers and underscores and/or hyphens. You just need to remember the name of the admin folder so you can access the admin by going to https://www.yoursite.com/bull_DUST-1234

Hope that makes sense.

21 Dec 2013, 11:25 PM
#5
jenvin avatar

jenvin

New Zenner

Join Date:
Sep 2010
Location:
Australia
Posts:
78
Plugin Contributions:
0

Re: Pre load up to server - about the configure files

frank18:

The file structure of the install file set looks something like this:

file_set

|-admin
|-cache
|-docs
|-download

etc
etc

Once the installation process has completed and you have changed the permissions of your 2 configure.php files, you can then FTP into your new ZC installation and simply rename admin to something like bull_DUST-1234

That new name for the admin should be something complicated and not easy to guess by a malicious individual. Use lower and upper case, numbers and underscores and/or hyphens. You just need to remember the name of the admin folder so you can access the admin by going to https://www.yoursite.com/bull_DUST-1234

Hope that makes sense.

Thanks Frank18,

The way the FAQ is worded, it sounds like you need to change it to something you have entered in some steps before.
Should you do this before you delete the zc_install, or doesn't it matter?

21 Dec 2013, 11:36 PM
#6
stevesh avatar

stevesh

Black Belt

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

Re: Pre load up to server - about the configure files

It doesn't matter. Since you're just getting started, you might try my method in post #7 here:

http://www.zen-cart.com/showthread.php?190947-Install-for-Dummies-%28me%29

No messing with configure files required.

21 Dec 2013, 11:46 PM
#7
jenvin avatar

jenvin

New Zenner

Join Date:
Sep 2010
Location:
Australia
Posts:
78
Plugin Contributions:
0

Re: Pre load up to server - about the configure files

stevesh:

It doesn't matter. Since you're just getting started, you might try my method in post #7 here:

http://www.zen-cart.com/showthread.php?190947-Install-for-Dummies-%28me%29

No messing with configure files required.

Hi Stevesh,

Actually, I thought I'd give it a go before I saw your post, and yes I found out it doesn't matter if you've renamed the Admin after deleting the zc_install.

I"M IN!!! YAY.!!!

Sorry for shouting, but this install scared me so much.

Thanks for everyone's help.