|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
pt2002 Smarty Regular
Joined: 05 May 2003 Posts: 89 Location: Porto, Portugal
|
Posted: Mon Aug 11, 2003 3:58 pm Post subject: Error with directorys |
|
|
Hi
I'm using smarty cvs latest version, apache 1.3.28 and php 4.3.2.
/www/dev/ => document_root
/www/dev/testsite/ => site
/www/templates/testsite => template_dir
/www/templates/testsite/tpl_compiled => compile_dir
/www/templates/testsite/tpl_cache => cache_dir
/www/templates, /www/templates/testsite, /www/templates/testsite/tpl_compiled with 777 permissions for all users.
When trying to show one simple template from the examples get this error
Fatal error: Smarty error: the $compile_dir '/www/templates/testsite/tpl_compiled/' does not exist, or is not a directory. in /www/lib/smarty/Smarty.class.php on line 1156
Smarty setup:
require('/www/lib/smarty/Smarty.class.php');
$smarty= & new Smarty;
$smarty->template_dir = '/www/templates/testsite/';
$smarty->compile_dir = '/www/templates/testsite/tpl_compiled/';
TIA |
|
Back to top |
|
pt2002 Smarty Regular
Joined: 05 May 2003 Posts: 89 Location: Porto, Portugal
|
Posted: Mon Aug 11, 2003 4:29 pm Post subject: Solved! |
|
|
Sorry for this stupid post!
Greetings |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|