questionier
V2EX  ›  问与答

wordpress 无法启动 super cache 插件

  •  
  •   questionier · Mar 31, 2016 · 4860 views
    This topic created in 3695 days ago, the information mentioned may be changed or developed.

    警告! 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 replies    2016-03-31 22:07:07 +08:00
    livc
        1
    livc  
       Mar 31, 2016 via Android
    WordPress 站长交流群
    中国 WordPress 站长交流平台,欢迎邀请其他站长加入。
    https://telegram.me/WordPress_China
    venster
        2
    venster  
       Mar 31, 2016   ❤️ 1
    这不写的很清楚么, wp-config.php 无法读写。 super cache 需要对这个文件写入一个参数。
    questionier
        3
    questionier  
    OP
       Mar 31, 2016
    @venster 可是我已经 ssh 修改过权限了啊,还是不行。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3265 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 13:33 · PVG 21:33 · LAX 06:33 · JFK 09:33
    ♥ Do have faith in what you're doing.