2016-11-05 4 views
1

私はWordpressサイトでWP Offload S3 Liteプラグインを使用しています。アップロードとサムネイルの作成が正常に動作するようですが、私はWPの組み込みの画像エディタを使用して画像を編集しようとすると、それが壊れた画像が表示されます。S3 Offload Liteプラグインを使用しているときにWordPressイメージエディタが壊れています

enter image description here

は、どのように私はこのエラーを修正することができますか?

私のnginxのエラーログを示しています

2016/11/05 16:10:44 [error] 6767#0: *164466 FastCGI sent in stderr: "PHP message: WPOS3: There was an error attempting to download the file store/2016/11/forests-why-matter_63516847.jpg from S3: The local directory /home/avishai/apps/myapp/releases/20161105032906/public/wp-content/uploads/2016/11 does not exist and could not be created. PHP message: WPOS3: File /home/avishai/apps/myapp/releases/20161105032906/public/wp-content/uploads/2016/11/forests-why-matter_63516847.jpg does not exist" while reading response header from upstream, client: 108.162.219.242, server: example.com, request: "POST /wp-admin/admin-ajax.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "example.com", referrer: "http://example.com/wp-admin/tools.php?page=regenerate-thumbnails&goback=1&ids=14309&_wpnonce=fd0b4e4dab"

私のサーバーは、nginxのユーザによって編そのディレクトリchownがあり、書き込み可能です。

+1

問題を解決しましたか? – Max

答えて

0

ご使用のホストシステムに必要な画像編集ライブラリがない可能性があります。 PHP7を使用している場合は、以下を追加してみてください:

sudo apt-get update 
sudo apt-get install php7.0-gd 
sudo service apache2 restart 
関連する問題