View Single Post
Old 04-09-2008, 10:30 AM   #3 (permalink)
Tanax
The Prestige
Upcoming Programmer Inquisitive 
 
Tanax's Avatar
 
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
Tanax is on a distinguished road
Default

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).
__________________
Tanax is offline  
Reply With Quote