Quote:
Originally Posted by MendoDev
what is purpose do the files in /var/templates_c directory serve, and do you know the purpose of the clearing the templates cache option in Summary/Tools?
|
The 'clearing the templates cache' option is meant to do what you manually did (empty the /var/templates_c directory that is)
Ensure the folder permissions for templates_c is set to '777' (Thats if you're hosting on a linux server)
Quote:
Originally Posted by MendoDev
what is purpose do the files in /var/templates_c directory
|
The 'templates_c' directory is a repository for "compiled" templates.
Templates are written using Smarty syntax, which resembles normal HTML to a great extent - however, for those templates to be usable by the system, they must be compiled to PHP code.
When a template is invoked for the first time, it is compiled to PHP code and placed in the templates_c directory for faster access on next invocation.
Regards
Shafiq :sK
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!)
Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x
Multiple Instances of X-Cart
MySQL 5.6.37
CentOS 7.4
Chamber Internet - Lancashire, United Kingdom
http://www.chamberelancs.co.uk