Zen Cart Logo
Forums / Installing on a Linux/Unix Server / Warning: I am able to write to the configuration file:

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

Locked

Views: 8,137

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
7 Jan 2008, 4:00 AM
#1
rodney_blue avatar

rodney_blue

New Zenner

Join Date:
Jan 2008
Posts:
11
Plugin Contributions:
0

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

Hi everyone one well I installed zen cart.
I tried to fix the problem I did like the message said I should do I CHMOD the /myzencart/includes/configure.php
to 644 but I still see the error message.
I think the error message is wrong because I have CHMOD the directory like
it said I should do but I still see the message.
What should I try next.
I know how to CHMOD and set the files to the right CHMOD I do it all the time.
#################################
Any one have idea how get rid of Warning message?
#################################
I have read the info at https://www.zen-cart.com/tutorials/index.php?article=90
and have done all of them but still see this error message.

I have this message at the top of my page.
Warning Warning: I am able to write to the configuration file: /home/madecool/public_html/shopcart/includes/configure.php. 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. See this FAQ

7 Jan 2008, 4:05 AM
#2
webskipper avatar

webskipper

Totally Zenned

Join Date:
Nov 2007
Location:
USA
Posts:
876
Plugin Contributions:
2

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

Try both the admin/config and the catalog/config files at 777.

Did you rename the dist-configure to configure?

Click recheck.

Go Green!

7 Jan 2008, 4:26 AM
#3
rodney_blue avatar

rodney_blue

New Zenner

Join Date:
Jan 2008
Posts:
11
Plugin Contributions:
0

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

Well I dicided to try also to CHMOD all these files to 644

/admin/configuration.php
/admin/includes/configure.php

/includes/configure.php
/includes/dist-configure.php

But it did not get rid error message.

I going to try and CHMOD them to 777 see what happens.

I did not see a catalog directory and I did not rename anything.

My cart is at:
http://www.madecool.com/shopcart/

7 Jan 2008, 4:34 AM
#4
rodney_blue avatar

rodney_blue

New Zenner

Join Date:
Jan 2008
Posts:
11
Plugin Contributions:
0

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

I need to get rid of the message Warning: I am able to write to the configuration file:
my web site is at http://www.madecool.com/shopcart/
I trying get rid of that error message on top.
I have set the CHMOD to 644 but still get the error message.
So i need to CHMOD like it says and have done that. But i still see the error message. Even though I did like it said.
I refresh my browser but still see error message.
Now what.

7 Jan 2008, 4:37 AM
#5
rodney_blue avatar

rodney_blue

New Zenner

Join Date:
Jan 2008
Posts:
11
Plugin Contributions:
0

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

rodney-blue:

Hi everyone one well I installed zen cart.
I tried to fix the problem I did like the message said I should do I CHMOD the /myzencart/includes/configure.php
to 644 but I still see the error message.
I think the error message is wrong because I have CHMOD the directory like
it said I should do but I still see the message.
What should I try next.
I know how to CHMOD and set the files to the right CHMOD I do it all the time.
#################################
Any one have idea how get rid of Warning message?
#################################
I have read the info at https://www.zen-cart.com/tutorials/index.php?article=90
and have done all of them but still see this error message.

I have this message at the top of my page.
Warning Warning: I am able to write to the configuration file: /home/madecool/public_html/shopcart/includes/configure.php. 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. See this FAQ

See ERROR message says: Warning: I am able to write to the configuration file:

7 Jan 2008, 4:43 AM
#6
rodney_blue avatar

rodney_blue

New Zenner

Join Date:
Jan 2008
Posts:
11
Plugin Contributions:
0

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

I CHMOD all files back to 444
/admin/configuration.php
/admin/includes/configure.php

/includes/configure.php
/includes/dist-configure.php

Still see error message are more files to CHMOD to 444?

7 Jan 2008, 4:45 AM
#7
rodney_blue avatar

rodney_blue

New Zenner

Join Date:
Jan 2008
Posts:
11
Plugin Contributions:
0

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

I going sleep on it

7 Jan 2008, 4:50 AM
#8
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

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

Make sure that your using your control panel to chmod to 444
most dont allow this through ftp

7 Jan 2008, 5:10 AM
#9
webskipper avatar

webskipper

Totally Zenned

Join Date:
Nov 2007
Location:
USA
Posts:
876
Plugin Contributions:
2

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

:oops:I'm so sorry. I saw unable rather than able.

Listen to Merlin, chmod too high.

Make sure both the admin/configure.phhp and catalog/configure.php pages are 444 or 644.

If it still doesn,'t work then clear your cache and delete cookies.

7 Jan 2008, 7:57 AM
#10
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 to the configuration file:

Sounds like your Hoster is running PHP as CGI, which would explain all the chmod problems you've been having.

Make a blank file and inside put the following code:

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

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:
ipn_main_handler.php - nddbc.html

Now load the URL into your Browser: http://yoursite.com/chmod.php

You will see a blank page and that is OK. Use your Browser to load your Zen Cart "index" page and verify Error msg. is gone.

Delete the 'chmod.php' page.

7 Jan 2008, 2:00 PM
#11
patslash avatar

patslash

New Zenner

Join Date:
Jan 2008
Posts:
10
Plugin Contributions:
0

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

i resolved the issue by going into my controlpanel, file manager, searched for the file and set it to 444, read only. the message went away immediately, thank you!

7 Jan 2008, 10:05 PM
#12
rodney_blue avatar

rodney_blue

New Zenner

Join Date:
Jan 2008
Posts:
11
Plugin Contributions:
0

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

** Website Rob,
Thank you**

Now that's the way to fix something.
You know this stuff.
That's what I wanted to know.
Fixing it right sometimes takes a few minutes longer to do.
But it really saves you time later because you don't have
to try something else.
Finally got the answer I was looking for.
Thank you