Results 1 to 10 of 19

Hybrid View

  1. #1
    Join Date
    May 2007
    Posts
    10
    Plugin Contributions
    0

    Default Re: another configure.php

    The only way that I see in the control panel that I can edit files is the Godaddy FTP client. This does not allow you to set permissions or check properties on files. There isn't even a console where I could type in FTP commands. Any other ideas? Is the file content ok? Is there any way I could bypass this part of the setup? Oh yeah, and the permission settings go back to 644 like 5-10 minutes after I run the database setup part of the zc_install.
    Last edited by tidusStylez; 4 May 2007 at 06:43 PM.

  2. #2
    Join Date
    May 2007
    Posts
    10
    Plugin Contributions
    0

    Default Re: another configure.php

    Talked to Godaddy again, and they told me I had to write a php script to change the permissions. Here is the script I made. Still gave me the error after running the script.
    <?php
    /*
    Changing file rights with php, an alternative to changing rights with cPanel/ftp/shell.

    Pop this in a file named rights.php in you root directory for Zen-Cart, then execute it:

    http://{www.mydomain.com/somepath}/rights.php

    Be sure to delete the file when you're done!

    */
    chmod("admin/includes/configure.php", 0777);
    chmod("includes/configure.php", 0777);
    echo "Rights changed!<br><b>Delete this file! (" . $_SERVER["SCRIPT_NAME"] . ")</b>";
    ?>

  3. #3
    Join Date
    Sep 2006
    Location
    Ruckersville, VA, USA
    Posts
    286
    Plugin Contributions
    0

    Default Re: another configure.php

    Use this link for a pictorial:
    http://www.imagesbydavido.com/chmod.htm

    Don't know if this will help - but it sure worked for me...
    I use WS_FTP.

    All I do is get connected to the host... and go to the folder you have your configure.php (not configuration.php). Right click on the file (configure.php), select properties, and set the chmod to 444. Some have said that 644 will work - but, I have only been successful with 444.
    The control panels on many hosts provide a way to change chmod, but I have found that they are flawed... and the old WS_FTP trick works every time... even on Windows Servers where they do not use CHMODS... so once again, using a good FTP app (WS_FTP Pro is worth the investment)
    1. connect to your store
    2. select configure.php,
    3. right click on it,
    4. select properties,
    5. and set the CHMOD to 444.

    Use this link for a pictorial:
    http://www.imagesbydavido.com/chmod.htm

    Respectfully,
    jund

  4. #4
    Join Date
    May 2007
    Posts
    10
    Plugin Contributions
    0

    Default Re: another configure.php

    wait set it to 444 or 644, wouldn't that not allow write permissions for the installer?

  5. #5
    Join Date
    May 2007
    Posts
    10
    Plugin Contributions
    0

    Default Re: another configure.php

    This is the exact error, looks like the zencart install already accessed the file. It can't verify. I already tried deleted the entire zen cart and reuploading it.

    While attempting to save your settings, Zen Cart™ Installer was unable to verify successful writing of your configure.php file settings. Please check to be sure that your webserver has full write permissions to the configure.php files shown below.

    - /includes/configure.php
    - /admin/includes/configure.php

  6. #6
    Join Date
    Sep 2006
    Location
    Ruckersville, VA, USA
    Posts
    286
    Plugin Contributions
    0

    Default Re: another configure.php

    I apologize - I am sorry - you are correct, the information I provided allows you to RESET the permissions. I am wrong.

    However I do not understand your configure.php file - it shows this path for your catalog:
    define('DIR_FS_CATALOG', '/home/content/t/i/d/tidusdesign/html/');

    and above that is another the http path is:
    define DIR_WS_CATALOG, '/';
    am I confused about the location of your 'catalog?'


    For my site it looks like this:
    define('DIR_FS_CATALOG', 'e:/web/public_html/mysite/store/');
    and the http path is:
    define('DIR_WS_CATALOG', '/store/');

    NOTE: store is the name of my 'catalog'.

    SUMMARY
    I apologize for the wrong chmod info... however; it looks like the path to configure is incorrect - the 'local path' does not match the 'virtual path' - and I am out of my league (smile).

    Respectfully,
    jund

  7. #7
    Join Date
    May 2007
    Posts
    10
    Plugin Contributions
    0

    Default Re: another configure.php

    I have the entire zencart directory in my root directory instead of in a folder like catalog. Thats what my zencart template instructions told me to do. Do I have to upload the zencart files into a folder, or can they reside in the root directory?
    That /home/content/t/i/d/tidusdesign/html/ points to my home directory on the server. The zencart files reside right in the home directory. The define DIR_WS_CATALOG, '/'; represents the home directory with a / I assume?

 

 

Similar Threads

  1. Replies: 9
    Last Post: 1 Sep 2012, 03:13 AM
  2. 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
  3. how to configure my configure.php file
    By vr4indian in forum Basic Configuration
    Replies: 4
    Last Post: 30 Oct 2006, 04:00 PM

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