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

installation error

 
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
eduard77
Smarty n00b


Joined: 30 Aug 2011
Posts: 1

PostPosted: Tue Aug 30, 2011 7:27 pm    Post subject: installation error Reply with quote

I try to install smarty and when I write the require code I cannot find the path

require_once ('d:/wamp/bin/php/php5.3.5/Smarty-3.0.8/Smarty.class.php');
or if you could tell me which is the correct syntax in the ini.php page.
Thanks
Back to top
View user's profile Send private message
suf3r
Smarty Rookie


Joined: 09 Apr 2010
Posts: 31

PostPosted: Sun Oct 02, 2011 4:48 pm    Post subject: Reply with quote

I always doing like this:
Code:
define('START', dirname(__FILE__));
require_once START . '/Smarty-3.0.8/Smarty.class.php';


This works if your ini.php in root folder. If not, then it will be
Code:
define('START', dirname(dirname(__FILE__)));
and so on.
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