Re: [SMARTY] Insert Function
| From: | Andrei Zmievski | Date: | Wed, 24 Apr 2002 14:02:13 +0000 |
| Subject: | Re: [SMARTY] Insert Function | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-3865@lists.php.net to get a copy of this message | ||
What version of Smarty are you using?
On Wed, 24 Apr 2002, MishY wrote:
> Hey,
>
> This is the insert line I'm using to call a poll into the web page :
>
> {insert name="newest_booth" script="file:c:\program
> files\apache\htdocs\poll\booth.php"}
>
> This works great when caching is turned off.
>
> When caching is turned on the poll shifts from where it is supposed to
> reside to the top of the page above ALL html. I also then start getting
> smarty errors :
>
> Warning: Smarty plugin error: [in file:c:/program
> files/apache/htdocs/templates/header.tpl line 235]: could not load plugin
> file c:\program
> files\apache\htdocs\templates/plugins/insert.newest_booth.php in c:\program
> files\apache\htdocs\templates\Smarty.class.php on line 1647
>
> Fatal error: Call to undefined function: () in c:\program
> files\apache\htdocs\templates\Smarty.class.php on line 1077
>
> Any idea what's going wrong ?
>
> Thanks :-)
>
>
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
-Andrei
* Marriage is not a word. It's a sentence. Life-long sentence. *