I have been running for a long time and recently moved to a different server and upgraded to Magento 1.9 from 1.8. After the usual hickups everything seems to work, except for uploading images to products (and in the WYSIWYG editor).
Flash works and I can use the buttons to select the image, afterwards the uploading bar runs up to 100% and then the error "File was not uploaded." appears.
I have been looking for all possible problems and checked the following:
- Image is not too big (I tried several different images from 1kb to 2mb)
- The error occurs with new products, as well as on existing products with images
- All media folders have chmod 777
- The error exists in all browsers (IE, FF and Chrome)
- Magento is running on a private VPS, with plenty of empty disk space
- The image do not show up in the media/tmp folder nor the media/catalog folder
- Alle images have always been imported through the Magento backend
- I have tried if removing the .htaccess file from media folder helps (it doesn't)
- I tried uploading the image in global view as well in store view
How to solve this problem? Or at least find the reason for its occurrence?