Forums / General Questions / Warning: I am able to write configuration file:

Warning: I am able to write configuration file:

Locked

Views: 1,428

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
18 Mar 2008, 2:10 AM
#1
jnstrom avatar

jnstrom

New Zenner

Join Date:
Mar 2008
Posts:
4
Plugin Contributions:
0

Warning: I am able to write configuration file:

I get the Warning: I am able to write to the configuration file: This is a potential security risk - please set the right user permissions on this file (read-only, CHMOD 644 or 444 are typical). You may need to use your webhost control panel/file-manager to change the permissions effectively. Contact your webhost for assistance.

If I change everything should the warning disappear? If so when?:cry:

18 Mar 2008, 2:56 AM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,675
Plugin Contributions:
0

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

What did you use to set your permissions?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

18 Mar 2008, 4:25 AM
#3
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

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

You should be able to use your Hosting Control Panel to change permissions to 444.

Or

Make a blank file and inside put the following code:

<?php chmod("includes/configure.php", 0444); chmod("admin/includes/configure.php", 0444); echo 'Completed' ?>

Note: if you renamed the 'admin' directory then change "admin" to whatever you renamed it to and you're good to go.

Save the file as "chmod.php", upload it to the same directory where these files are:
index.php - ipn_main_handler.php - nddbc.html

Now load the URL into your Browser: http://yoursite.com/chmod.php
You will see the 'Completed' msg. and can then load your Zen Cart "index" page to verify Error msg. is gone.
Now delete the 'chmod.php' page.

The learning is in the doing.

Potent Products

3 Apr 2008, 4:15 PM
#4
tednigma avatar

tednigma

New Zenner

Join Date:
Mar 2008
Location:
Canada
Posts:
23
Plugin Contributions:
0

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

Worked like a champ, THANKS! I put in a ticket to my host, however I was able to fix it right away with this help. I also gave my host a heads up on it, hopefully it will stop some support tickets.

Thanks again!
Ted

There is no place like ::1

Individuality dies with freedom. "Nothing to hide." translates to "I am a peg you will accept."

14 Apr 2008, 6:38 AM
#5
thomasw98 avatar

thomasw98

Zen Follower

Join Date:
Aug 2007
Location:
Eugene, OR
Posts:
166
Plugin Contributions:
0

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

TedNigma:

Worked like a champ, THANKS! I put in a ticket to my host, however I was able to fix it right away with this help. I also gave my host a heads up on it, hopefully it will stop some support tickets.

Thanks again!
Ted

Strange. I had the same problem. Tried to change permissions as I normally do with WS_FTP, and it would appear for a second as 444, but when I reloaded the WS_FTP screen, it would be mysteriously back to 644. I then adjusted it through my host control panel's file manager. I was able to change it that way, and then the warning message disappeared.