Support » Fixing WordPress » The uploaded file was only partially uploaded

  • I precise that in french, this issue is :
    Le fichier n’a été que partiellement envoyé

    Lots of people have this error when uploading files through the media upload tool of WP.

    To resolve the problem, some people tell to put on 777 the upload folder, but it’s not good, of course.

    After DAYS looking for a proper solution, I’ve found a solution:

    Add

    <?php header("Connection: close"); ?>

    at the top of the

    wp-admin/includes/file.php

    This overwrite the Apache setting on this file (so on the upload functionnality only), to have non persistent connection, because that’s what cause the issue…

    Tell me if it solve your problem !
    Thanks !

    PS: I wrote this article in French on my blog: http://www.e-societe.com/resolution-de-lerreur-wordpress-le-fichier-na-ete-que-partiellement-envoye/

Viewing 1 replies (of 1 total)
  • Hello je suis confronté au même problème, ça m’embete un peu de modifier le fichier file.php car à chaque mise à jour de WP on doit penser à le modifier à nouveau.

    Ya pas un moyen de régler ça via ht access ? ou le fichier function du thème ?

    merci pour ton aide

Viewing 1 replies (of 1 total)
  • The topic ‘The uploaded file was only partially uploaded’ is closed to new replies.