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/
- The topic ‘The uploaded file was only partially uploaded’ is closed to new replies.