[SMARTY] Re: Empty Compiled Templates

Gary Smith <[email protected]>
Newsgroups gmane.comp.php.smarty.general
Message-ID <BF065D99.382A9%[email protected]>
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 [email protected], Pedro at
[email protected] 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
>> 
>> 

-- 
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.