Re: Empty Compiled Templates
| From: | Gary Smith | Date: | Fri, 22 Jul 2005 18:23:53 +0000 |
| Subject: | Re: Empty Compiled Templates | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-12827@lists.php.net to get a copy of this message | ||
Hi Pedro,
I'm not using any plugins. Here's my configuration:
class Page_Smarty extends Smarty {
var $classname = "Page_Smarty";
function Page_Smarty() {
$this->template_dir =
'/home/httpd/vhosts/smithskauai.com/templates';
$this->compile_dir =
'/home/httpd/vhosts/smithskauai.com/compiled_templates';
$this->cache_dir = '/home/httpd/vhosts/smithskauai.com/cache';
$this->config_dir = '/home/httpd/vhosts/smithskauai.com/conf';
$this->compile_check = true;
$this->force_compile = true;
$this->debugging = true;
}
}
Thanks,
Gary
in article 21.45.33635.8D1A0E24@pb1.pair.com, Pedro at
daffodil@daffodil.uk.com wrote on 7/21/05 10:39 PM:
> ummmm do I remember once a plugin being missing and that was the result ???
>
> jsut a thought
>
> pedro
>
> Gary Smith wrote:
>> Aloha,
>>
>> I¹m having a strange problem with smarty. My templates are being compiled
>> with nothing but this:
>>
>> <?php /* Smarty version 2.6.9, created on 2005-07-21 09:41:31
>> compiled from header.tpl */ ?>
>>
>>
>> Nothing from my template is being put into the compiled templates. The only
>> time I see any thing in the pages source is if debug is enabled, then I see
>> Javascript.
>>
>> Thanks,
>> Gary
>>
>>