View previous topic :: View next topic |
Author |
Message |
fbrockherde Smarty Rookie
Joined: 18 May 2003 Posts: 6
|
Posted: Sat May 24, 2003 1:41 pm Post subject: error, solved |
|
|
-.-
Last edited by fbrockherde on Wed Oct 25, 2006 12:49 pm; edited 1 time in total |
|
Back to top |
|
AZTEK Smarty Pro
Joined: 16 Apr 2003 Posts: 235 Location: Purdue University
|
Posted: Sat May 24, 2003 1:52 pm Post subject: |
|
|
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 |
|
fbrockherde Smarty Rookie
Joined: 18 May 2003 Posts: 6
|
Posted: Sat May 24, 2003 2:10 pm Post subject: |
|
|
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 |
|
AZTEK Smarty Pro
Joined: 16 Apr 2003 Posts: 235 Location: Purdue University
|
Posted: Sat May 24, 2003 2:18 pm Post subject: |
|
|
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 |
|
fbrockherde Smarty Rookie
Joined: 18 May 2003 Posts: 6
|
Posted: Sun May 25, 2003 1:04 pm Post subject: |
|
|
no, i have only the folders listed up at the top entry. what has to be in the template_c dir? |
|
Back to top |
|
Justin Smarty Regular
Joined: 07 May 2003 Posts: 38 Location: Vilnius, Lithuania
|
|
Back to top |
|
fbrockherde Smarty Rookie
Joined: 18 May 2003 Posts: 6
|
Posted: Mon May 26, 2003 4:18 pm Post subject: |
|
|
where has the "template_c" dir to be located? |
|
Back to top |
|
boots Administrator
Joined: 16 Apr 2003 Posts: 5611 Location: Toronto, Canada
|
Posted: Mon May 26, 2003 9:49 pm Post subject: |
|
|
@fbrockherde:
Please read the installation section of the manual. |
|
Back to top |
|
|