04-09-2008, 10:30 AM
|
#3 (permalink)
|
|
The Prestige
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
|
This is the problem:
PHP Code:
$smarty->template_dir = "templates"; $smarty->config_dir = "config"; $smarty->cache_dir = "cache"; $smarty->compile_dir = "compile";
You need to do like:
PHP Code:
$smarty->template_dir = "c:/path/to/server/www/projectfolder/templates"; $smarty->config_dir = "c:/path/to/server/www/projectfolder/config"; $smarty->cache_dir = "c:/path/to/server/somewhereoutside_www/cache"; $smarty->compile_dir = "c:/path/to/server/somewhereoutside_www/compile";
The compile and cache isn't supposed to be in the www directory.
And also, you need to change php.ini and include that dir..
If you need more detailed description, you could add me to MSN(PM me for my msn).
__________________
|
|
|
|