|
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 |
qzzwrs Smarty n00b
Joined: 11 Jul 2003 Posts: 3
|
Posted: Fri Jul 11, 2003 12:30 am Post subject: Install Smarty under IIS5? |
|
|
I've got PHP 4.3.2, IIS5, and smarty 2.5.0. I've tried to follow the instructions but they are a little confusing. Does anyone have an links or reference that I can read so I can get this working? I'm new to smarty...so go easy...
I appreciate any help you can provide, thanks.
Chris |
|
Back to top |
|
boots Administrator
Joined: 16 Apr 2003 Posts: 5611 Location: Toronto, Canada
|
Posted: Fri Jul 11, 2003 3:22 am Post subject: |
|
|
Hi. What is installed and working so far? Do you hace PHP working with IIS yet? |
|
Back to top |
|
qzzwrs Smarty n00b
Joined: 11 Jul 2003 Posts: 3
|
Posted: Sat Jul 12, 2003 4:04 pm Post subject: IIS is working wih PHP |
|
|
PHP and IIS are fine. The problem is directly related to smarty install. I'm sure that I've f'd it up somehow. When I go to the index page it comes up blank. So I was wondering if anyone had any basic install procedures under windows. |
|
Back to top |
|
qzzwrs Smarty n00b
Joined: 11 Jul 2003 Posts: 3
|
Posted: Sat Jul 12, 2003 4:14 pm Post subject: Here's what I have |
|
|
Here is the directory structure:
07/10/2003 07:14p <DIR> cache
07/10/2003 07:01p <DIR> configs
07/10/2003 07:02p <DIR> plugins
07/10/2003 07:01p <DIR> templates
07/12/2003 11:15a <DIR> templates_c
04/11/2003 08:40a 9,962 Config_File.class.php
02/17/2003 09:58a 4,977 debug.tpl
07/12/2003 11:15a 965 index.php
04/11/2003 08:40a 87,861 Smarty.class.php
04/11/2003 08:40a 65,286 Smarty_Compiler.class.php
This is how I got it to work, but is this ok or not?
I took the demo from the install and modified the index.php by adding this at the top:
define ("ROOT", "d:\\Inetpub\\wwwroot");
define ("SMARTY_DIR", ROOT."\\smarty\\");
require("Smarty.class.php"); |
|
Back to top |
|
boots Administrator
Joined: 16 Apr 2003 Posts: 5611 Location: Toronto, Canada
|
Posted: Sat Jul 12, 2003 6:04 pm Post subject: |
|
|
Please do a scan of the forums--there is plenty of info on this topic. Also read this post as it may be of use to you.
Good Luck! |
|
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
|