Zen Cart Logo
Forums / Installing on a Windows Server / Warning: I am able to write to the configuration File

Warning: I am able to write to the configuration File

Locked

Views: 14,878

Results 1 to 20 of 24
This thread is locked. New replies are disabled.
24 Jul 2006, 12:53 PM
#1
rlantigua avatar

rlantigua

New Zenner

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

Warning: I am able to write to the configuration File

Warning: I am able to write to the configuration file:
c:\hosting\webhost4life\member\rlantigua\catalog/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).

This is how he security is set up for this file
c:\hosting\webhost4life\member\rlantigua\catalog\includes\counter.php

Administrator -- RWXDPO
SYSTEM -- RWXDPO
NETWORK SERVICE -- R
Everyone -- R
NETWORK -- R
IUSR_DEDI468 -- R
IUSR_RLANTIGUA -- R

I have the same setting on the Admin\includes\configure.php.
and I don't get the error for this file.

Any ideas?

24 Jul 2006, 1:40 PM
#2
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

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

rlantigua:

This is how he security is set up for this file
c:\hosting\webhost4life\member\rlantigua\catalog\includes\counter.php

Just a stab in the dark but ummm counter.php and configure.php are two different files, are you setting permissions on the correct file ?

When the world gets in my face I say Have A Nice Day.

24 Jul 2006, 1:55 PM
#3
rlantigua avatar

rlantigua

New Zenner

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

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

TinaS:

Just a stab in the dark but ummm counter.php and configure.php are two different files, are you setting permissions on the correct file ?

YES was a type off on my part!!

I have the problem on the configure.php

24 Jul 2006, 2:12 PM
#4
blindside avatar

blindside

Totally Zenned

Join Date:
Sep 2004
Posts:
1,237
Plugin Contributions:
1

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

Run the store on Linux? :P

Frank Koehl
"Cleverly Disguised as a Responsible Adult"

frankkoehl.com

24 Jul 2006, 2:43 PM
#5
rlantigua avatar

rlantigua

New Zenner

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

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

BlindSide:

Run the store on Linux? :P

I also run asp.net on that server. I;m trhing to avoid having
2 hostings...

24 Jul 2006, 5:18 PM
#6
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

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

I have the same setting on the Admin\includes\configure.php.
and I don't get the error for this file.

The error only appears for the includes/configure.php file.

Use the File Manager in your web hosting control panel to reset permissions to 644 (usually okay for Windows hosting).

Vger

24 Jul 2006, 8:03 PM
#7
janeausten72 avatar

janeausten72

New Zenner

Join Date:
Oct 2004
Posts:
20
Plugin Contributions:
0

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

I'm getting this warning also. I've checked the config.php file and it's set to 644. Do you have any other suggestions for what can be wrong?

http://www.liddysloft.com/boutique

Thank you!

24 Jul 2006, 8:33 PM
#8
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

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

rlantigua:

YES was a type off on my part!!

I have the problem on the configure.php

I am sorry if you were offended by my reply - but it is a common mistake and it was a stab in the dark - I don't run zen on windows except on my computer for exactly these reasons.

When the world gets in my face I say Have A Nice Day.

24 Jul 2006, 9:49 PM
#9
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

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

Usually 644 works for Windows servers, but you can always try 444 or 400 to see if that removes the warning.

Vger

janeausten72:

I'm getting this warning also. I've checked the config.php file and it's set to 644. Do you have any other suggestions for what can be wrong?

http://www.liddysloft.com/boutique

Thank you!

24 Jul 2006, 10:30 PM
#10
janeausten72 avatar

janeausten72

New Zenner

Join Date:
Oct 2004
Posts:
20
Plugin Contributions:
0

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

The 444 worked! Thank you so much!

29 Jul 2006, 8:07 PM
#11
lrohenaz avatar

lrohenaz

New Zenner

Join Date:
Mar 2006
Posts:
7
Plugin Contributions:
0

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

Just an FYI, I was unable to set permissions below 644 via FTP client. If you have cpanel installed on your server and cannot set permissions lower, try logging on to cpanel and using the file manager utility. On my server I was able to change the permissions to 444 using that utility, but not with my ftp client.

29 Jul 2006, 9:06 PM
#12
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

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

This has been discussed many times on other topics. This is definitely the best way to do it as I also recommend it. The cPanel's file manager feature offers more possibilities, regarding CHMOD permissions, than the FTP itself - still, yet, for an unknown reason. :wink2:

29 Jul 2006, 11:37 PM
#13
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

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

My experience with FTP problems and chmoding of files is that it's usually down to the FTP programme being used - Cute and Smart FTP in particular have problems with chmod. FileZilla and WS FTP don't seem to have these problems.

Vger

30 Jul 2006, 2:02 AM
#14
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

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

The FTP Client software does not make differences regarding CHMOD abilities. It is from the FTP Server software that makes the difference actually. Which is why, cPanel has it's own file-manager interface to make modifications without any problems. :wink2:

Althought, this is windows server section, so cPanel is pointless to mention in this case.

30 Jul 2006, 1:14 PM
#15
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

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

Have to disagree on that one. I've seen far too many cases where simply switching the FTP client from Smart or Cute FTP to either FileZilla or WS FTP has resulted in the person being able to resolve their chmod problems. Most major control panels provide the ability to change file permissions via some kind of File Manager, but this is slow and cumbersome when compared to being able to quickly chmod files/folders via FTP.

Admittedly this only applies to people using Apache servers because the chmod function is Apache specific and does not work on Windows servers. If you use Windoze then you have no choice but to use the File Manager to change permissions.

Vger

30 Jul 2006, 2:22 PM
#16
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

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

Admittedly this only applies to people using Apache servers because the chmod function is Apache specific and does not work on Windows servers.

It was also reported on the forum that even linux users encountered problems switching their CHMOD permissions over FTP comparatively to cPanel. :wink2:

30 Jul 2006, 2:42 PM
#17
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

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

It was also reported on the forum that even linux users encountered problems switching their CHMOD permissions over FTP comparatively to cPanel

Only when they were using certain FTP programmes, as far as i am aware.

Vger

18 Oct 2006, 9:58 PM
#18
cirque_samsara avatar

cirque_samsara

New Zenner

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

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

Just want to thank all.

Was pulling my hair out trying to change the permissions in trusty Filezilla.
Couldn't do it.
Went to the C-Panel and presto, problem solved.

Gracias.

NIk Beeson

Cirque-Samsara.com

22 Oct 2006, 10:28 AM
#19
dogmatic69 avatar

dogmatic69

New Zenner

Join Date:
May 2006
Posts:
40
Plugin Contributions:
0

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

Cirque-Samsara:

Just want to thank all.

Was pulling my hair out trying to change the permissions in trusty Filezilla.
Couldn't do it.
Went to the C-Panel and presto, problem solved.

Gracias.

NIk Beeson

Cirque-Samsara.com

Same here. dont wase your time with ftp just use cpanel and get it done

22 Oct 2006, 12:42 PM
#20
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

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

It's not a problem with FileZilla. Whether or not you are allowed to use FTP to change permissions depends upon how your hosts have set cPanel up.

If you can change permisisons using FTP then do so - it's much quicker.

Vger