Help Please-Compiled templates have headers only

From: Date: Sun, 24 Jul 2005 23:38:43 +0000
Subject: Help Please-Compiled templates have headers only
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-12833@lists.php.net to get a copy of this message
Aloha, Can someone please help. When I look into my compiled_templates folders the files only have the compiled headers like so: <?php /* Smarty version 2.6.9, created on 2005-07-24 09:41:31 compiled from header.tpl */ ?> None of my template is displayed. The same setup works fine in another vhost on this machine. If I turn debug on then I see javascript when viewing the page source. Here¹s my php file: define('SMARTY_DIR', '/usr/share/php/smarty/'); require_once(SMARTY_DIR . 'Smarty.class.php'); $tpl = new Smarty(); $tpl->template_dir = '/home/httpd/vhosts/smithskauai.com/templates'; $tpl->compile_dir = '/home/httpd/vhosts/smithskauai.com/compiled_templates'; $tpl->compile_check = true; $tpl->force_compile = true; $tpl->debugging = true; $tpl->display('header.tpl'); Thanks for any help. Gary

« previous php.smarty.general (#12833) next »