Re: [SMARTY] Errors under Win32

From: Date: Wed, 26 Jun 2002 15:18:06 +0000
Subject: Re: [SMARTY] Errors under Win32
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-5028@lists.php.net to get a copy of this message
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? > > -- > Valerio Santinelli > One Man Crew Gaming Community (http://www.onemancrew.org) > My Lab (http://tanis.hateseed.com) > HateSeed.com Founder (http://www.hateseed.com) > In Flames Italia Webmaster (http://www.inflames.it) > >

« previous php.smarty.general (#5028) next »