View Issue Details

IDProjectCategoryView StatusLast Update
0000963OXID eShop (all versions)4. ------ eShop Core -------public2012-12-10 13:42
Reporterilya Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionwon't fix 
Product Version4.1.2 revision 18998 
Fixed in Version4.1.3 revision 19918 
Summary0000963: How to handle PHP code embedded in Smarty templates
DescriptionMaster Settings -> Core Settings -> System -> Other Settings
How to handle PHP code embedded in Smarty templates

None of the features listed in this drop-down menu seem to work, though the bug has been reported as Resolved and the code has been changed according to the:
https://bugs.oxid-esales.com/view.php?id=760

So, the bug remains.
TagsNo tags attached.
Theme
BrowserAll
PHP Version5.2.6
Database Version5.0.33

Relationships

related to 0000760 resolvedarvydas_vapsva PHP code ist not executed in the templates, but in the backend the option "Execute PHP Code" is set. 

Activities

birute_meilutyte

2009-06-08 11:01

reporter   ~0001021

Reminder sent to: ilya

tested with default OXID eShop 4.1.2 instalation (both PE and EE versions) and option works correctly in there. however, all tmp files must be cleaned after changing this option.

greetings,
Birute M.

dainius.bigelis

2009-06-12 10:38

reporter   ~0001051

Reminder sent to: ilya

Hi Ilya,

Can you confirm, that on eShop version 4.1.2 after clearing /tmp dir and cookies this option works?

Best regards,

dainius.bigelis

2009-06-16 14:24

reporter   ~0001076

Last edited: 2009-06-16 14:26

Finaly reproduced the bug localy.
Need to check it again and fix.

ilya

2009-06-16 15:25

reporter   ~0001080

Hallo, Dainius
I tested it on OXID eSales Demoshop too.
http://demoshop.oxid-esales.com/professional-edition/home/
The same problem even after I cleared TMP directory and deleted cookies in my browser.
I have an idea, that this case may happen because of the UTF-8 mode.
What do you think?

arvydas_vapsva

2009-06-16 17:10

reporter   ~0001085

Last edited: 2009-06-16 17:12

tested with http://demoshop.oxid-esales.com/professional-edition/ and svn version and everything is OK.
There are two cases when this should not work (normal behaviour):
 - shop is demoshop;
 - you use [{php}][{/php}].

Please check smarty manual and $php_handling parameter.

arvydas_vapsva

2009-06-18 08:54

reporter   ~0001090

no bug