Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Error with directorys

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
pt2002
Smarty Regular


Joined: 05 May 2003
Posts: 89
Location: Porto, Portugal

PostPosted: Mon Aug 11, 2003 3:58 pm    Post subject: Error with directorys Reply with quote

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
View user's profile Send private message
pt2002
Smarty Regular


Joined: 05 May 2003
Posts: 89
Location: Porto, Portugal

PostPosted: Mon Aug 11, 2003 4:29 pm    Post subject: Solved! Reply with quote

Sorry for this stupid post!

Greetings
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP