Contributions

Features (Category Index)
Search: 

configure.php permissions quick fix on windows based systems

A SIMPLE FIX FOR WINDOWS BASED PERMISSION ON CONFIGURE.PHP

If you’re on a windows based system, chmod is not an option when you receive this error.

----------------
Warning: I am able to write to the configuration file: :Webspaceresadminnamewebsitewwwcatalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.
-----------------

To fix the file, set proper permissions, and remove the error upload the attached file in the following directories listed below.

Upload the attached file to:
Catalog/includes/
Catalog/admin/includes/

Now point your browser to it the file
Ex:
http://www.yoursite.com/catalog/includes/protect.php
http://www.yoursite.com/catalog/admin/includes/protect.php

The screen will just go white!

Now browse back to your main catalog page and the error will be gone and permission are properly set.

Expand All / Collapse All

Update Protect.php 22 Jul 2007

If you do not have rights to this file. Update the protect.php in ../admin/includes/protect.php and point to both version in

Ex:
<?php
chmod('configure.php', 0444);
chmod('/../catalog/../includes/configure.php', 0444);
?>

update 22 Jul 2007
Dont have access Mike Mierzwa 16 Jun 2005
Another way to do it? Mike Chu 20 Apr 2005
configure.php permissions quick fix on windows based systems Mike Mierzwa 20 Apr 2005

Note: Contributions are used at own risk.