Re: [SMARTY] Errors under Win32
| From: | Valerio Santinelli | Date: | Thu, 27 Jun 2002 07:02:59 +0000 |
| Subject: | Re: [SMARTY] Errors under Win32 | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5056@lists.php.net to get a copy of this message | ||
Thank you. This has fixed the problem.
--
Valerio Santinelli
----- Original Message -----
From: <travis@dawnstar.org>
Subject: Re: [SMARTY] Errors under Win32
> I just got bit by this one. When you specify the template, make sure you
> prefix the template path with "file:". Otherwise, the "c:" in the path
> will be interpreted as a resource type. So you would have
>
> $smarty->display("file:c:\\path\\to\\my\\template");
>
> cheers,
>
> Travis
>
> On Wed, 26 Jun 2002, Valerio Santinelli wrote:
>
> > I am experiencing the following error with an application successfully
deployed on a Unix server that I'm porting to Win32:
> >
> > Warning: Smarty plugin error: could not load plugin file
c:/lavori/cvs/portal_2/smarty/plugins\resource.c.php in
c:\lavori\cvs\portal_2\smarty\Smarty.class.php on line 1810
> >
> > Fatal error: Call to undefined function: () in
c:\lavori\cvs\portal_2\smarty\Smarty.class.php on line 981
> >
> >
> > Any idea?
> >