Smarty template error ?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
electroteque
Regular
Posts: 58
Joined: Tue Jan 17, 2006 2:13 am

Smarty template error ?

Post by electroteque »

Has anyone seen this issue before ?

Fatal error: Smarty error: [in file:/www/dev/weblog/templates/default/trackbacks.tpl line 4]: [plugin] (secure mode) modifier 'strip_tags' is not allowed (Smarty_Compiler.class.php, line 1908) in /Volumes/FIREWIRE/www/dev/weblog/bundled-libs/Smarty/libs/Smarty.class.php on line 1088

My template doesnt show when i click throiugh to the blog entry.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Smarty template error ?

Post by garvinhicking »

This can happen when the Smarty directory does not contain the whole and full listing of Smarty plugins, and some files are missing. Then smarty does not recognize "strip_tags" as an internal command, and fails because it thinks it is an external modified that is not allowed in a 'secured' environment.

So please check if all files are properly existing. Compare each and every file and its size with those of an official serendipity release tar/zip file.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply