Re: Newbie question
| From: | Clayton Dukes | Date: | Tue, 13 Mar 2001 16:13:19 +0000 |
| Subject: | Re: Newbie question | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-388@lists.php.net to get a copy of this message | ||
Thanks,
My apologies for not looking at the FAQ, I looked everywhere but there.
-Clayton
----- Original Message -----
From: "Andrei Zmievski" <andrei@ispi.net>
To: "Clayton Dukes" <cdukes@cdukes.com>
Cc: "Smarty" <smarty@lists.ispi.net>
Sent: Tuesday, March 13, 2001 11:10 AM
Subject: Re: [smarty] Newbie question
> On Tue, 13 Mar 2001, Clayton Dukes wrote:
> > Hi,
> > I just tried to install the templates and followed the instructions
verbatim, but I get the following error when trying to the the header and
footer example in the QUICKSTART guide:
> >
> > Fatal error: Call to undefined function: get_defined_vars() in
/home/www/web/h/templates_c/index.tpl.php on line 9
> >
>
> The FAQ says:
>
> Q: I get this error when passing variables to {include}:
> Fatal error: Call to undefined function: get_defined_vars() in
> /path/to/Smarty/templates_c/index.tpl.php on line 8
> A: get_defined_vars() was added to PHP 4.0.4. If you plan on passing
> variables to included templates, you will need PHP 4.0.4 or later.
>
> -Andrei
> * "UNIX, isn't that some archaic form of DOS?" - our job applicant *