Results 1 to 8 of 8
  1. #1
    Join Date
    Jan 2006
    Posts
    17
    Plugin Contributions
    0

    Read only Config?

    We just finished installed the cart. At the end it said:

    "For security, you will need to reset your configure.php files located in the /admin/includes/ and /includes/ folders back to read-only mode before allowing people to access your store."

    Do they mean to change the CHMOD or to do something else?

    If it's the CHMOD, then what should we change those file to?

  2. #2
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Read only Config?

    Yes CHMOD is needed, depending on your server, either 644 or 444.

  3. #3
    Join Date
    Jan 2006
    Posts
    17
    Plugin Contributions
    0

    Idea or Suggestion Re: Read only Config?

    OK thanks kim. We asked because we already CHMODed the files, but the red warning message still appears...

  4. #4
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Read only Config?

    if 644 isn't low enough, try 444. If your FTP program won't set 444 (because your host has limited this action), then go to your hosting control panel and use its file-manager tool to set permissions to read-only


    And then proceed to the rest of security recommendations:
    http://www.zen-cart.com/wiki/index.p...ecommendations
    .
    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.

  5. #5
    Join Date
    Jan 2006
    Posts
    17
    Plugin Contributions
    0

    Idea or Suggestion Re: Read only Config?

    Yes we tried both 444 and 644. Both had the same results

    All changes were made by using both the FTP client, AND the hosting control panel. Both had the same results

    The other security measures have already been made.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Read only Config?

    Well, the error message means that PHP on your webserver is able to write to the files if it wants to. That means if someone on another account on your server writes a rogue script to change that file on you, you might be somewhat unhappy. Hence the warning.

    You will need to talk to your host about how to make that file non-readable by PHP. Or maybe they will provide some other information confirming whether they have some other security measures in place to protect you regardless of the setting.

    Are you hosting on Windows or Linux? (I know you posted in the Linux forum, but just confirming whether there is a mismatch in terminologies and technologies.)
    .
    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.

  7. #7
    Join Date
    Jan 2006
    Posts
    17
    Plugin Contributions
    0

    Default Re: Read only Config?

    I am pretty sure it's Linux, but we had this same thing happen to us once before and there was something that we did that was easy that fixed it. For the life of me right now I can't remember what it was though. Maybe I can find my old thread here wich talked about it. If I do I'll post the link for someone else who might read this thread.

  8. #8
    Join Date
    Jan 2006
    Posts
    17
    Plugin Contributions
    0

    Default Re: Read only Config?

    Well the good news is I found the thread. It is located here. The bad news is it doesn't tell us what we did to fix it

 

 

Similar Threads

  1. separate non read-only attributes from read-only
    By solo_400 in forum General Questions
    Replies: 0
    Last Post: 19 Dec 2015, 10:52 AM
  2. Read only attributes
    By dzaborow in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 10 Apr 2009, 01:48 PM
  3. SGS-020005: Error (Merchant config file is missing, empty or cannot be read).
    By kevinw in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 9 Aug 2008, 04:13 PM
  4. read only attribute value size too small/ import html in read only attribute value
    By nazzaw in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 22 Jan 2007, 03:49 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