Smarty Error
| From: | karthikeyan.balasubramanian | Date: | Fri, 17 Jan 2003 08:03:57 +0000 |
| Subject: | Smarty Error | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-7244@lists.php.net to get a copy of this message | ||
Hi,
I am getting this error. But i didnt face this when i installed smarty on
Win98.
I am using XP right now.
Warning: fetch(templates_c\%%117\%%1172603085\index.tpl.php)
[function.fetch]: failed to create stream: No such file or directory in
e:\karthikeyan\programs\php\includes\smarty\Smarty.class.php on line 686
Warning: fetch() [function.fetch]: Failed opening
'templates_c\%%117\%%1172603085\index.tpl.php' for inclusion
(include_path='e:\karthikeyan\programs\php\includes\smarty\') in
e:\karthikeyan\programs\php\includes\smarty\Smarty.class.php on line 686
I have included smarty directory in the include path.
; Windows: "\path1;\path2"
include_path = "e:\karthikeyan\programs\php\includes\smarty\"
I have create 3 directories as specified by the install notes
templates
templates_c
config
under my root folder.
This is my index.php content
<?php
require("Smarty.class.php");
$smarty = new Smarty;
$smarty->assign("Name","Ned");
$smarty->display("index.tpl");
?>
Any comments, suggestions.
Karthikeyan