Hola, como estan? Escribo este post para solicitar ayuda con el siguiente error luego de instalar parches de seguridad.
Cuando intento editar Bloques me aparece el siguiente error:
Fatal error: Undefined class constant 'XML_NODE_ALLOWED_MEDIA_EXT_SWF' in /home/skinfact/public_html/app/code/core/Mage/Cms/Helper/Data.php on line 70
Desde ya muchas gracias a quien me pueda ayudar!
Solved! Go to Solution.
If I am not wrong you have applied SUPEE-11155 patch on your site.
Check in your Magento Code, if you have app\code\core\Mage\Cms\Helper\Data.php file (Mage_Cms_Helper_Data class) overridden in local or community code pool.
You do not have following code line
const XML_NODE_ALLOWED_MEDIA_EXT_SWF = 'adminhtml/cms/browser/extensions/media_allowed/swf';
after
const XML_NODE_ALLOWED_STREAM_WRAPPERS = 'global/cms/allowed_stream_wrappers';
code line.
After adding the mentioned code line you will not get an error.
If I am not wrong you have applied SUPEE-11155 patch on your site.
Check in your Magento Code, if you have app\code\core\Mage\Cms\Helper\Data.php file (Mage_Cms_Helper_Data class) overridden in local or community code pool.
You do not have following code line
const XML_NODE_ALLOWED_MEDIA_EXT_SWF = 'adminhtml/cms/browser/extensions/media_allowed/swf';
after
const XML_NODE_ALLOWED_STREAM_WRAPPERS = 'global/cms/allowed_stream_wrappers';
code line.
After adding the mentioned code line you will not get an error.
Solved! Thank you very much for your help!!