Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warning Message at top of page


Guest

Recommended Posts

Posted

I'm getting the following message at the top of my store:

 

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

 

The permissions are set at 706, and after doing a search here at the forums, I also tried 705, but neither made a difference. What do I do to get rid of this?

Posted

Try to add this to a new .php file.

 

<?php

chmod('/home/tinyt/public_html/store/includes/configure.php', 0444);

?>

 

then access it online at your site.

 

Remember to backup before.

 

 

//Spice

Posted

try setting to 444 read only state

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Posted

I tried both, and neither worked. I'm not sure what to do from here. I should also mention that osCommerce was installed directly from my hosting Cpanel.

Posted

then maybe your host does not give the user the permission to set permissions below 644, if you change the permission on a file to 444 then refresh is the file 444 or has it changed

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Posted

It's now fixed! The first time I attempted to chmod to 444, I wasn't at my own computer, and had to attempt it from my cpanel's ftp program. That didn't work, apparently, but I just tried it again, using my ws_ftp program, and it DID work. The warning message is gone now.

 

Thanks!

Archived

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

×
×
  • Create New...