Utime failed: Permission denied in Smarty/sysplugins/smarty_internal_template.php on line xxx

Just change the source code followings

if ($saved_timestamp = $this->getCompiledTimestamp()) {

to the below

$saved_timestamp = $this->getCompiledTimestamp(); 

if (saved_timestamp) {  

there is an useful article for this issue on smarty forum

http://www.smarty.net/forums/viewtopic.php?p=69488

原文地址:https://www.cnblogs.com/wildboar/p/2125577.html