magento-lts
magento-lts copied to clipboard
Problems saving customer address, etc... OpenMage v20.10.2
Preconditions (*)
- OpenMage v20.10.2
- Cpanel / PHP 7.4
Steps to reproduce (*)
- Download the ziped files
- Upload it to the hosting, unzip it and install
Expected result (*)
- Be able to create an account and add up address, etc...
- Finish the checkout and place the order correctly
Actual result (*)
- Im able to place the order, but it does not finish correctly because it does not save the customer address
- This is the related to OM v20.10.2, because if I do the same with OM v19.5.3 it works just fine.
This is the exeption error I get: 2024-10-15T18:13:16+00:00 ERR (3): Error: Class 'HTMLPurifier_Config' not found in app/code/core/Mage/Core/Helper/Purifier.php:35 Stack trace: #0 app/Mage.php(626): Mage_Core_Helper_Purifier->__construct() #1 app/code/core/Mage/Core/Model/Input/Filter/MaliciousCode.php(66): Mage::helper('core/purifier') #2 app/code/core/Mage/Customer/Block/Address/Renderer/Default.php(149): Mage_Core_Model_Input_Filter_MaliciousCode->filter('{{depend prefix...') #3 app/code/core/Mage/Customer/Block/Address/Renderer/Default.php(67): Mage_Customer_Block_Address_Renderer_Default->_prepareAddressTemplateData('{{depend prefix...') #4 app/code/core/Mage/Customer/Block/Address/Renderer/Default.php(132): Mage_Customer_Block_Address_Renderer_Default->getFormat(Object(Mage_Sales_Model_Quote_Address)) #5 app/code/core/Mage/Customer/Model/Address/Abstract.php(397): Mage_Customer_Block_Address_Renderer_Default->render(Object(Mage_Sales_Model_Quote_Address)) #6 app/design/frontend/base/default/template/checkout/onepage/progress/shipping.phtml(25): Mage_Customer_Model_Address_Abstract->format('html') #7 app/code/core/Mage/Core/Block/Template.php(274): include('/home/ultraele/...') #8 app/code/core/Mage/Core/Block/Template.php(311): Mage_Core_Block_Template->fetchView('frontend/base/d...') #9 app/code/core/Mage/Core/Block/Template.php(324): Mage_Core_Block_Template->renderView() #10 app/code/core/Mage/Core/Block/Abstract.php(926): Mage_Core_Block_Template->_toHtml() #11 app/code/core/Mage/Core/Model/Layout.php(573): Mage_Core_Block_Abstract->toHtml() #12 app/code/core/Mage/Checkout/controllers/OnepageController.php(232): Mage_Core_Model_Layout->getOutput() #13 app/code/core/Mage/Core/Controller/Varien/Action.php(424): Mage_Checkout_OnepageController->progressAction() #14 app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(255): Mage_Core_Controller_Varien_Action->dispatch('progress') #15 app/code/core/Mage/Core/Controller/Varien/Front.php(181): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http)) #16 app/code/core/Mage/Core/Model/App.php(358): Mage_Core_Controller_Varien_Front->dispatch() #17 app/Mage.php(761): Mage_Core_Model_App->run(Array) #18 index.php(56): Mage::run('', 'store') #19 {main} 2024-10-15T18:13:17+00:00 ERR (3): Error: Class 'HTMLPurifier_Config' not found in app/code/core/Mage/Core/Helper/Purifier.php:35 Stack trace: #0 app/Mage.php(626): Mage_Core_Helper_Purifier->__construct() #1 app/code/core/Mage/Core/Model/Input/Filter/MaliciousCode.php(66): Mage::helper('core/purifier') #2 app/code/core/Mage/Customer/Block/Address/Renderer/Default.php(149): Mage_Core_Model_Input_Filter_MaliciousCode->filter('{{depend prefix...') #3 app/code/core/Mage/Customer/Block/Address/Renderer/Default.php(67): Mage_Customer_Block_Address_Renderer_Default->_prepareAddressTemplateData('{{depend prefix...') #4 app/code/core/Mage/Customer/Block/Address/Renderer/Default.php(132): Mage_Customer_Block_Address_Renderer_Default->getFormat(Object(Mage_Sales_Model_Quote_Address)) #5 app/code/core/Mage/Customer/Model/Address/Abstract.php(397): Mage_Customer_Block_Address_Renderer_Default->render(Object(Mage_Sales_Model_Quote_Address)) #6 app/design/frontend/base/default/template/checkout/onepage/progress/billing.phtml(23): Mage_Customer_Model_Address_Abstract->format('html') #7 app/code/core/Mage/Core/Block/Template.php(274): include('/home/ultraele/...') #8 app/code/core/Mage/Core/Block/Template.php(311): Mage_Core_Block_Template->fetchView('frontend/base/d...') #9 app/code/core/Mage/Core/Block/Template.php(324): Mage_Core_Block_Template->renderView() #10 app/code/core/Mage/Core/Block/Abstract.php(926): Mage_Core_Block_Template->_toHtml() #11 app/code/core/Mage/Core/Model/Layout.php(573): Mage_Core_Block_Abstract->toHtml() #12 app/code/core/Mage/Checkout/controllers/OnepageController.php(232): Mage_Core_Model_Layout->getOutput() #13 app/code/core/Mage/Core/Controller/Varien/Action.php(424): Mage_Checkout_OnepageController->progressAction() #14 app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(255): Mage_Core_Controller_Varien_Action->dispatch('progress') #15 app/code/core/Mage/Core/Controller/Varien/Front.php(181): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http)) #16 app/code/core/Mage/Core/Model/App.php(358): Mage_Core_Controller_Varien_Front->dispatch() #17 app/Mage.php(761): Mage_Core_Model_App->run(Array) #18 index.php(56): Mage::run('', 'store') #19 {main}"
I have check it out with ChatGPT to see if I would get any reply to solve the issue but I was told it is related wtih "HTMLPurifier"
This is what it said: Error: Class 'HTMLPurifier_Config' not found
The error message indicates that the HTMLPurifier_Config class is not found in the Mage_Core_Helper_Purifier class. This is causing an issue with the customer address rendering in the checkout process.
I have tried to install it but it did not work