Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

configuration file permissions


orency

Recommended Posts

Posted

Warning: I am able to write to the configuration file: D:/hshome/xxxxxx/yyyyyy.ie/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file

 

I have successfully installed the system but get the above error message each time I launch Os commerce. Any ideas?

 

Orency

Posted

In Windows, you can try right clicking on the file, selecting Properties, checking the box for Read Only, clicking apply, and clicking OK.

 

PHP uses a broken API for the is_writable function in Windows that doesn't actually check permissions. However, it often works if you mark the file as read only, which also bypasses permission checks.

Always back up before making changes.

Archived

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

×
×
  • Create New...