Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warning - write to configuration file


Reggie369

Recommended Posts

Hi,

 

I had sucessfully installed the osc store on my test domain. I then set up a new domain and moved the store to that directory. I changed the settings in the configuration file and the store is almost working fine.

 

The only problem is I keep gettting the warning.

 

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

 

Can anyone let me know what I need to change in order to make this warning go away.

 

Kind regards,

Reggie :-)

Link to comment
Share on other sites

Hi,

 

I had sucessfully installed the osc store on my test domain. I then set up a new domain and moved the store to that directory. I changed the settings in the configuration file and the store is almost working fine.

 

The only problem is I keep gettting the warning.

 

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

 

Can anyone let me know what I need to change in order to make this warning go away.

 

Kind regards,

Reggie :-)

chmod 0644 /home3/playfmdo/public_html/tempo/includes/configure.php (change the permissions to this file)

Link to comment
Share on other sites

It depends on how your server is configured -- whether PHP runs as "owner" or as a different ID. If you still get the warning with 644 permissions (read/write for file owner, read-only for everyone else), chmod 444 to make it read-only for everyone including you. Note: if you want to edit the file, or upload a new version, temporarily change it back to 644.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...