Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I cannot edit templates using the built-in template editor, it says permission denied, how can I overcome it ?

0
10 Posted

I cannot edit templates using the built-in template editor, it says permission denied, how can I overcome it ?

0
10

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123