I cannot edit templates using the built-in template editor, it says permission denied, how can I overcome it ?
To allow the built-in editor to save templates on the disk you need to set the appropriate permissions for the /skin1/ directory and all the files under it. Typically PHP runs from another userid (httpd) and does not have the rights to write the templates. To fix it you must issue a shell command “chmod -R 777 skin1”. Please note that this is a shell command, not FTP. FTP does not have the “-R” switch, which means “recursive”. To do the same thing over FTP you will have to “chmod 777” each file and directory. Please note that after finishing X-Cart customization you should set permissions to 0755 for security reasons.
Related Questions
- I create my custom templates from Microsoft Word (or a similar program), and paste them into the custom template editor. Why do my templates not display correctly?
- I added a custom template in the Group Policy Editor but not all the policy settings appear in the Administrative Templates tree, how can I view these?
- I cannot edit templates using the built-in template editor, it says permission denied, how can I overcome it ?