Just another WordPress weblog
Magento Add to Cart and Image Zoom not working
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.
| Print article | This entry was posted by Paul on December 30, 2009 at 9:43 pm, and is filed under Magento. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |




about 7 months ago
Awesome thanks, I have the same exact problem after loading the modern theme. Will give this solution a try!
about 6 months ago
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?
about 6 months ago
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.