RE: [SMARTY] tpl, installation (forgot)
| From: | Patti Ewanski | Date: | Mon, 01 Jul 2002 20:57:56 +0000 |
| Subject: | RE: [SMARTY] tpl, installation (forgot) | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5144@lists.php.net to get a copy of this message | ||
Monte,
I found this in the Smarty.class.php file.....
var $template_dir = 'templates'; // name of
directory for templates
var $compile_dir = 'templates_c'; // name of
directory for compiled templates
Patricia Ewanski
Support Systems Analyst, Sr.
University of Arizona
Human Resources
-----Original Message-----
From: Monte Ohrt [mailto:monte@ispi.net]
Sent: Monday, July 01, 2002 1:41 PM
To: Patti Ewanski
Cc: smarty-general@lists.php.net
Subject: Re: [SMARTY] tpl, installation (forgot)
After you execute, are there any files written into templates_c?
If not,
that will be your problem. Check your value of $template_dir and
see
where it is trying to write files.
Patti Ewanski wrote:
> drwxrwxrwx 2 hro provider 4096 templates_c
> Thank you!
>
> Yet,
> This gives me an error of :
> Warning: Smarty error: unable to read template resource:
> "index.tpl" in
/users2/hro/public_html/pattitest/Smarty.class.php
> on line 546
>
> Any idea on that one???
>
>
>
> Patti
>
> -----Original Message-----
> From: Monte Ohrt [mailto:monte@ispi.net]
> Sent: Monday, July 01, 2002 1:05 PM
> To: Patti Ewanski
> Cc: smarty-general@lists.php.net
> Subject: Re: [SMARTY] tpl, installation (forgot)
>
> That looks like your problem:
>
> drwx------ templates_c
>
> who owns it? the web server user must have write access to this
> directory.
>
> Patti Ewanski wrote:
>
>>Sorry,
>>Forgot to list that I have these dir's and files set up in the
>>directory as well...
>>
>>drwxr-xr-x configs
>>drwxr-xr-x docs
>>-rw-r--r-- index.tpl
>>drwxr-xr-x misc
>>-rw-r--r-- overlib.js
>>drwxr-xr-x plugins
>>drwxr-xr-x templates
>>drwx------ templates_c
>>
>>:)
>>Patti
>>
>>
>
>
>
>
> --
> Monte Ohrt <monte@ispi.net>
> Director of Technology, ispi Inc.
>
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Monte Ohrt <monte@ispi.net>
Director of Technology, ispi Inc.
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php