For Programmers: Free Programming Magazines  


Home > Archive > PHP Smarty Templates > March 2004 > Strange error with compile_dir and cache_dir properties









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Strange error with compile_dir and cache_dir properties
Lpa

2004-03-19, 1:28 pm

Hi,

At the initialisation of the page I redefine directories properties.

If I do
$smarty->template_dir = "/include/template/templates/";
$smarty->compile_dir = "include/template/templates_c/";
$smarty->config_dir = "/include/template/configs/";
$smarty->cache_dir = "include/template/cache/";

it works but if I do
$smarty->compile_dir = "/include/template/templates_c/";

I have this error : Fatal error: Smarty error: the $compile_dir
'/include/template/templates_c/' does not exist, or is not a directory. in
xxxxxxx/include\php\externe\smarty\Smarty.class.php on line 1102

I have the same problem with the cache_dir property but not with
template_dir and config_dir.

I know that the directories exists


Thanx for you help
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com