Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

configure.php error


Guest

Recommended Posts

Posted

Whatever i seem to do, i don't seem to get rid of the following error:

 

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

 

i changed the permissions of the file to 644 or 444 , but i still get this message on top of the startup-page. What could i have done wrong?

 

thank you very much for your help.

Posted

Contact your host and let them know that PHP thinks a file with 444 permissions is writeable. They will fix it for you.

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Posted

i've set the permissions to 644, my host does not allow me to set them to 444. I'll try contacting my host ..

Posted

A lot of hosts do not allow permission changing via FTP. If your server's control panel has a File Manager (or similar application) then you should be able to use that to change the permissions of your files and folders should you need to do so again in the future.

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Posted

The way I solved the problem was to upload a small custom php file containing

<?php chmod("includes/configure.php", 0444); echo "rights changed"; ?>

and then run it from a web browser.

Archived

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

×
×
  • Create New...