Forums / Basic Configuration / Warning: I am able to write to the configuration file: - can I hide this? (can't do 4

Warning: I am able to write to the configuration file: - can I hide this? (can't do 4

Locked

Started by shy_violet on 10 Jun 2006, 4:09 AM · Views: 1,757

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
10 Jun 2006, 4:09 AM
#1
shy_violet avatar

shy_violet

New Zenner

Join Date:
Jun 2006
Posts:
36
Plugin Contributions:
0

Warning: I am able to write to the configuration file: - can I hide this? (can't do 4

Sorry to sort of double post, I thought the problem was resolved, but it turns out that it hasn't and I have a new question regarding hiding my php warning.

The host I am using is powweb. I was receiving the infamous :

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

I could not change it through the Cpanel, contacted the host and they do not allow 444 (644, but not 444). So, I keep getting this error message. I've done some research, tried a few things (that did not work) and would now like to know if I can just disable the warnings so they are not visible to the viewer.

Has anyone done this before? Is my security warning valid, something that may affect my site, or can I just go ahead and hide this? I removed the warning text in english.php, and I think I found that red bar with the image in message stack.php. What changes should I make to which files to I get rid of that red bar and icon at the top?
Site is http://abigailchapin.com/catalog/index.php?main_page=index if you'd like to see the bar.

On a sidenote I read on this forum that this particular host's permissions (powweb) can be changed only via scripts. I read that I can create the following script:

<?php chmod('includes/configure.php', 0444); ?>

Save it as: chmod.php and upload it to the server. I tried this with no luck, so
I am open to any and all suggestions.

Thanks!

10 Jun 2006, 4:23 AM
#2
shy_violet avatar

shy_violet

New Zenner

Join Date:
Jun 2006
Posts:
36
Plugin Contributions:
0

Re: Warning: I am able to write to the configuration file: - can I hide this? (can't do 4

Ok, I figured out how to hide the warning now and started to(except for the icon but I'll get to that), but I now just need to know if this is ok to do. (Do I really have a security issue with 644?) If so, I suppose what I'll do is to have it visible until I finish the site ( that way I can see if I happen to get any other warnings) and then make it invisible when finished.

I guess the real question now is, is it ok to do this? And if not, what are my other options?

Thanks.