php - WordPress image editor broken when using S3 Offload Lite plugin -
i'm using wp offload s3 lite plugin on wordpress site. uploading , creating thumbnails seems work fine, when try edit image using wp's built-in image editor, displays broken image:
how can fix error?
my nginx error log shows:
2016/11/05 16:10:44 [error] 6767#0: *164466 fastcgi sent in stderr: "php message: wpos3: there error attempting download file store/2016/11/forests-why-matter_63516847.jpg s3: local directory /home/avishai/apps/myapp/releases/20161105032906/public/wp-content/uploads/2016/11 not exist , not created. php message: wpos3: file /home/avishai/apps/myapp/releases/20161105032906/public/wp-content/uploads/2016/11/forests-why-matter_63516847.jpg not exist" while reading response header 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"
my server has directories chown
ed nginx user, , writeable.
you might missing required image editing libraries on host system. if running php7, try adding following:
sudo apt-get update sudo apt-get install php7.0-gd sudo service apache2 restart
Comments
Post a Comment