RE: [SMARTY] Set up trouble
| From: | Ed Chung | Date: | Sun, 09 Jun 2002 10:39:26 +0000 |
| Subject: | RE: [SMARTY] Set up trouble | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4707@lists.php.net to get a copy of this message | ||
Hi Nik
Make sure all your chmod settings for the folders are correct, and if
you are using nobody:nodoby as the group make sure all other folders
that require the setting also is set to nobody.
Also seems like a daft thing, but make sure index.tpl actuaaly exists in
the templates folder.
Regards
Ed
-----Original Message-----
From: Nick Wilson [mailto:nick@explodingnet.com]
Sent: 09 June 2002 11:33
To: smarty-general@lists.php.net
Subject: Re: [SMARTY] Set up trouble
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
* and then Ed Chung declared....
var $template_dir = 'absolute_path_to/templates'; // name of
> directory for templates
> var $compile_dir = 'absolute_path_to/templates_c'; // name of
> directory for compiled templates
> var $config_dir = 'absolute_path_to/configs'; //
directory
> where config files are located
>
> Hope this helps
It certainly does! I'm making progress ;-)
I have a new error though:
Warning: Smarty error: unable to read template resource: "index.tpl" in
/var/www/net_includes/Smarty-2.1.1/Smarty.class.php on line 546
Any idea why that's happening Ed?
Many thanks...
- --
Nick Wilson // www.explodingnet.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE9Ay7EHpvrrTa6L5oRAlMpAJ9l4jqVv8ujzL4qjyEyH5bYgB4WtQCcDRwE
mqq+KKlYb6ogSRdO71SSPvo=
=JTfb
-----END PGP SIGNATURE-----
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php