Results 1 to 10 of 14

Hybrid View

  1. #1
    Join Date
    Jan 2010
    Posts
    15
    Plugin Contributions
    0

    Default config.php/dist-configure.php

    Hi everyone, really hope someone can help me here. I've uploaded zen cart to my site, all files seem to have uploaded ok, set up complete, and database name etc ok. However, now both admin and my site are blank pages. I have noticed that there are no 'config.php' files in the relevant folers, but there are 'dist-configure.php' files, is this correct? (previously I have used OSCommerce, where the files are named 'config.php'.

    Many Thanks.

  2. #2
    Join Date
    Jan 2010
    Posts
    15
    Plugin Contributions
    0

    Default Re: config.php/dist-configure.php

    UPDATE Now I have the 'system setup required' screen back up, it does say the following:

    Your /includes/configure.php and/or /admin/includes/configure.php file contains invalid path information and/or invalid database-connection information.

    Can someone clarify for me, should the files be named configure.php? have just checked the downloaded pack again, and not included in the download?

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

    Default Re: config.php/dist-configure.php

    Yes. When I install Zencart, I change the names of the two dist-configure.php files to configure.php and change their permissions to 777 before starting the installation.

  4. #4
    Join Date
    Jan 2010
    Posts
    15
    Plugin Contributions
    0

    Default Re: config.php/dist-configure.php

    Thanks for your quick reply..I've changed the names, and set permissions, still having problems, but may need another thread. Thanks again.

  5. #5
    Join Date
    Jan 2010
    Posts
    11
    Plugin Contributions
    0

    Default Re: config.php/dist-configure.php

    Maybe this will help??

    Two files need to be created on the server. These are the configure.php files that 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.

    NOTE: Changing permissions can be done via your FTP program with the chmod feature. Usually clicking right on a directory or filename will open a menu with this option (perhaps under "Properties")

    On the server locate the file: /catalog/includes/dist-configure.php
    Rename this file to configure.php and change the permissions to 777 (read-write-execute for all)

    Next, on the server locate the file: /catalog/admin/includes/dist-configure.php
    Rename this file to configure.php and change the permissions to 777 (read-write-execute for all)



    NOTE FOR IIS USERS: If using IIS for Windows hosting, the "chmod 777" idea for permissions settings is likely foreign to you. In IIS, under Windows, you need to right-click on the file (or folders in the next section below), and choose Properties. Then under the Security tab, ensure that the"Internet Guest Account", identified usually as: MACHINE_NAME\IUSR_MACHINE_NAME ... has at least "read" and "write" privileges... likely best to give "modify" as well. This should be done on each file/folder indicated. (If the IUSR_MACHINE_NAME account isn't listed, click "Add" and add that account from the list, and then set the required permissions.) (Note: "_MACHINE_NAME" above refers to the "machine name" or "computer name" configured by the server administrator to "name" the server.)


    Now, change the permissions on the following directories to 777 (read/write/execute).

    /catalog/cache
    /catalog/images
    /catalog/includes/languages/english/html_includes
    /catalog/media
    /catalog/pub
    /catalog/admin/backups
    /catalog/admin/images/graphs

    Note: open the catalog/images directory and change all of the subdirectories and their subdirectories to 777 as well. For example (this is a partial list):
    /catalog/images/attributes
    /catalog/images/dvd
    /catalog/images/large
    /catalog/images/large/dvd
    /catalog/images/medium
    /catalog/images/upload

    NOTE: If you miss any of the images directories and subdirectories inside /images and try to use them later, you will get an error message that you cannot write to these directories.


    Other folders/files

    As for other folders and files, depending on your webserver configuration, they can be set to:
    - folders: CHMOD 755 ("CHMOD" is a linux/unix term for setting/changing permission levels)
    - files: CHMOD 644
    These are typically the defaults that your FTP program will use when uploading, so usually do not need to be set manually.

  6. #6
    Join Date
    Jan 2010
    Posts
    15
    Plugin Contributions
    0

    Default Re: config.php/dist-configure.php

    Hello, thanks for the information, I'm in the process of uploading the installation files again, as I'm guessing there were a few problems with the original upload.

    One question before I 'delve in' again...! Is it essential that the files listed above (and on the installation notes) are set to 777? I am having real problems setting at this level, I cannot do so via my FTP (Firezilla), or via my hosting company support. I've tried several times to upload a chmod file and run on server, but despite the msg after running 'permissions changed successfully..etc..), the folders still remain at 755. Thanks again!

 

 

Similar Threads

  1. Replies: 9
    Last Post: 1 Sep 2012, 03:13 AM
  2. dist-configure.php
    By ckosloff in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 8 May 2008, 09:11 AM
  3. 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

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