Caching fails in Smarty.class.php
| From: | Thorsten Suckow-Homberg | Date: | Fri, 31 Oct 2003 22:51:34 +0000 |
| Subject: | Caching fails in Smarty.class.php | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10488@lists.php.net to get a copy of this message | ||
Hello List,
while trying to use smarties cache functionality I get the following error:
"Error 2: fopen (C:\...\%%-47\%%-479383\index.tmpl.html.php): failed top open stream: No such
file or directory
line 1998 in File: C:\...\libs\Smarty.class.php"
I'm running Apache 2 with PHP 4.3 on a Win XP system.
The directories exist, except for the %%...-part, which obviously should be created by smarty.
The code I use is simple, taken out of the docs:
$oT = &new Smarty;
.
.
.
$oT->caching = true;
Where should I look for errors?