Results 1 to 7 of 7
  1. #1
    Join Date
    Sep 2010
    Location
    Australia
    Posts
    78
    Plugin Contributions
    0

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

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

  2. #2
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

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

    Quote Originally Posted by Jenvin View Post
    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)
    Last edited by frank18; 21 Dec 2013 at 12:46 PM.

  3. #3
    Join Date
    Sep 2010
    Location
    Australia
    Posts
    78
    Plugin Contributions
    0

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

    Quote Originally Posted by frank18 View Post
    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.
    Last edited by Jenvin; 21 Dec 2013 at 01:30 PM.

  4. #4
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

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

    Quote Originally Posted by Jenvin View Post
    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 www.yoursite.com/bull_DUST-1234

    Hope that makes sense.

  5. #5
    Join Date
    Sep 2010
    Location
    Australia
    Posts
    78
    Plugin Contributions
    0

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

    Quote Originally Posted by frank18 View Post
    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 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?

  6. #6
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default 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.p...mmies-%28me%29

    No messing with configure files required.

  7. #7
    Join Date
    Sep 2010
    Location
    Australia
    Posts
    78
    Plugin Contributions
    0

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

    Quote Originally Posted by stevesh View Post
    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.p...mmies-%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.

 

 

Similar Threads

  1. Not sure about content configure.php files
    By vlieger in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 23 Jul 2014, 08:45 PM
  2. Do you load all the files or just the picture for the header
    By lilguppy in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 10 Jan 2010, 07:36 AM
  3. Creating the configure.php files
    By twoturtles in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 25 Aug 2009, 10:02 PM
  4. Replies: 6
    Last Post: 27 Jun 2006, 01:25 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR