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

Absolute path fight ! (how to define ?)

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


Joined: 03 Nov 2003
Posts: 2

PostPosted: Mon Nov 03, 2003 10:18 pm    Post subject: Absolute path fight ! (how to define ?) Reply with quote

Hello,

I'm fighting with tikiwiki and Smarty.

I have only FTP access so it is a hard battle ! Smile

I have se,t in Smarty.class.php all var $xxxxxx_dir and some var $xxxxxx_file path to absolute. It correct me a lot of previous errors.

Now i have to set SMARTY_DIR to absolute path
I'm not a programmer and i have figured like this (from line 45 of Smarty.class.php :

Code:

/**
 * set SMARTY_DIR to absolute path to Smarty library files.
 * if not defined, include_path will be used.
 */

define('SMARTY_DIR', '/home/httpd/vhosts/Eylon.net/httpdocs/Smarty');
define('DIR_SEP', DIRECTORY_SEPARATOR);

/**


Is that correct ?

Till now, this what i get using http://www.eylon.net/tiki-install.php

Code:
Warning: Smarty error: problem writing 'templates_c//en/%%-58/%%-584454252/tiki.tpl.php.' in /home/httpd/vhosts/Eylon.net/httpdocs/Smarty/Smarty.class.php on line 1000

Warning: Failed opening 'templates_c//en/%%-58/%%-584454252/tiki.tpl.php' for inclusion (include_path='/usr/share/pear:lib/pear') in /home/httpd/vhosts/Eylon.net/httpdocs/Smarty/Smarty.class.php on line 1119


Where is that // or path that i terminate it ?

Any help is appreciated ! Wink
Back to top
View user's profile Send private message
alan
Smarty Regular


Joined: 17 Apr 2003
Posts: 43

PostPosted: Tue Nov 04, 2003 7:26 pm    Post subject: Reply with quote

Have a look at the BasePath discussion:

http://www.phpinsider.com/smarty-forum/viewtopic.php?t=1268&highlight=

Boots and I were discussing various methods of fixing the site root path, from which you could derive the SMARTY_DIR from.
Back to top
View user's profile Send private message
Yoni
Smarty n00b


Joined: 03 Nov 2003
Posts: 2

PostPosted: Tue Nov 04, 2003 8:08 pm    Post subject: Reply with quote

Hello Alan,

At first i have done a FTPinstall of Tikiwiki and get those path problems.

I have reinstall from new with root access and it corrects everything (with Smarty Smile



But i will look at the discussion, as it can be helpfull !
Thanks
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