I ran across another problem tonight with my Magneto installation.  For no good apparent reason my Add to Cart and Image Zoom suddenly stopped working.  I used the Firefox Error Console and this was my full error message:

Error: uncaught exception: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: "JS frame :: http://www.yoursite.com/magento/js/index.php?c=auto&f=,prototype/prototype.js,prototype/validation.js,scriptaculous/builder.js,scriptaculous/effects.js,scriptaculous/dragdrop.js,scriptaculous/controls.js,scriptaculous/slider.js,varien/js.js,varien/form.js,varien/menu.js,mage/translate.js,mage/cookies.js,varien/product.js,calendar/calendar.js,calendar/calendar-setup.js :: anonymous :: line 1528"  data: no]

After a lot of searching….well, I found nothing.  All the answers on the Magneto forum were no use to me at all.  After about 30 minutes of searching though, I did find an answer that works (at least for now).  I had to re-install the Lib_Js_Prototype using the Magnento Connect Manager.

Here is how you do that from the Magneto admin backend:

1) System – Magento Connect – Magento Connect Manager

2) You will be prompted for your admin user name and password

3) Select Lib_Js_Prototype and then choose from the drop down action menu Re-Install.

4) Click on Commit Changes

If everything goes ok, you should see something like this:

This seemed to solve the problem for me….at least for now.  Hopefully this works for you or at least helps you out somehow.

  4 Responses to “Magento Add to Cart and Image Zoom not working”

  1. Awesome thanks, I have the same exact problem after loading the modern theme. Will give this solution a try!

  2. Paul, thanks for this. I’m having the same issue. Unfortunately when I reinstall the confirmation message tells me that magento-core/lib_js_mage and magento-core/mage_core_modules require “Lib_Js_Prototype (version >= 1.3.2, version <= 1.3.3, excluded versions: 1.3.3)", then it downloads version 1.6.0.3.0! I've deleted the existing 1.3.2 and the new 1.6.x from the server and re-uploaded 1.3.2 from a backup but I'm still having the same issues on the product page. Any other ideas?

  3. Just figured it out… I had installed an image viewer on the homepage and was calling the jquery library from head.php for that. When I moved that everything fell back into place. Maybe this will help somebody else with a similar issue.

  4. Thanks guys, and especially David H. I had the same problem and thanks to you, I’ve found out the cause is that I called the jquery library in head.phtml to display a nivo slider on homepage. I disable it and everything comes back to as good as new!

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

   
Get Adobe Flash playerPlugin by wpburn.com wordpress themes
© 2011 Paul Tocknell Suffusion theme by Sayontan Sinha