• Fresh WordPress Installations (on 2 different FreeBSD servers), when Uploading any file via dashboard then above error appeared.
    “The uploaded file was only partially uploaded.”

    And uploaded file doesn’t appear.

    Tried to add:

    <?php header(“Connection: close”); ?>

    to wp-admin/includes/file.php
    but then gives ‘http error’ when uploading.

    Also tried to set ‘KeepAlive Off’ in apache virtual host, then also gives ‘http error’ at uploading files.

    What to do?

    uname -a gives:

    FreeBSD donald.flissinger.com 10.1-RELEASE-p9 FreeBSD 10.1-RELEASE-p9 #31: Mon Apr 13 23:29:58 CEST 2015 [email protected]:/usr/obj/usr/src/sys/FILESERVER amd64

    php -v gives:
    PHP 5.6.8 (cli) (built: Apr 28 2015 12:18:14)
    Copyright (c) 1997-2015 The PHP Group
    Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
    with Suhosin v0.9.37.1, Copyright (c) 2007-2014, by SektionEins GmbH

    apachectl -v gives:
    Server version: Apache/2.4.12 (FreeBSD)
    Server built: Apr 22 2015 14:58:36

  • The topic ‘The uploaded file was only partially uploaded.’ is closed to new replies.