Jump to content
Latest News: (loading..)
Sign in to follow this  
POOL72

Warning: I am able to write to the configuration file:

Recommended Posts

Hi,

I had osCommerce Online Merchant v2.2 RC 2a installed fine with no error message. l then installed STS v4.6 now l get error messages ...

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

 

l have tried setting permissions 444 on includes/configure.php l still get that message

 

Any idea?

Share this post


Link to post
Share on other sites

Try permissions in this order until the warning goes away:

 

644

 

444

 

400

 

And DON'T use FTP as it fails for most people. Login and use your web host's cPanel.


If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Share this post


Link to post
Share on other sites

Hi,

I had osCommerce Online Merchant v2.2 RC 2a installed fine with no error message. l then installed STS v4.6 now l get error messages ...

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

 

l have tried setting permissions 444 on includes/configure.php l still get that message

 

Any idea?

 

 

Has nothing to do with STS as STS does not modify any of the configure.php files.

As was mentioned above, you need to set the correct permissions on both configure.php files according to what is read only per your host.


Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Share this post


Link to post
Share on other sites

Try permissions in this order until the warning goes away:

 

644

 

444

 

400

 

And DON'T use FTP as it fails for most people. Login and use your web host's cPanel.

 

Thanks for this info. I am getting the same message and am having trouble figuring ot how to set my permissions. Do you edit that config.php file and then upload it or do you do something else altogether?

 

Thanks for your help.

 

Cheers,

Shawn

Share this post


Link to post
Share on other sites

Shawn,

 

The configure.php files should be set to 444 if your hosting provider will allow it. You CAN use an FTP to change it most of the time, but if that fails then you should do it through your cpanel file manager.

 

 

 

Chris


:|: Was this post helpful ? Click the LIKE THIS button :|:

 

See my Profile to learn more about add ons, templates, support plans and custom coding (click here)

Share this post


Link to post
Share on other sites

i got the message after install oscommerce merchant "I am able to write to the configuration file: /home/sites/rumfashion.com/public_html/includes/configure.php. This is a potential security risk - please set the right user permissions on this file."

 

some one suggested in forum to put 644, 444, 400 but i like to know in "configure.php" edit area in cpanel which lines (top, center or below) and how to put up the above any one number? is need to write any code before put up the above number? please advice me anyone.

Share this post


Link to post
Share on other sites

  1. Step 1: Login to your cPanel.

Step 2: Under the File section, click the File Manager. If the File Manager Directory Selection window comes up, click Web Root, and click the Go Button.

Step 3: Navigate to the configure.php file specified in the error. In my tests it is: /home/userna99/public_html/includes/configure.php

Step 4: Right-click the configure.php file, and click Change Permissions.

Step 5: In the change permissions window, change them to 4-4-4, then click the Change Permissions button. 

Step 6: Now login to the osCommerce Admin section, and you will see the "Security risk" message is gone, and has been replaced by "This is a properly configured installation of osCommerce Online Merchant!"

post-339336-0-70554100-1463822238_thumb.png

post-339336-0-93698100-1463822303_thumb.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×