V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
questionier
V2EX  ›  问与答

wordpress 无法启动 super cache 插件

  •  
  •   questionier · 2016-03-31 09:36:59 +08:00 · 4192 次点击
    这是一个创建于 2974 天前的主题,其中的信息可能已经有所发展或是发生改变。

    警告! Could not update /opt/bitnami/apps/wordpress/htdocs/wp-config.php! WPCACHEHOME must be set in config file.

    警告! /opt/bitnami/apps/wordpress/htdocs/wp-content/advanced-cache.php 不存在或者不可被更新。

    1. If it already exists, please delete the file first.
    2. 将 /opt/bitnami/apps/wordpress/htdocs/wp-content 通过 chmod 或者 ftp 客户端设置为可被写入(chmod 777 /opt/bitnami/apps/wordpress/htdocs/wp-content) 并刷新本页。这只是一个临时的操作,您需要随后恢复该文件之前的只读权限。(将之前括号内的 777 改为 755 ,并执行修改后的命令)
    3. 刷新本页以便更新 /opt/bitnami/apps/wordpress/htdocs/wp-content/advanced-cache.php 如果不能工作,请确保文件 /opt/bitnami/apps/wordpress/htdocs/wp-content/advanced-cache.php 不存在:
    4. 用文本编辑器打开 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wp-super-cache/advanced-cache.php$wp_cache_file 。
    5. 修改从 CACHEHOME 到 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wp-super-cache/ 的文字
    6. 保存并把文件复制到 /opt/bitnami/apps/wordpress/htdocs/wp-content/advanced-cache.php 然后刷新本页。

    wordpress 安装在 aws 的 ubuntu 主机; 在线等,急,,,,,,,,,,,,,,

    3 条回复    2016-03-31 22:07:07 +08:00
    livc
        1
    livc  
       2016-03-31 12:58:10 +08:00 via Android
    WordPress 站长交流群
    中国 WordPress 站长交流平台,欢迎邀请其他站长加入。
    https://telegram.me/WordPress_China
    venster
        2
    venster  
       2016-03-31 21:04:51 +08:00   ❤️ 1
    这不写的很清楚么, wp-config.php 无法读写。 super cache 需要对这个文件写入一个参数。
    questionier
        3
    questionier  
    OP
       2016-03-31 22:07:07 +08:00
    @venster 可是我已经 ssh 修改过权限了啊,还是不行。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5256 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 01:39 · PVG 09:39 · LAX 18:39 · JFK 21:39
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.