View Issue Details

IDProjectCategoryView StatusLast Update
0000995OXID eShop (all versions)2. ----- eShop backend (admin) -----public2009-06-11 10:05
Reporterdainius.bigelis Assigned To 
Status resolvedResolutionfixed 
Product Version4.1.2 revision 18998 
Fixed in Version4.1.3 revision 19918 
Summary0000995: Fatal error occurs in admin when php Error Reporting is ON
DescriptionWhen php Error Reporting is switched on (display_errors = On), after loging in admin the fatal error occurs in the main frame:

Fatal error: Smarty error: [in home.tpl line 36]: syntax error: (secure mode) 'XML_ELEMENT_NODE' not allowed in if statement (Smarty_Compiler.class.php, line 1399) in /htdocs/testshops/EE412_snap/core/smarty/Smarty.class.php on line 1092
TagsNo tags attached.
PHP Version5.2.6
Database Version5.0.33



2009-06-11 10:05

reporter   ~0001042

actually main problem is not "display_errors = On" setting in php, but demo mode in shop, which disables many smarty template features. So i added "security_settings" parameter (oxutilsview::_fillCommonSmartyProperties()) to smarty in demo mode