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 21 to 24 of 24
This thread is locked. New replies are disabled.
27 Oct 2006, 3:01 PM
#21
araunah avatar

araunah

New Zenner

Join Date:
Dec 2004
Location:
The Internet
Posts:
76
Plugin Contributions:
0

Warning: I am able to write to the configuration File

I got the same warning on a windows 2003 server.

Here is the problem I got with the solution I found.

I had a zencart site working fine without any problems until I needed to host a wordpress blog. For me to be able to use clean URL with wordpress on IIS, I needed to change the php.ini configuration, I needed to add this line: cgi.fix_pathinfo = 1.

When I did that, the Warning: "I am able to write to the configuration file" showed up in the zencart site. After checking the permission for the file, the file was not writable but the warning was saying the contrary.

If you encounter this problem, it might be because of this setting in your php.ini file. The solution I found is to put a custom php.ini file in the root of the zencart site with a";" before the line cgi.fix_pathinfo = 1 to make sure that it does not apply to zencart.

Everything works fine since.

By the way, I noticed that a lot of people on the zencart forum always bash IIS users. I have been hosting a few zencarts for a while now with IIS and it works like a charm. IIS rules.

Hope it helps someone.

27 Oct 2006, 5:43 PM
#22
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

Just for the record - I don't bash IIS users - I think they are extremely brave and persistent people. They have to be brave to risk the constant hacking of IIS servers, and they have to be extremely persistent to get any dynamic PHP based programmes to work on them :D

Vger

27 Oct 2006, 10:06 PM
#23
araunah avatar

araunah

New Zenner

Join Date:
Dec 2004
Location:
The Internet
Posts:
76
Plugin Contributions:
0

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

Vger, I was not especially talking about you on this thread but searching for this problem on the forum, I just found a few hot thread between windows and linux user.

As an exemple, you always have a guy on the forum who is asking for a question, he is of course telling that he runs zencart on windows and he most of the time get the following answer: run zencart on linux with apache.

First it's not helping anybody, second it's waisting everybody's time to read that and third, people who are running IIs are running IIS and might not be willing to change and might not have the choice. Talking for myself, I have the choice and I choose IIS. Period.

Just by reading the forum, it seems anyway that people running zencart on linux have their share of configuration problems too.

concerning apache, just google for apache vulnerabilities, you will get almost as many articles about that than for IIS. If apache was so secure, no security patches would be never released and it's not the case.

A little bit of objectivity and good will would be welcome, that's all.

27 Oct 2006, 11:37 PM
#24
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

A little bit of objectivity and good will would be welcome, that's all.

Where I can help Windows IIS users I do so (that's the goodwill part) - but don't expect me to stop having a dig at the IIS system (that's the objective part). I've used both Windows and Linux servers, and came to the opinion I hold now after suffering the vagiaries of IIS.

Lighten up - life's too short!

Vger