RE: [SMARTY] {include} problem?
| From: | Josh Johnson | Date: | Mon, 23 Sep 2002 18:25:56 +0000 |
| Subject: | RE: [SMARTY] {include} problem? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-6011@lists.php.net to get a copy of this message | ||
Where are they assigning the variable (with the var being $this, I'm
guessing it's inside of a class....)?
-- Josh
-----Original Message-----
From: Mitch Vincent [mailto:mitch@unixprogramming.net]
Sent: Monday, September 23, 2002 2:17 PM
To: smarty-general@lists.php.net
Subject: [SMARTY] {include} problem?
I'm having a problem with a fairly simple {include}
{include file=$std_header}
- $std_header contains the full path to the file, assigned like this :
$this->assign("std_header", FILE_ROOT . "pageheader.html");
Seems to give this error :
PHP Fatal error: Call to undefined function: () in
e:\smarty\Smarty.class.php on line 1039
This is on a friends box and I'm asking for him - Line 1039 is a blank
line in my smarty.class.php file so I'm at a loss as to what no-
name function is being called.. He says that there is no other smarty
than that on any of the pages.
If anyone has any suggestions about what to take a look at I'd
appreciate it.
Thanks!
-Mitch
Better to light a candle than to curse the darkness.
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php