duanliang2017 2017-04-12 11:56
浏览 66
已采纳

尝试更新WordPress插件时出错

Our web server hard disk went full overnight and all our sites crashed. We increased hard disk size and then sites were working okay.

Now we found out that we are unable to update plugins automatically from the plugins.php page. We are getting the following error:

Update Failed: The package could not be installed. PCLZIP_ERR_MISSING_FILE (-4) : Missing archive file '/tmp/woocommerce-customer-order-xml-export-suite-Wa6DIQ.tmp'

See also screenshot: http://imgur.com/a/9969E

What do we need to do to rectify this?

  • 写回答

2条回答 默认 最新

  • douxiangdiao6348 2017-04-12 12:09
    关注

    Once this happened to me but with a Windows Server. And I solved doing the following.

    1. I created a folder in wp-content named temp
    2. Then I edit the wp-config and below the following line
    if ( !defined('ABSPATH') )
    define('ABSPATH', dirname(__FILE__) . '/');
    1. I paste this line:
    define('WP_TEMP_DIR', ABSPATH . 'wp-content/tmp');

    And since that moment I stop using Windows as Servers LOL.. And moved to Linux

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 linux驱动,linux应用,多线程
  • ¥20 我要一个分身加定位两个功能的安卓app
  • ¥15 基于FOC驱动器,如何实现卡丁车下坡无阻力的遛坡的效果
  • ¥15 IAR程序莫名变量多重定义
  • ¥15 (标签-UDP|关键词-client)
  • ¥15 关于库卡officelite无法与虚拟机通讯的问题
  • ¥15 目标检测项目无法读取视频
  • ¥15 GEO datasets中基因芯片数据仅仅提供了normalized signal如何进行差异分析
  • ¥100 求采集电商背景音乐的方法
  • ¥15 数学建模竞赛求指导帮助