Contributions
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
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);
?>
I dont have access to the file security to set permissions. (windows based account) It would have to be done by my web host. This takes them out of the loop.
Unless I'm misunderstanding the nature of the problem, why wouldn't you just set the file property to read only? That gets rid of the warning message for me.
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.
Note: Contributions are used at own risk.