UnitedSale Posted June 16, 2004 Share Posted June 16, 2004 Hello, I installed the osCommerce and everything is ok. But today I have a message from my hosting company below: ------------------------------------------------------ Dear Customer We will be implementing a new php environment for added security and allow us to better facilitate the needs of our php users. On June 15 at 8:00pm PST we will convert and run php as cgi with suphp. If you have php variables set in your .htaccess files you will need to move those variables to a php.ini file and place it inside your directory. If you are using 777 as permissions on your php scripts they may need to be changed to 755. Most customers will not notice any issues with their currently installed php programs, however in some cases this may arise. Please contact us with any questions or concerns We apologize for this short notice. Unfortunately, it has become necessary for us to make this adjustment immediately due to a situation that has come to our attention. ------------------------------------------------------ I then keep getting the following error message: Warning: I am able to write to the configuration file: /home/united20/public_html/includes/configure.php. This is a potential security risk - please set the right user permissions on this file. No matter how I set the permission for the configure.php, the message is still there!! Please help!! Thanks Link to comment Share on other sites More sharing options...
vasttech Posted June 16, 2004 Share Posted June 16, 2004 Try 444. osCommerce Knowledge Base osCommerce Documentation Contributions Link to comment Share on other sites More sharing options...
UnitedSale Posted June 16, 2004 Author Share Posted June 16, 2004 I tried that, but it will automatically reset to 644 when I go out of the directory! Any ideas? Thanks Link to comment Share on other sites More sharing options...
Guest Posted June 16, 2004 Share Posted June 16, 2004 I have the same problem, due to the fact that I am on a shared server. I went to look on the ocCommerce documentation, which suggests you go to your server administrator to see if they can set the permissions manually. I did this but with no luck. You know what I did then? I just editied out this error check and although the configure.php is still writeable, I do not get the error message anymore. A quick fix but I eventually found that there was no other way to overcome it. Link to comment Share on other sites More sharing options...
vasttech Posted June 16, 2004 Share Posted June 16, 2004 Contact your host as this is a host issue. If they will not change it for you, then change hosts. osCommerce Knowledge Base osCommerce Documentation Contributions Link to comment Share on other sites More sharing options...
vasttech Posted June 16, 2004 Share Posted June 16, 2004 By the way how are you trying to chmod? Are you using an FTP utility or your hosts control panel? Try using a FTP program like WS_FTP if you already are not. osCommerce Knowledge Base osCommerce Documentation Contributions Link to comment Share on other sites More sharing options...
bobthelucky Posted June 16, 2004 Share Posted June 16, 2004 many people have that problem here is a fix that works great e mail me if you have questions ok hope this does it Create a php file named "secure.php" or whatever. Put the following code in it: CODE <?php chmod('includes/configure.php', 0444); ?> Upload this file to your server in the Catalog folder. Then run it in your browser: http://www.yourwebsite.com/catalog/secure.php Nothing will show on the screen, but the file will run and will set the permissions. Link to comment Share on other sites More sharing options...
tauras911 Posted July 7, 2004 Share Posted July 7, 2004 hey all, Thanks bobthelucky, that worked like a peach! Funny thing is, I am working on my server. I have been able to change the permission on previous installs of oscommerce, but for some reason I have had problems being aloud to change permissions on osc-max. Everytime I make a chmod change, it pops back to what it was before. Anyways your php file did the trick. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.