user-pic

NoTempFiles 静态缓存

Vote 0 Votes

如果movabletype 在重建生成页面的时候出现下面错误提示:

Renaming tempfile '/home/index.html.new' failed: Renaming '/home/index.html.new' to '/home/index.html' failed: Permission denied
中文:
临时文件 H:\web\zhongjia\web\bblog\mtblog\_parts\index.html.new 改名时失败: H:\web\mtblog\_parts\index.html.new 改名为 H:\web\mtblog\_parts\index.html 时失败: Permission denied

那一般是因为后台权限没给足(你重建博客,生成静态文件的时候,如果有人访问该生成页面也有可能出现这个错误提示),你需要将目录改为777。如果无法修改目录权限,可以进入mt-config.cgi添加
NoTempFiles 1

这样系统就不会生成.new 后缀的缓存文件,也就不用将index.html.new 命名为index.html。

Add a Reply

Forum Groups

Blogcs 基于MT平台的BSP

MovableType 中文化

1 0

Last Topic: Movable Type 中文化 - 平生一笑 by bb on 2008年10月11日

1 0

Last Topic: Zhu8's Weblog:猪八的网:浮生志 by Zhu8 on 2008年10月16日

MovableType 问题咨询

Be the first to post a topic in this forum

MovableType 使用

16 11

Last Topic: Image::Magick 模块的安装 by bb on 2008年11月 9日

30 35

Last Topic: MT-Twitter:将MT文章同步到Twitter by bb on 2008年3月 9日

22 1

Last Topic: 修改MT的作者归档路径 by bb on 2008年10月25日

MovableType 模板

Be the first to post a topic in this forum

22 17

Last Topic: MovableType评论格式化 replies-to-replies by bb on 2008年10月15日

MovableType 延伸

14 17

Last Topic: 从Wordpress转移到Movabletype by bb on 2007年5月12日

2 2

Last Topic: 最新版MovableType 4.22 已经发布 by bb on 2008年11月19日