Share » Forums » Setup & design » Error in log-file. Where does it come...

Error in log-file. Where does it come from?

Error in log-file. Where does it come from?

Monday 09 March 2009 3:03:34 pm - 2 replies

Author Message

Jean-Yves Zinsou

Tuesday 10 March 2009 1:43:37 am

Hi there,

seems like log with template coding origin.

As if $show variable was declared but not set, and you was trying to get the 'enable_comments' key of an empty array.
As if

{def $show=""}
{def $show =hash('enable comment', yes, 'other thing', 'no')}
enable comment : {show['enable comment']}

was turned into


enable comment : {show['enable comment']}

Try to check out which template is used when having this error and/or make a grep on your templates directory to see where $show is used

Hope this helps,

Jey

Do Androids Dream of Electric Sheep?
I dream of eZpubliSheep....
------------------------------------------------------------------------
http://www.alma.fr

Maarten Daniels

Tuesday 10 March 2009 3:36:02 am

Hi Jey,

Thanks! I've found the error in my template.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu