Title: Error saving uploaded image in comments
Last modified: August 21, 2016

---

# Error saving uploaded image in comments

 *  [Hannes17](https://wordpress.org/support/users/hannes17/)
 * (@hannes17)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/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?
 * [http://wordpress.org/extend/plugins/deviantart-muro/](http://wordpress.org/extend/plugins/deviantart-muro/)

The topic ‘Error saving uploaded image in comments’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/deviantart-muro.svg)
 * [deviantART muro](https://wordpress.org/plugins/deviantart-muro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/deviantart-muro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/deviantart-muro/)
 * [Active Topics](https://wordpress.org/support/plugin/deviantart-muro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/deviantart-muro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/deviantart-muro/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Hannes17](https://wordpress.org/support/users/hannes17/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/error-saving-uploaded-image-in-comments/)
 * Status: not resolved