Re: [SMARTY] What else is there??

From: Date: Thu, 30 May 2002 01:59:12 +0000
Subject: Re: [SMARTY] What else is there??
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4446@lists.php.net to get a copy of this message
I did a var_dump of SMARTY_DIR in Smarty.class.php in my 'strange' setup, and it is pointing to where the smarty class and friends are. Maybe Im missing the point. All files and folder are owned by the webserver, and the plugins dir and Smarty.class.php also live together. So, if SMARTY_DIR is pointing to the correct directory, what do I 'specifically change' to make it work?? Thank You... Jason Sweat wrote:
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
-- Gerard Samuel http://www.trini0.org:81/ http://dev.trini0.org:81/

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