Image upload : Failed to write file to disk
-
Hello,
when I try to add image to an article, I’ve an error :
Failed to write file to disk
I’ve found in wp-admin/includes/file.php :
$upload_error_strings = array( false, __( "The uploaded file exceeds the <code>upload_max_filesize</code> directive in <code>php.ini</code>." ), __( "The uploaded file exceeds the <em>MAX_FILE_SIZE</em> directive that was specified in the HTML form." ), __( "The uploaded file was only partially uploaded." ), __( "No file was uploaded." ), __( "Missing a temporary folder." ), __( "Failed to write file to disk." ));
but I don’t understand why this error appears.
All directory “wp-content/upload” and subdirectory/files are chmod 777 and owner is good.
php function restriction ? any idea ?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Image upload : Failed to write file to disk’ is closed to new replies.