Help! "modifier 'replace' is not implemented"??
| From: | Amy Hoy | Date: | Tue, 03 Sep 2002 18:44:24 +0000 |
| Subject: | Help! "modifier 'replace' is not implemented"?? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-5919@lists.php.net to get a copy of this message | ||
I recently transitioned from a FreeBSD server to a Mac running OS X 10.2 and
I'm having a very, very strange error:
Fatal error: Smarty plugin error: [in index2.tpl line 29]: modifier
'replace' is not implemented in /System/Library/PHP/Smarty.class.php on line
1980
Code in question is: {$tabledata[entries].synopsis|replace:"\n":"<BR>"}
It works great if I remove all the incidents of |replace. If I remove only
one or a couple, the remaining ones give errors still.
I've got the same version of Smarty as the previous box (2.3.0) and
everything else is likewise the same. And if I remove the replaces, it works
just fine.
I'm going nuts... Can anyone help me?
Amy