Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Change permissions and it says it can still right to config


kirky r33

Recommended Posts

Posted

Hi folks

 

i have change the permissions on both the config files and it is still telling me it can write to the catalog/includes/configure.php..

 

i have tried nearly every setting of 644 and under and non of them get rid of the message!

 

iam really stuck, can any one help

 

cheers

Posted

Try this:

 

Create a php file named "secure.php" or whatever. Put the following code in it:

 

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

 

Upload this file to your server in the catalog folder. Then run it in your browser: http://www.yourwebsite.com/catalog/secure.php

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Posted
Try this:

 

Create a php file named "secure.php" or whatever. Put the following code in it:

 

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

 

Upload this file to your server in the catalog folder. Then run it in your browser: http://www.yourwebsite.com/catalog/secure.php

 

 

 

Thank you very much!!! :thumbsup: thats fixed it!!!

 

I just need to learn how to write these pages, never done .php before

 

can any one recommend any software that makes it easier??

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...