Recently, when i upgraded my wordpress blog to the recent version, I had a problem uploading new media files. I tried to simple upload as well as flash uploader, it keep saying “Error saving media attachment.”  This was a critical issue that needed to be resolved.

After googling for some moments on how to resolve this, I found this link from wordpress support forum and did the following which worked perfectly for me:

  • Log in to wp-admin
  • Settings > Media (in older version this might be Settings > Msc)
  • Under uploading files there is an option “Store uploads in this folder“. Update this value by “wp-content/uploads” (no quotes at all)
  • Save changes

That’s all. Further, do not forget to CHMOD 777 to your wp-content/uploads folder and its contents inside. You can either use ftp or from filemanager of your CPanel.