Problems with Table and Form plugin on Apache2
| From: | Olaf Klein | Date: | Thu, 24 Oct 2002 12:55:19 +0000 |
| Subject: | Problems with Table and Form plugin on Apache2 | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-6228@lists.php.net to get a copy of this message | ||
Hi Smarty Geeks!
i have some problems with smarty, Apache2 on a FreeBSD 4.6:
i tried to install smarty-table plugin from
http://www.mapledesign.co.uk/coding/smarty_table.php
There is no install instructions so i just copied it
into the plugin directory, named it 'function.tables.php'
But i only get an error message on the simple tag {table loop=$data}:
Fatal error: Smarty plugin error: [in tabletest.html line 3]:
function 'table' is not implemented in /usr/local/lib/php/Smarty-2.3.
0/Smarty.class.php on line 1980
Ok, maybe my fault (or the lack of an installation instruction)
- i thought - and installed another plugin: the Block Repeat from
http://smarty.incutio.com/?page=SmartyPlugins
This worked fine, so i guess i did this and the one above right?!
Next i tryed the smarty form plugin from
http://smartyform.sourceforge.net/ (the
documentation is not
ready but i obeyed the INSTALL file that comes with the package).
But again this causes a similair error when parsing the included example.tpl:
Fatal error: Smarty plugin error: [in formexample.html line 12]:
unknown tag - 'mktime' in /usr/local/lib/php/Smarty-2.3.0/Smarty.
class.php on line 1980
i did not forget to do this in the index.php:
$smarty->load_filter("pre","form");
Maybe you have some useful hints?
(i tried with my playgrounds (see other mail) but also with
default smarty installation - all on Apache2/FreeBSD 4.6.)
TIA
.olaf klein.
______________________________________________________________________________
Die clevere Geldreserve: der DiBa-Privatkredit. Funktioniert wie ein Dispo,
ist aber viel günstiger! Alle Infos: http://diba.web.de/?mc=021104