Error saving uploaded image in comments
-
I have a problem with the deviantart muro plugin.
I enabled the option that the user can draw a picture into his comment.
But once I hit the button “submit”, an error page appears which says “Error saving uploaded image file”.This error only appears when adding drawings into comments. When I add a drawing into the media library, everything works fine.
In the deviantart-muro.php it says:
// Fallback to grabbing raw base64 data from post field. $contents = base64_decode(str_replace(' ', '+', $_POST['comment_deviantart_muro_image'])); $tmp_filename = tempnam(sys_get_temp_dir(), "damuro"); if (file_put_contents($tmp_filename, $contents) === false) { if (defined('DOING_AJAX')) { die(__("Error saving uploaded image file.", "deviantart-muro")); } wp_die(__("Error saving uploaded image file.", "deviantart-muro")); }
Could somebody please help me and tell me what to do to fix this problem?
- The topic ‘Error saving uploaded image in comments’ is closed to new replies.