Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warning: I am able to write to the configuration file! Please Help


tofayel

Recommended Posts

Posted

hi i installed an oscommerce template on to free tripod space. everything is working fine apart from one warning msg i am receiving.

 

after suceesfull installation i have been warned with two msg

 

one was to remove the installation file and i removed it.

and another

 

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

 

please could anyone tell me how to resolve these

thank you

Posted

The error tells you :-"

 

please set the right user permissions on this file

 

Set them to 644 or 444

 

 

Sonia

Posted
The error tells you :-"

Set them to 644 or 444

Sonia

 

 

Hi Sonia Thank you for your reply,

 

i am not very good at php mysql, however if you could tell me how to set user permission.

 

if i contact to my webserver will the set it for me? and

how could t take the warning code out ?

 

check it out please: www.members.lycos.co.uk/tofayel

Posted

if you can telnet/ssh to your account, then cd (change directory) into the /includes folder and enter this command:

chmod 644 configure.php

 

if you can't telnet/ssh , then change the permisssions via your ftp software.

for example, using secureFX, right click on the file, properties and then enter 644 under attributes.

 

-----

puddle

Posted
if you can telnet/ssh to your account, then cd (change directory) into the /includes folder and enter this command:

chmod 644 configure.php

 

if you can't telnet/ssh , then change the permisssions via your ftp software.

for example, using secureFX, right click on the file, properties and then enter 644 under attributes.

 

-----

puddle

 

i am sorry to bothering u-

still i couldnt do that.

 

if i order "password protection folder" from my webserver and if i put admin and includes folder under that protection do u think it will reslve these problem

thank you

Posted

Try going to whatever you use to upload and download your osc files, like your FTP client. Your webhosting cPanel or whatever they use to manage your webhosting should have a button or link to your "File Manager".

 

If you use FTP, simply go to the catalog/includes/ folder, right click the file named configure.php, then Properties..., and make it read only by clicking "Read Only", if this is the options offered. If not, you should be able to type in the CHMOD to 644 or 444 (there should be a three digit number in a text box on the pop up window that you can modify.

 

This will fix it. Hope this helps

Archived

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

×
×
  • Create New...