Re: Newbie question
| From: | Clayton Dukes | Date: | Tue, 13 Mar 2001 16:34:40 +0000 |
| Subject: | Re: Newbie question | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-389@lists.php.net to get a copy of this message | ||
Is there any kind of work around for this?
I may not have the option of upgrading....
----- 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: [smarty] Re: 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 *
>
> ---
> You are currently subscribed to smarty as: cdukes@cdukes.com
> To unsubscribe send a blank email to $subst('Email.Unsub')
> Visit Smarty's homepage at
> http://www.phpinsider.com/php/code/Smarty/