Zen Cart Logo
Forums / General Questions / Warning: I am able to write to the configuration file: /configure.php. help please

Warning: I am able to write to the configuration file: /configure.php. help please

Views: 639

Results 1 to 3 of 3
28 Mar 2013, 8:54 PM
#1
flyspidert avatar

flyspidert

New Zenner

Join Date:
Mar 2013
Posts:
17
Plugin Contributions:
0

Warning: I am able to write to the configuration file: /configure.php. help please

Warning: I am able to write to the configuration file: /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.

I set the file to read only then ftped it back and it's still giving me this message. I dunno where I go in the file manager in my hosting.

28 Mar 2013, 9:11 PM
#2
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,780
Plugin Contributions:
2

Re: Warning: I am able to write to the configuration file: /configure.php. help please

login to your hosting panel or via ftp, drill down through your folders to the configure.php file, right click and change permissions.

28 Mar 2013, 9:53 PM
#3
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,695
Plugin Contributions:
56

Re: Warning: I am able to write to the configuration file: /configure.php. help please

@flyspidert two things:

a) You may be able to change the permissions directly in your FTP client; try right clicking on the file on the right hand (server side) of your FTP client and see if there's a Permissions setting; change to disallow group and other writes.

b) If you change the file's permissions locally in the shell, you still need to refresh the left (local) side of your ftp client to be sure it knows about the new permissions; otherwise these may be cached.

c) Worst comes to worst: in CPanel open File Manager; navigate to your configure.php files and change permissions there.

Hope this helps.