|
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 |
macleo Smarty Rookie
Joined: 22 May 2003 Posts: 9 Location: Tokyo,Japan
|
Posted: Fri May 23, 2003 1:01 am Post subject: Help me please Administrator!I want to use Smarty template! |
|
|
My Computer OS: Win2k Server!
Web Server : Apache Server 1.3.27
PHP Version : PHP 4.3.1
1.First,I enter PHP directory.I make directory "INCLUDE".Extract smarty*.tgz to PHP's INCLUDE directory!
so is:
==================================
d:\php\include\smarty
2.start my Apache.
enter "localhost" into my explorer.Nothing on my screen.
3.Open my Apache logs directory.Edit error.logs.
Have Fatal error like this:
==================================
[23-May-2003 01:32:08] PHP Warning: Smarty error: unable to read template resource: "smartydemo.tpl" in D:\php\include\Smarty\libs\Smarty.class.php on line 1042
4.I put smartydeom.tpl to my web directory and "D:\php\include\Smarty\libs\" location. _________________
/**
packages macleo.ROBOT;
import macleo.ROBOT;
--------------------------------
Generated BY Javadoc
*/
|
|
Back to top |
|
AZTEK Smarty Pro
Joined: 16 Apr 2003 Posts: 235 Location: Purdue University
|
Posted: Fri May 23, 2003 3:13 am Post subject: |
|
|
Is your template in the "templates" folder or whatever you set $smarty->template_dir to? _________________ "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 |
|
boots Administrator
Joined: 16 Apr 2003 Posts: 5611 Location: Toronto, Canada
|
|
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
|