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 More >