New Zenner
- Join Date:
- Oct 2009
- Posts:
- 60
- Plugin Contributions:
- 0
Make files on Server Writebale?
Error Error: I can not write to this file. Please set the right user permissions on: ...define_main_page.php
How can I do this?
Thanks.
Views: 1,320
New Zenner
Error Error: I can not write to this file. Please set the right user permissions on: ...define_main_page.php
How can I do this?
Thanks.
Inactive
via ftp
then set file permissions/ch mod to 777
New Zenner
Should I do that for the whole store directory?
Obaa-san
site:
Should I do that for the whole store directory?
NO!
If fact you should immediately;y return the permissions to un-writable after making your changes or you leave a big security hole in your shop.
New Zenner
Kim:
NO!
If fact you should immediately;y return the permissions to un-writable after making your changes or you leave a big security hole in your shop.
Oh, so I should always change it. Better for me to just edit it from my admin cpanel instead of zencart then. Easier, unless I need to keep some as 777 or 755 for other things.
Totally Zenned
site:
Oh, so I should always change it. Better for me to just edit it from my admin cpanel instead of zencart then. Easier, unless I need to keep some as 777 or 755 for other things.
NEVER edit php files with the editor in cpanel! Either use the facility in Zen Cart or download the file to your local computer, make your changes with a good text editor and then upload the changed file back to your site. In order for that to work, you'll have to change the permission and then change it back for security reasons. 755 will probably do the trick.
php files should be edited with a good text editor like Notepad++ or Crimson Editor which are both available free on the net. Filezilla is a good, free FTP client.
New Zenner
afo:
NEVER edit php files with the editor in cpanel! Either use the facility in Zen Cart or download the file to your local computer, make your changes with a good text editor and then upload the changed file back to your site. In order for that to work, you'll have to change the permission and then change it back for security reasons. 755 will probably do the trick.
php files should be edited with a good text editor like Notepad++ or Crimson Editor which are both available free on the net. Filezilla is a good, free FTP client.
Oh, why is that not a good idea? I have always been doing that. Oops.
Totally Zenned
site:
Oh, why is that not a good idea? I have always been doing that. Oops.
The Cpanel editor can add extra "white space" to php files which can cause all sorts of problems with the website (such as blank screens).
Fields marked required must be completed.
Tell staff why this post should be reviewed.