HTTP error on uploading only .docx files
-
I get a HTTP error when uploading a new file with .docx extension, it doesn’t happen with any other file formats. And after I get the error, the website goes down for some minutes (see screenshot here >> https://imgur.com/a/xP7Gq).
I am on a shared hosting with GoDaddy. So far, I tried all these with no luck:
* Deactivated all the plugins and uploaded a .docx file, same result
* Increased PHP memory through php.ini and asked GoDaddy to increase it, currently I am allowed 32MB.
* I modified .htaccess, I tried these:
1 – <IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
2 – # Exclude the file upload and WP CRON scripts from authentication
<FilesMatch “(async-upload\.php|wp-cron\.php|xmlrpc\.php)$”>
Satisfy Any
Order allow,deny
Allow from all
Deny from none
</FilesMatch>
3 – AddType x-mapp-php5 .php (it give a 500 internal error)
I really don’t know what these do with .htacess, but I found it on internet.
* I changed folder permissions to 755 and even to 777
* and I did a lot of other stuff which didn’t work.I would appreciate your help.
My WordPress site is installed inside a folder, and I have a subdomain pointing to that.Thanks,
- The topic ‘HTTP error on uploading only .docx files’ is closed to new replies.