PDA

View Full Version : warning, can write...


casbboy
8-12-03, 04:33 AM
I just installed oscommerce and now when I open up the catalog it says warning! can write to configure.php...
How do I stop this or protect that file. I tried chmoding it but does not seem to help.
Please Help Me!!
Thanks
Ryan

stevel
8-12-03, 09:49 AM
Create a file chmod.php with the following content:

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


Upload it to your admin folder and then open admin/chmod.php (on your site) in your web browser. Repeat for the catalog folder. Delete the file (or leave it there - it's harmless).

casbboy
8-12-03, 03:33 PM
Thanks, it worked.
Thanks again
Ryan