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, solved

 
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 -> Installation and Setup
View previous topic :: View next topic  
Author Message
fbrockherde
Smarty Rookie


Joined: 18 May 2003
Posts: 6

PostPosted: Sat May 24, 2003 1:41 pm    Post subject: error, solved Reply with quote

-.-

Last edited by fbrockherde on Wed Oct 25, 2006 12:49 pm; edited 1 time in total
Back to top
View user's profile Send private message
AZTEK
Smarty Pro


Joined: 16 Apr 2003
Posts: 235
Location: Purdue University

PostPosted: Sat May 24, 2003 1:52 pm    Post subject: Reply with quote

Change
[php:1:94c689080a]$tpl->display("templates/normal.tpl");[/php:1:94c689080a]

to
[php:1:94c689080a]$tpl->display("normal.tpl");[/php:1:94c689080a]

since it automaticly assumes its in the templates dir unless you set $smarty->template_dir
_________________
"Imagine a school with children that can read and write, but with teachers who cannot, and you have a metaphor of the Information Age in which we live." -Peter Cochrane
Back to top
View user's profile Send private message Visit poster's website
fbrockherde
Smarty Rookie


Joined: 18 May 2003
Posts: 6

PostPosted: Sat May 24, 2003 2:10 pm    Post subject: Reply with quote

i've changed everything so far, but it doesn't work anyway. now i got the error:
Code:
Warning: Failed opening '\%%127\%%1278124991\normal.tpl.php' for inclusion (include_path='.;F:/phpdev/php/includes;F:/phpdev/php/class') in f:\phpdev\www\public\pc-pla.net\inc\Smarty.class.php on line 1158
Back to top
View user's profile Send private message
AZTEK
Smarty Pro


Joined: 16 Apr 2003
Posts: 235
Location: Purdue University

PostPosted: Sat May 24, 2003 2:18 pm    Post subject: Reply with quote

Do you have a templates_c dir?
_________________
"Imagine a school with children that can read and write, but with teachers who cannot, and you have a metaphor of the Information Age in which we live." -Peter Cochrane
Back to top
View user's profile Send private message Visit poster's website
fbrockherde
Smarty Rookie


Joined: 18 May 2003
Posts: 6

PostPosted: Sun May 25, 2003 1:04 pm    Post subject: Reply with quote

no, i have only the folders listed up at the top entry. what has to be in the template_c dir?
Back to top
View user's profile Send private message
Justin
Smarty Regular


Joined: 07 May 2003
Posts: 38
Location: Vilnius, Lithuania

PostPosted: Sun May 25, 2003 3:50 pm    Post subject: Reply with quote

fbrockherde wrote:
no, i have only the folders listed up at the top entry. what has to be in the template_c dir?


This is directory where compiled templates are located Smile

for more information look http://smarty.php.net/manual/en/variable.compile.dir.php
_________________
http://www.baubas.net
Back to top
View user's profile Send private message Visit poster's website
fbrockherde
Smarty Rookie


Joined: 18 May 2003
Posts: 6

PostPosted: Mon May 26, 2003 4:18 pm    Post subject: Reply with quote

where has the "template_c" dir to be located?
Back to top
View user's profile Send private message
boots
Administrator


Joined: 16 Apr 2003
Posts: 5611
Location: Toronto, Canada

PostPosted: Mon May 26, 2003 9:49 pm    Post subject: Reply with quote

@fbrockherde:

Please read the installation section of the manual.
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 -> Installation and Setup 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