Wordpress HTTP Error

From Tech Wiki
Revision as of 11:25, 28 April 2016 by Adam.birds (talk | contribs) (Created page with "'''If you are suffering from a HTTP Error when uploading images and media to Wordpress run the following commands:''' <pre> mkdir -p /var/lib/nginx chown -R webuser:webgroup...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

If you are suffering from a HTTP Error when uploading images and media to Wordpress run the following commands:

mkdir -p /var/lib/nginx
chown -R webuser:webgroup /var/lib/nginx

This can be solved from the following similar log entry:

2016/02/17 11:09:22 [crit] 14693#0: *3 open() "/var/lib/nginx/tmp/client_body/0000000001" failed (13: Permission denied), client: 46.37.189.40, server: ryan.phobos.info, request: "POST /wp-admin/async-upload.php HTTP/1.1", host: