Results 1 to 10 of 21

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Posts
    6
    Plugin Contributions
    0

    Default Configure.php file permissions.

    I am trying to install Zen-Cart on a Linux system. I have properly set the permissions of the two configure.php files (includes/configure.php and admin/incudes/configure.php). I also set the correct permissions for all the other directories as recommended by the installation wizard. The installer still complains that the two configure.php files are unwriteable.

    I checked numerous times and reset the permissions numerous times.

    Anyone know why this is happening? I cannot move to the next phase of installation without correcting these errors.

    What should I do?

  2. #2
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Configure.php file permissions.

    try clearing your cache,
    hit ctrl + F5
    give it another try

    also verify that the permission changes to the configure.php files actually took place

    make sure to refresh the ftp window and check the file properties to make sure that the change took place
    Zen cart PCI compliant Hosting

  3. #3
    Join Date
    Jan 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: Configure.php file permissions.

    CTRL+F5 did not work (that is a client-side cache clear).

    I even did this:
    chmod -R 777 [to the top level zen-cart directory]!

    Now all the files are set to 777 permissions. Still not working!

    Is there anything in the Apache httpd.conf file with respect to <Directory> directives that might need tweaking?

    I even tried removing/renaming the .htaccess file in the includes dir.

    When I change a file permission to read/write only, i am certainly prohibitted from loading that page...

    I also changed the owner of all the files to "apache" ...didnt work

    I am having the same problem with osCommerce (I tried installing that one too)

    I'm out of ideas....

  4. #4
    Join Date
    Feb 2007
    Posts
    37
    Plugin Contributions
    0

    Default Re: Configure.php file permissions.

    I have exactly the same problem. I too cannot find a solution given that the rights of these two files are set exactly as suggested. Any further thoughts from more experienced users would really be welcome.

  5. #5
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Configure.php file permissions.

    This isn't a Zen Cart problem. Folders should be 755, and files 644 except for the two configure.php files - set to 755 or 777 during the installation. After the install is complete reset to 444 or 400 on an Apache based server.

    If you can't install with those permissions then you don't have the server set up correctly.

    Vger

  6. #6
    Join Date
    Jan 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: Configure.php file permissions.

    Are you running RH Linux? If so, the problem could be that you have Securtiy Enhanced Linux running on it... Once I configured SELinux to run in passive mode, my problem was solved!

    check your /etc/selinux/config file to see what mode your SELinux is running in.

    # SELINUX= can take one of these three values:
    # enforcing - SELinux security policy is enforced.
    # permissive - SELinux prints warnings instead of enforcing.
    # disabled - SELinux is fully disabled.

    If you change it to permissive mode, your problem should be fixed.

    You may also want to read up on how to configure your selinux so that you enforece the correct security policies.

    I hope this helps...

  7. #7
    Join Date
    Jun 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: Configure.php file permissions.

    I had posted to another thread entitled Red Flag at the Top before I discovered this thread, but the forum will not let me delete the post so I can put it here, so I apologize for the dual posts, but thought my problem might get more attention in this thread. Perhaps the admin will delete it for me.

    This is the nature of the error:

    I am able to write to the configuration file: /home/mysite/public_html/catalog/includes/configure.php

    I have the same problem on a shared Linux server. Umask is set such that it forces any changes I make to the owner to 6xx. I have attempted to set the perms on this file to 644, 444, 400, and 600 but the best I can achieve is 6xx and I still get the red warning message cited above when I access my site. I did clear my cache just to make certain that I was picking up the changes.

    I also have a Fedora Core 6 server in my lab and I was able to install the zencart perfectly on the other system using Filezilla to upload to both servers and to manage setting the permissions.

    I found another thread about Filezilla failing to actually change the perms but I have never seen this problem for anything else I have installed on either server.

    Thus I think the problem is with my ISP (Lunarpages), but it would be nice to be able to tell them where the problem is.

    Thanks for any suggestions.
    Last edited by tivrod; 26 Jun 2007 at 01:07 AM.

  8. #8
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Configure.php file permissions.

    If Lunar Pages provide you with cPanel then use the File Manager in cPanel to change permissions.

    Vger

  9. #9
    Join Date
    Jun 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: Configure.php file permissions.

    I resolved the problem and I want to share my process with everyone else in hopes that this will work for them.

    I had stated that CPanelX was showing 644 permissions and that was correct.

    However, I did not actually change the perms in CPanelX since it agreed with the results I was seeing in Filezilla.

    Since Filezilla apparently would always force 6xx, I assumed that I did not need to change the perms in CPanelX.

    Once I went into CPanelX, I found that I could change the permissions to 444, which resolved my problem.

    Good luck to everyone else having this problem.

 

 

Similar Threads

  1. Permissions...Configure.php
    By etecdirect in forum General Questions
    Replies: 1
    Last Post: 6 Oct 2010, 10:02 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