Results 1 to 9 of 9
  1. #1
    Join Date
    Jul 2007
    Posts
    172
    Plugin Contributions
    0

    Default Configure.php permission problem

    I've just completed the installation, and I've re-named the zc_install directory. I've also changed the permissions of the configure.php files in catalog/includes and catalog/admin/includes. Now, when I go to my store, I get the following error in the header:

    Warning: I am able to write to the configuration file: path/htdocs/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file (read-only, CHMOD 644 or 444 are typical). You may need to use your webhost control panel/file-manager to change the permissions effectively. Contact your webhost for assistance.

    I've changed the file permissions to 644 in FileZilla, but the error still persists. Please advise. Thanks!

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Configure.php permission problem

    Try changing the permissions to 444 ...

    NOTE: you may have to do this through your Control Panel for your domain, depending on your hosting site and how your domain is configured ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Jul 2007
    Posts
    172
    Plugin Contributions
    0

    Default Re: Configure.php permission problem

    Changing to 444 did it. Thanks!

  4. #4
    Join Date
    Nov 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: Configure.php permission problem

    newbie question: how to change permission? By editing? Sometimes I am using ubuntu and from here (using ftp) I can not change the permission (right click, properties does not give options)>

  5. #5
    Join Date
    Jan 2004
    Posts
    66,445
    Plugin Contributions
    81

    Default Re: Configure.php permission problem

    The FAQ section is real handy for quick answers. Searching for "permissions" brings up these tutorials:
    https://www.zen-cart.com/tutorials/index.php?article=9
    https://www.zen-cart.com/tutorials/i...hp?article=148
    .

    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.

  6. #6
    Join Date
    Nov 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: Configure.php permission problem

    Thank you. I will go through :)
    I haven't seen the article 148.

  7. #7

    Default Re: Configure.php permission problem

    You may want to give SmartFTP a try for your ftp client. The download and use is free. After you log in via ftp, you simply right-click on the file you want to change the permissions for and go to "Properties/chmod" on the drop-down. Works slick. You can get the download here:

    "www.smartftp.com/download"

    Hope this helps.

    john
    http://www.ExtremaHosting.com

    Favorite Quote: "If your output exceeds your input, then your upkeep will be your downfall." (anon.)

  8. #8
    Join Date
    Oct 2006
    Location
    At Home
    Posts
    370
    Plugin Contributions
    0

    Default Re: Configure.php permission problem

    I have two zen cart stores installed.

    Store 1 - /includes/configure.php Permission 644 (ok)

    Store 2 - /includes/configure.php Permission 644 (error) 444 (ok)

    Why can't I change the permission for configure.php in Store 2 to 644 without causing error (red alert on header)?

    Store 1 just fine with 644. Permission set in CP not FTP.

    I'm somehow confused.

  9. #9
    Join Date
    Jan 2004
    Posts
    66,445
    Plugin Contributions
    81

    Default Re: Configure.php permission problem

    It is likely that you've got those sites on different servers, and, since every webserver is configured differently, one treats 644 as not-writable, and one requires 444 in order to be not-writable.
    If it bothers you, your hosting company will have to clarify for you.
    .

    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. Permission for configure.php file
    By Laki in forum General Questions
    Replies: 5
    Last Post: 30 Aug 2015, 10:01 PM
  2. Configure.php permission settings?
    By protegechris in forum Installing on a Windows Server
    Replies: 3
    Last Post: 27 Jul 2009, 12:43 AM
  3. includes/configure.php- permission
    By jojo81 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 11 Jun 2007, 07:47 PM
  4. Cannot change my configure.php permission
    By makeup4brides in forum Installing on a Windows Server
    Replies: 4
    Last Post: 7 Jan 2007, 11:05 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