-
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?
-
Re: Warning: I am able to write to the configuration File
Quote:
Originally Posted by 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 ?
-
Re: Warning: I am able to write to the configuration File
Quote:
Originally Posted by 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
-
Re: Warning: I am able to write to the configuration File
Run the store on Linux? :P
-
Re: Warning: I am able to write to the configuration File
Quote:
Originally Posted by BlindSide
Run the store on Linux? :P
I also run asp.net on that server. I;m trhing to avoid having
2 hostings...
-
Re: Warning: I am able to write to the configuration File
Quote:
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
-
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!
-
Re: Warning: I am able to write to the configuration File
Quote:
Originally Posted by 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.
-
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
Quote:
Originally Posted by 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!
-
Re: Warning: I am able to write to the configuration File
The 444 worked! Thank you so much!
-
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.
-
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:
-
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
-
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.
-
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
-
Re: Warning: I am able to write to the configuration File
Quote:
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:
-
Re: Warning: I am able to write to the configuration File
Quote:
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
-
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
-
Re: Warning: I am able to write to the configuration File
Quote:
Originally Posted by
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
-
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
-
Re: 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.
-
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
-
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.
-
Re: Warning: I am able to write to the configuration File
Quote:
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