cancel
Showing results for 
Search instead for 
Did you mean: 

Undefined class constant 'XML_NODE_ALLOWED_MEDIA_EXT_SWF

SOLVED

Undefined class constant 'XML_NODE_ALLOWED_MEDIA_EXT_SWF

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!

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Undefined class constant 'XML_NODE_ALLOWED_MEDIA_EXT_SWF

Hi @marianocac0be9 

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.

---
Problem Solved Click Accept as Solution!:Magento Community India Forum

View solution in original post

2 REPLIES 2

Re: Undefined class constant 'XML_NODE_ALLOWED_MEDIA_EXT_SWF

Hi @marianocac0be9 

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.

---
Problem Solved Click Accept as Solution!:Magento Community India Forum

Re: Undefined class constant 'XML_NODE_ALLOWED_MEDIA_EXT_SWF

Solved! Thank you very much for your help!!