You are here: Re: Empty Compiled Templates « Smarty Templates Posts « IT news, forums, messages
Re: Empty Compiled Templates

Posted by Gary Smith on 07/22/05 21:23

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
>>
>>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация