Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2011
    Posts
    6
    Plugin Contributions
    0

    Default Does dist-configure.php file name need to change?

    I am upgrading from 1.3.9b to 1.3.9h, and have noticed the names of the config files in Includes and Admin/Includes have been changed to "dist-configure.php."

    Will these files need to be changed to just "configure.php?"

    Or are they named this way for a special reason?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Does dist-configure.php file name need to change?

    No. They're there for a reason.
    You need a bit of a history lesson here:
    - Zen Cart doesn't come with any "configure.php" files. If it did, then people would accidentally delete their original configure.php files by blindly uploading blank ones from the new version.
    - Thus ZC supplies only dist-configure.php files (dist = "distribution"), which are simply stubs that you can rename to configure.php during your FIRST installation so that the installer process can write the collected information into them correctly.
    - (The installer can't magically create NEW files, hence the instruction for you to create your own, or simply rename the dist-configure.php files to configure.php to make the process easier.)

    If you did an install of ZC via some one-click install provided by your hosting company then you've missed out on all that important learning experience.

    The contents of dist-configure.php are really moot, since they're never used. The zc_install installation process completely replaces the contents of configure.php when it is run and told to write out the collected configuration information.
    .

    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.

 

 

Similar Threads

  1. v154 Rename dist-configure.php file?
    By bluefirefly in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 22 May 2015, 10:11 PM
  2. dist-configure.php -What does this file do?
    By Donn in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 4 Nov 2010, 07:11 PM
  3. Can't find either dist-configure.php file
    By soldtopbuck in forum Installing on a Windows Server
    Replies: 2
    Last Post: 8 Sep 2010, 08:25 AM
  4. Can't rename dist-configure.php because there is already a configure.php
    By mamasylvia in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 17 Mar 2008, 06:57 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