Re: [SMARTY] What else is there??
| From: | Jason Sweat | Date: | Thu, 30 May 2002 01:33:47 +0000 |
| Subject: | Re: [SMARTY] What else is there?? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4442@lists.php.net to get a copy of this message | ||
Unless you specifically override it, Smarty expects templates, templates_c,
cache and configs to be directly below the script you are running. By
default, Smarty also expect plugins directory to be in the same location as
the Smarty.class.php file.
templates_c and cache need to be writeable by the web server user and/or
group.
You might try reviewing:
http://www.phpinsider.com/php/code/Smarty/QUICKSTART
Regards,
Jason
----- Original Message -----
From: "Gerard Samuel" <gsam@trini0.org>
To: "smarty" <smarty-general@lists.php.net>
Sent: Wednesday, May 29, 2002 5:09 PM
Subject: [SMARTY] What else is there??
> Hi. Im trying to setup this directory structure ->
> ./index.php
> ./class/smarty/
>
> Everything that came with smarty is in class/smarty/.
> I tried to make a test page and Im getting Smarty error: unable to read
> template resource: "index.tpl" in
> /files/www/data/misc/lcre/class/smarty/Smarty.class.php on line 546
>
> Thanks for any input.
>
> --
> Gerard Samuel
> http://www.trini0.org:81/
> http://dev.trini0.org:81/
>
>
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>