jonsuey Posted July 2, 2008 Share Posted July 2, 2008 Hi...I just installed my first osCommerce store. Everything installed right, I thought...but I get the following error at the top of the page: Warning Warning: I am able to write to the configuration file: /home/users/web/b1725/pow.wintersun/store/includes/configure.php. This is a potential security risk - please set the right user permissions on this file. Here's the URL to the site: http://store.soulsticesundries.com/ I would sure appreciate any help anyone has on how this can be fixed. Thank you very much, Sue Link to comment Share on other sites More sharing options...
satish Posted July 2, 2008 Share Posted July 2, 2008 set permission to 444 for includes/configure.php this can be done thru FTP tools ot thru file manager in cpanel. Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does. Link to comment Share on other sites More sharing options...
jonsuey Posted July 2, 2008 Author Share Posted July 2, 2008 set permission to 444 for includes/configure.php this can be done thru FTP tools ot thru file manager in cpanel. Satish Satish...that didn't work...lost total access to site w/ a "FORBIDDEN - you don't have access...." screen. Anything else it could be? Thanks, Sue Link to comment Share on other sites More sharing options...
jonsuey Posted July 2, 2008 Author Share Posted July 2, 2008 oops...never mind...I had changed permission on the root folder...not the specific "includes/configure.php" - have since changed it, and it seems to work. THANK YOU - THANK YOU! s:-) Link to comment Share on other sites More sharing options...
Guest Posted July 2, 2008 Share Posted July 2, 2008 I tried both 444 AND 644 and the message is still appearing in pink at the top. HELP! Link to comment Share on other sites More sharing options...
satish Posted July 20, 2008 Share Posted July 20, 2008 I tried both 444 AND 644 and the message is still appearing in pink at the top. HELP! Your FTP tool command are not successful. This happens generally when Your site is on windows server. Use hosting cpanel and the file manager go to the file and set path. Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does. Link to comment Share on other sites More sharing options...
Guest Posted July 22, 2008 Share Posted July 22, 2008 Your FTP tool command are not successful.This happens generally when Your site is on windows server. Use hosting cpanel and the file manager go to the file and set path. Satish Forgive my ignorance, but go into WHICH file and set WHAT path. I'm not using an FTP program, I have set permissions on includes/configure.php to read/write, and have also tried read-only, but I still get the warning message. (FYI - I say read-only, because I have no idea what these numbers everyone throws around are, 777, 644, 444, no clue, read/write/execute/delete that I understand) :0) Link to comment Share on other sites More sharing options...
satish Posted July 22, 2008 Share Posted July 22, 2008 4 is read,2 is write, 1 is execute. and there are three groups. So it can range from 444 to 777(read read read is the minimum that is always there). This file: /store/includes/configure.php should have 444 permission. Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does. Link to comment Share on other sites More sharing options...
Guest Posted July 23, 2008 Share Posted July 23, 2008 ok, that makes sense, but it doesn't really solve the problem. I have set permissions for all users to read-only (except system and admin which I don't have the option to change) and I still get the error. I'm hosting with webhost4life. Anyone have any ideas? Link to comment Share on other sites More sharing options...
satish Posted July 23, 2008 Share Posted July 23, 2008 Not even for system admin. it has to be read for all. When System admin wants to change first thru FTP modify permission and then work. Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does. Link to comment Share on other sites More sharing options...
BryceJr Posted July 23, 2008 Share Posted July 23, 2008 Try this --> configure.php permissions quick fix on windows based systems Link to comment Share on other sites More sharing options...
Guest Posted July 25, 2008 Share Posted July 25, 2008 that took care of it. Thanks Link to comment Share on other sites More sharing options...
Guest Posted July 30, 2008 Share Posted July 30, 2008 Try this --> configure.php permissions quick fix on windows based systems I tried this too, but no matter what, when I try to run protect.php in the browser, I get the message 'Forbidden - You don't have permission to access /catalog/admin/includes/protect.php on this server.' My protect.php-file looks like this: <?php chmod('configure.php', 0444); chmod('/catalog/includes/configure.php', 0444); ?> and like this for the one in the /admin/includes/-folder: <?php chmod('configure.php', 0444); chmod('/catalog/admin/includes/configure.php', 0444); ?> What can I do? I also tried editing the configure.php in the FTP program and in the filemanager from my host. Link to comment Share on other sites More sharing options...
maxielit Posted August 13, 2008 Share Posted August 13, 2008 Made .php file as told but gettting errors like: Warning: chmod() [function.chmod]: Unable to access /customers/maxielit.se/maxielit.se/httpd.www/includes/configure.php in /customers/maxielit.se/maxielit.se/httpd.www/shop/chmod.php on line 2 Warning: chmod() [function.chmod]: Unable to access /customers/maxielit.se/maxielit.se/httpd.www/includes/configure.php in /customers/maxielit.se/maxielit.se/httpd.www/shop/chmod.php on line 2 Warning: chmod() [function.chmod]: stat failed for /customers/maxielit.se/maxielit.se/httpd.www/includes/configure.php in /customers/maxielit.se/maxielit.se/httpd.www/shop/chmod.php on line 2 Script is: <?php chmod("/customers/maxielit.se/maxielit.se/httpd.www/includes/configure.php",0444); ?> have also tried the protect script and getting errors like: Warning: chmod() [function.chmod]: Unable to access configure.php in /customers/maxielit.se/maxielit.se/httpd.www/shop/protect.php on line 2 Warning: chmod() [function.chmod]: stat failed for configure.php in /customers/maxielit.se/maxielit.se/httpd.www/shop/protect.php on line 2 Warning: chmod() [function.chmod]: Unable to access /shop/includes/configure.php in /customers/maxielit.se/maxielit.se/httpd.www/shop/protect.php on line 4 Warning: chmod() [function.chmod]: Unable to access /shop/includes/configure.php in /customers/maxielit.se/maxielit.se/httpd.www/shop/protect.php on line 4 Warning: chmod() [function.chmod]: stat failed for /shop/includes/configure.php in /customers/maxielit.se/maxielit.se/httpd.www/shop/protect.php on line 4 Script is: <?php chmod('configure.php', 0444); // need to replace /../ with your directory structure chmod('/shop/includes/configure.php', 0444); ?> What can be wrong... is it some problems with safe mode off that is not available on my host?? Thanks for any help// Link to comment Share on other sites More sharing options...
satish Posted August 13, 2008 Share Posted August 13, 2008 /customers/maxielit.se/maxielit.se/httpd.www/includes/configure.php how did the www come in. Please chek thru server info whats the document root or scriptpath. I feel that the path stated is wrong. Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does. Link to comment Share on other sites More sharing options...
maxielit Posted August 13, 2008 Share Posted August 13, 2008 Ok if the server rout is: _SERVER["DOCUMENT_ROOT"] /customers/maxielit.se/maxielit.se/httpd.www and the URL is: http://www.maxielit.se/shop/protect.php (root is shop/protect.php) How should the protect.php script look like then? The default script from above is: <?php chmod('configure.php', 0444); chmod('/../catalog/../includes/configure.php', 0444); ?> Thanx again for any help! Link to comment Share on other sites More sharing options...
maxielit Posted August 13, 2008 Share Posted August 13, 2008 I got it right this time, was doing the path a little too fast the first time... everything is working - Thanks for Your help Satish Mantri! //J Link to comment Share on other sites More sharing options...
satish Posted August 14, 2008 Share Posted August 14, 2008 Welcome John. Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.