Monday, 24 October 2011

Product images not uploading

When trying to upload an image for the product the section with the image name gets a red border and an error message appears.
When trying to upload something for the downloadable products same error found.


Here is what I did to fix it:
The problem seems to be caused by the prototype v1.7.
It works great with prototype 1.6
Get the 1.6 version from here http://prototypejs.org/assets/2009/8/31/prototype.js
or get it from older magento version.


Create this file: js/prototype/prototype1.6.js and put the contents from the link above in it.
Now edit app/design/adminhtml/default/default/layout/main.xml and change this line

prototype/prototype.js
with
prototype/prototype1.6.js


I don’t think it’s a problem if you edit this core file.  


I hope this helps someone

3 comments:

  1. its nice blog, i will bookmark your website for future reading purpose. Hire Magento Developer to get complete solution.

    ReplyDelete
  2. it is not working..! :( please help me hamzais797@gmail.com

    ReplyDelete
  3. The blog posted is very interesting from all aspects and it will surely benefit the readers by all means.
    Hire Magento Developers

    ReplyDelete