• 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,

Viewing 9 replies - 16 through 24 (of 24 total)
  • I have the same exact problem. Driving me nuts! Spent over 4 hours on phone with GoDaddy. No one I spoke to seems to know anything about this issue. They say it’s a problem with a virus or with WordPress.

    Question: Would switching to GoDaddy cPanel make any difference? Still Linux. Still shared.

    Would switching to anything help?

    Would screaming at GoDaddy to fix this make any difference? ??

    I am having a similar problem trying to upload a PDF file. I would like to upload as a PDF because it is a printable. I have uploaded PDFs in the past with no problem. I have several of them in my media library and one currently on my website. But I can’t get a new one to upload. It seems to upload 100% but then I receive an HTTP error message. I’ve never had this problem before. I’m not hosted with Go Daddy, either. I’m not sure what to do and I am not tech savvy. Can anyone help? The site is hometownprayer.org.
    Thanks,
    Janet

    My problem was solved. It turned out I had an apostrophe in the title of the PDF and the upload was rejecting that. After removing the apostrophe, the upload worked find. Thanks! Janet

    @lindaschneider Are you cutting and pasting the Word file as I suggested in the post above yours? The import media button is not for Word files. If is another problem please start your own topic.

    Well, it took all day, but I can now upload docx files. @samimhakim87 gave me the idea. I called GoDaddy and thankfully I got Phil, a customer service guy who really knows his stuff.

    I told him about the notion of a security update and he zeroed right in on it.

    First he said I was running an old version of php (php5.3) and should be running php5.6.

    Then he said it’s possible that the latest security update was causing a snag with the docx files.

    But rather than fixing each of these problems separately, at Phil’s suggestion I opted to update my hosting account from the old Linux to the new cPanel. That change also updated the php. Phil held my hand every step of the way.

    Everything works perfectly now.

    I can’t say if the php update alone would have been sufficient, without the new hosting account. But if you’re having the docx upload problem, you could try updating your php first. If that doesn’t work, then it may really be a security update issue, and you may have to change hosting accounts.

    This is for GoDaddy only.

    ——————-

    By the way, I did figure out how to upload docx files manually:

    Create a new directory (call it something like MyDocs) in the root folder to hold your documents. Upload them to that directory, and whenever you post a link, change is file name.

    Use your ftp client to place your files in the “mydocs” folder.

    Your download links will look like this:

    https://www.yoursite.com/mydocs/filename.extension&#8221;

    Did you ever have a solve for this issue? I too can no longer upload .doc or .docx files, but I have previously uploaded hundreds of .doc and .docx files to my WordPress site…

    Thread Starter samimhakim87

    (@samimhakim87)

    I am currently using FTP client to upload .docx files. If you are on GoDaddy, the solution provided by @lindaschneider should help you.

    hitesh789

    (@hitesh789)

    Hi, i’m using a application form in my sites in which upload option is there.And i’m facing the same problem with doc file.

    Please help!

    Same issue. Using a form and file upload and it won’t upload .docx files and .doc files are fine. I have two GD sites with this same issue.

Viewing 9 replies - 16 through 24 (of 24 total)
  • The topic ‘HTTP error on uploading only .docx files’ is closed to new replies.