Re: Newbie question
| From: | Andrei Zmievski | Date: | Tue, 13 Mar 2001 16:10:49 +0000 |
| Subject: | Re: Newbie question | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-387@lists.php.net to get a copy of this message | ||
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 *