wordpress 3.5安装不了新主题

Did you get this error: “Download failed. Destination directory for file streaming does not exist or is not writable.” after upgrading to WordPress 3.5? The error usually occurs when trying to install or update a plugin or theme. Here is a simple fix to the problem.

  • First you will need to gain access to your wordpress files. This will usually mean getting FTP access to your website directory.
  • Once you have obtained access to your WordPress directory, open up the wp-config.php file.
  • Add this line of text to the end of the file:
    define(‘WP_TEMP_DIR’, ABSPATH . ‘wp-content/’);
  • Save your wp-config.php file and you should no longer have problems updating/installing plugins or themes

This will fix a PHP problem that fails to write to a temporary folder and will use your wp-content folder as the temporary location when doing updates to plugins or themes.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值