-
-
Notifications
You must be signed in to change notification settings - Fork 436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems saving customer address, etc... OpenMage v20.10.2 #4279
Comments
Do you see this file |
There are two zip-files ...
|
@kiatng I found it, this is what I get from it If I extract OM 19.5.3 installation files on top of v20.10.2 it simply works... But then, it gets downgraded to v19.5.3...
Regards |
@sreichel I tried that If I unzip OM v19.5.3 on top of the OMv20.10.2 it works, if I remove everything and install OM v19.5.3 it also works. |
Most likely you don't have all the directories and files. I downloaded the latest version with Git then I ran composer install. In my DDEV test environment installed from scratch I could not reproduce this issue. |
@addison74 I did not install using git, I have uploaded it and unzipped which I normally do. I will try using git and see if the issues goes away. But just so you know that users doing the upload and unzip method are having this issue. |
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Actual result (*)
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
The text was updated successfully, but these errors were encountered: