Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warning: I am able to write to the configuration f


Guest

Recommended Posts

Posted

Can anybody please tell me what to do about this?

 

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

 

It is showing on the top of my website and never seen it until today.

Posted

You will have to change the properties of your configure.php file. Change it to 444 using any FTP software.

Posted

or if you use windows just right click on configure.php and set the permissions.

Did you try? Did you fail? No matter! Try again. Fail again! But fail better!

Posted

ok if the other fixes dont work try this one

 

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

 

 

CODE

 

<?php

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

 

Nothing will show on the screen, but the file will run and will set the permissions.

Posted

^ I don't have a "catalog" folder/directory... my includes folder is in /shop, so do I upload it to there?

 

[edit] nevermind it worked =)

  • 2 weeks later...

Archived

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

×
×
  • Create New...