:(

缓存文件写入失败!:./Applications/Runtime/Cache/Index/70ab3982caa73a028efe0a454b82c0c6.php

错误位置

D:\wwwroot\zhenai\wwwroot\Appwork\Lib\Template\ThinkTemplate.class.php  LINE: 123

111                 $layoutFile  =  THEME_PATH.C('LAYOUT_NAME').$this->config['template_suffix'];
112                 $tmplContent = str_replace($this->config['layout_item'],$tmplContent,file_get_contents($layoutFile));
113             }
114         }
115         // 编译模板内容
116         $tmplContent =  $this->compiler($tmplContent);
117         // 检测模板目录
118         $dir         =  dirname($tmplCacheFile);
119         if(!is_dir($dir))
120             mkdir($dir,0755,true);
121         //重写Cache文件
122         if( false === file_put_contents($tmplCacheFile,trim($tmplContent)))
123             throw_exception(L('_CACHE_WRITE_ERROR_').':'.$tmplCacheFile);
124         return $tmplCacheFile;
125     }
126 
127     /**
128      * 编译模板文件内容
129      * @access protected
130      * @param mixed $tmplContent 模板内容
131      * @return string
132      */
133     protected function compiler($tmplContent) {
134         //模板解析
135         $tmplContent =  $this->parse($tmplContent);