Re: [SMARTY] Errors under Win32
| From: | Monte Ohrt | Date: | Wed, 26 Jun 2002 14:47:19 +0000 |
| Subject: | Re: [SMARTY] Errors under Win32 | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5029@lists.php.net to get a copy of this message | ||
Yeah I need to make that more prominent in the manual (or add to FAQ). The only thing is the example for the {include} tag, stating windows users must use file: for absolute paths.
travis@dawnstar.org wrote:
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:-- Monte Ohrt <monte@ispi.net> Director of Technology, ispi Inc.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)