|
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 |
Yoni Smarty n00b
Joined: 03 Nov 2003 Posts: 2
|
Posted: Mon Nov 03, 2003 10:18 pm Post subject: Absolute path fight ! (how to define ?) |
|
|
Hello,
I'm fighting with tikiwiki and Smarty.
I have only FTP access so it is a hard battle !
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 ! |
|
Back to top |
|
alan Smarty Regular
Joined: 17 Apr 2003 Posts: 43
|
|
Back to top |
|
Yoni Smarty n00b
Joined: 03 Nov 2003 Posts: 2
|
Posted: Tue Nov 04, 2003 8:08 pm Post subject: |
|
|
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
But i will look at the discussion, as it can be helpfull !
Thanks |
|
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
|