Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2012
    Posts
    68
    Plugin Contributions
    0

    Default switching config.php files

    trying to move my dist-configure.php files to to configure.php files on ubuntu using putty. I'm not sure if I have the right way to do that. This is my command;
    /var/www/html/zencart# mv dist-configure.php target conf.php
    mv: target 'conf.php' is not a directory

  2. #2
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: switching config.php files

    I have no idea what the correct command is, but my question is why are you wanting to do this. The dist-configures are only examples. The real configure files are created on the fly during installation.

  3. #3
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,107
    Plugin Contributions
    11

    Default Re: switching config.php files

    Those are only meant to be guides as to what the config files might look like after they are auto-created by the installation program.
    Much easier to let the ZC_install folder do its thing.

  4. #4
    Join Date
    Mar 2012
    Posts
    68
    Plugin Contributions
    0

    Default Re: switching config.php files

    I didn't rename the file when I installed zc and my config.php file is empty
    Last edited by asdco; 4 Dec 2017 at 08:04 PM.

  5. #5
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,107
    Plugin Contributions
    11

    Default Re: switching config.php files

    If you correctly installed ZC, you should have two configure.php files that are the ones required for ZC to work properly.

    includes/configure.php
    YOUR_ADMIN/includes/configure.php

  6. #6
    Join Date
    Mar 2012
    Posts
    68
    Plugin Contributions
    0

    Default Re: switching config.php files

    how do i set chmod777 on this file so I can read it?
    /var/www/html/zencart# includes/configure.php
    -bash: includes/configure.php: Permission denied

  7. #7
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,107
    Plugin Contributions
    11

    Default Re: switching config.php files

    Some systems do not like 777. Your config files are probably at 444 or 644. 644 is fine for editing. 444 keeps out the script kiddies.

 

 

Similar Threads

  1. v151 Config Files for Admin
    By gcopping in forum Upgrading to 1.5.x
    Replies: 12
    Last Post: 11 Apr 2013, 02:10 PM
  2. Missing config.php both files latest..
    By Bosch in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 24 Nov 2008, 09:47 PM
  3. Changed my config.php files, now can't login to store
    By tedvieira in forum General Questions
    Replies: 11
    Last Post: 27 Mar 2008, 10:25 PM
  4. switching hosts configure files
    By gsdcypher in forum General Questions
    Replies: 2
    Last Post: 21 Mar 2008, 05:43 PM
  5. New install no includes/dist-config or admin/dist-config files?
    By retroboutiques in forum Installing on a Linux/Unix Server
    Replies: 9
    Last Post: 7 Dec 2007, 07:54 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