Difference between revisions of "Wordpress HTTP Error"

From Tech Wiki
Jump to navigation Jump to search
(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...")
 
 
Line 12: Line 12:
 
</pre>
 
</pre>
  
 +
[[Category:Wordpress]]
 
[[Category:Nginx]]
 
[[Category:Nginx]]
 
[[Category:Linux]]
 
[[Category:Linux]]
 
[[Category:Contents]]
 
[[Category:Contents]]

Latest revision as of 17:25, 30 April 2016

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: