Re: [SMARTY] plugin :: date_format not implemented

From: Date: Fri, 04 Feb 2005 15:28:53 +0000
Subject: Re: [SMARTY] plugin :: date_format not implemented
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-12228@lists.php.net to get a copy of this message
On Fri, Feb 04, 2005 at 02:55:49PM +0000, Sam wrote: > Hi All, > > I have just uploaded a site using Smarty onto my production server and I > get this message: > > Fatal error: Smarty error: [in footer.tpl line 14]: [plugin] modifier > 'date_format' is not implemented (core.load_plugins.php, line 118) in .. it seems smarty cannot find the plugins-dir. possible reason: you have a different include_path in php.ini on the prod-server than on the dev-server. maybe "." is missing there. easiest solution: configure an plugins_dir with an absolute path like $smarty->plugins_dir = array(SMARTY_DIR . 'plugins'); > line 14 of the footer.tpl file > created: {$smarty.now|date_format:"%d/%m/%Y %H:%M:%S"} > > All was well on my dev server > > The production server is > > PHP Version 4.3.8 / Apache 1.3 / Linux i686 > > any ideas or solutions or clues > > thanks in advance Sam > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 03/02/2005 > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.smarty.general (#12228) next »