Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2006
    Posts
    36
    Plugin Contributions
    0

    Default 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/ind...ain_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!

  2. #2
    Join Date
    Jun 2006
    Posts
    36
    Plugin Contributions
    0

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

    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.

 

 

Similar Threads

  1. Warning: I am able to write to the configuration file...
    By Ozewolf in forum General Questions
    Replies: 9
    Last Post: 15 Jan 2009, 01:23 PM
  2. Warning: I am able to write to the configuration file
    By milobloom in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 8 Jul 2008, 02:14 PM
  3. Warning: I am able to write to the configuration file
    By snarfy in forum Installing on a Linux/Unix Server
    Replies: 14
    Last Post: 20 Apr 2008, 11:26 AM
  4. Warning: I am able to write to the configuration file:
    By rodney-blue in forum Installing on a Linux/Unix Server
    Replies: 11
    Last Post: 7 Jan 2008, 11:05 PM
  5. Warning: I am able to write to the configuration File
    By rlantigua in forum Installing on a Windows Server
    Replies: 23
    Last Post: 28 Oct 2006, 12:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg