Problems with smarty 2.6.0RC1 and cached paths..
| From: | Rob Schultz | Date: | Thu, 04 Sep 2003 09:42:58 +0000 |
| Subject: | Problems with smarty 2.6.0RC1 and cached paths.. | ||
| Groups: | php.smarty.dev | ||
| Request: | Send a blank email to php-smarty-dev+get-1853@lists.php.net to get a copy of this message | ||
This only seems to happen on my windows machine..
I am using a conf file and i have my setup done like this. (I have smarty
subclassed)
$this->template_dir = $root_path . 'templates/';
$this->compile_dir = $root_path . 'templates_c/';
$this->config_dir = SMARTY_DIR . 'config/';
$this->cache_dir = $root_path . 'cache/';
where $root_path is defined in my index.php such as
$root_path = realpath("./") . "/";
when i go to the page i don't get an error.. But when i return..
Warning: Smarty error: unable to read resource: "colors.conf" in
c:\site\include\smarty\Smarty.class.php on line 1156
I looked into the compiled cache in the templates_c and was wondering if
this was causing the problem.. ?
i get a link that looks like this..
'c:\site/templates_c//c:\site/include/smarty/config/\colors.conf/' =>
'c:\\site/templates_c/\\%%101\\%%1012124755\\%5Ccolors.conf',