documents containing shell code
Posted: Tue Jan 11, 2005 10:10 am
Hi all,
Wow, nice CMS!
Some problems remain, though. When I try to insert a document containing shell code like
I get the followinfg error in error_log:
I presume it has something to do with the curly brackets, but I'm not sure how to solve this.
Any suggestions?
Thanks
Peter
Wow, nice CMS!
Some problems remain, though. When I try to insert a document containing shell code like
Code: Select all
awk '$2 ~ /^f$/ {print $NF}'
Code: Select all
PHP Fatal error: Smarty error: [in preview:cmspreviewwZxa7c line 282]: syntax error: invalid attribute name: '$NF' (Smarty_Compiler.class.php, line 1510) in /data/htdocs/cmsmadesimple-0.8.1/lib/smarty/Smarty.class.php on line 1088, referer: http://webserver/cms/admin/editcontent.php
Any suggestions?
Thanks
Peter