Magento “Cannot add the item to shopping cart.” For no apparent reason -
I have a slightly weird problem that I need your help.
I have three independent Magento installations on my server, two of which are under an SSL certificate: https: //apps.domain.com/store1 & amp; Https: //apps.domain.com/store2. These two stores are custom themes. Third installation is a fresh installation on the root of the domain without an SSL certificate: http: // www.domain.com/store3
What happens, all of a sudden, all three stores Due to being able to add items to the cart and give me this error, "The item can not be added to the shopping cart." And then either an hour or two hours later, adding the cart button starts working again. The strange thing is that I do not change anything to stop working or stop working, and do all these work or stop working together.
Please advise!
Update :
Actually I found this exception in the log:
2014-07-27 T21: 09: 35 + 00: 00 Debug (7): Exception Message: Notice: Undefined Offset: 2 /home/---/store2/lib/Zend/Locale/Format.php Line 577 Trace: # 0 / Home / --- / store2 / lib / jend / locale /Format.php (577): mageCoreErrorHandler (8, 'Undefined obsolete ...', '/ home / vemijp / p ...', 577, array) 1 / home / --- / store2 / lib / zend / locale / Format.php (513): Zend_Locale_Format :: _ getRegexForType ('decimalnumber', array) 2 / home / --- / store2 / lib / Zend / Filter /LocalizedToNormalized.php (100): Zend_Locale_Format :: ISNUMBER ('3', Array) 3 /home/---/store2/app/code/core/Mage/Checkout/controllers/CartController.php(187): Z End_filter_localizedToNormalized- & gt; Filter ('3') 4 / home / --- /store2/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Checkout_CartCont Roller-> Addition () 5 /home/---/store2/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action- & gt; Send ('Add') 6 /home/---/store2/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard- & gt; Match (Object (Mage_Core_Controller_Request_Http) 7 / home / --- / Store2 / app / code / core / mage / core / model / app.php (354): Mage_Core_Controller_Varien_Front- & gt; Sending (8) /home/---store2/app/Mage.php(683): Mage_Core_Model_App-> And; Run (Array) 9 / Home / --- / Store2 / Index.FP (117): Dana :: Run ('', 'Store') 10 {Main} 2014-07-27 T 21: 09: 35 + 00: 00 ERR (3): Exception 'Exception with message' notice: Undefined Offset: 2 /home/---/store2/lib/Zend/Locale/Format.php On Line 577 '/ home / --- / Store2 / app / code / core / mage / core / functions.php: 245 stack trace: 0 /home/---/store2/lib/Zend/Locale/Format.php(577): mageCoreErrorHandler (8, 'Undefined Offset ...', '/ home / vemij / p ...', 577, array) 1 / home / --- / store2 / lib / zend / locale / form t.php (513): Zend_Locale_Format: : _ GetRegexForType ('decimalnumber', array) 2 /home/---/store2/lib/Zend/Filter/LocalizedToNormalized.php(100): Zend_Locale_Format :: ISNUMBER ('3', Ray) 3 /home/---/store2/app/code/core/Mage/Checkout/controllers/CartController.php(187): Jhend_filtr_loklaijd Tuanormlaijd- & gt; Filter ('3') 4 / home / --- / store2 /app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Checkout_CartController-> addAction () 5 / home / --- / Store2 / app / code / core / pimple / core / controller / varien / router/Standard.php (250): Mage_Core_Controller_Varien_Action- & gt; Send ('Add') 6 / home / --- / store2 / app / code / core / mage / core / controller / Miscellaneous / front.php (172): Mage_Core_Controller_Varien_Router_Standard- & gt; Match (Object (Mage_Core_Controller_Request_Http)) 7 /home/---/store2/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front- & gt; Send () 8 /home/---/store2/app/Mage.php(683): Mage_Core_Model_App-> Run (Array) 9 / Home /---store2/index.php (117): Dana :: Run ('', 'Store') 10 {Main}
The good thing is that it is working anyway. You have not provided much information here and it is difficult to guess what it could be. Check Magento and server logs, you will probably find your answer.
Comments
Post a Comment