smarty installation in safe-mode server

From: Date: Sat, 22 Mar 2003 21:45:34 +0000
Subject: smarty installation in safe-mode server
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8850@lists.php.net to get a copy of this message
Hi to all, I'm new to smarty and to this list, and I'm trying to install smarty on a safe-mode configured server. I did place smarty classes and other archives and directories on a place off the accesible web directory (from the scripts that need to run smarty, that are accesible via the web, this directory would be accesed "../smarty/", and the smarty subdirectories are "smarty/templates/", etc). Well, this server is very strict concerning security and I can't get to know errors even using error handling functions. Trying to run the initial smarty install example script, I could'nt get smarty to run: define('SMARTY_DIR', '../smarty/'); require_once(SMARTY_DIR . 'Smarty.class.php'); $smarty = new Smarty; $smarty->template_dir = SMARTY_DIR . 'templates/'; $smarty->compile_dir = SMARTY_DIR . 'templates_c/'; $smarty->config_dir = SMARTY_DIR . 'configs/'; $smarty->cache_dir = SMARTY_DIR . 'cache/'; $smarty->assign('name','Ned'); $smarty->display('index.tpl'); I tried several different ways (with the ending "/"s off, etc), I even moved the smarty directories, I read the recent messages concerning this but didn't get to make it run. I think perhaps it has to do with the safe-mode configurations (all required directories that smarty has to write to have write permissions), does anyone know how to make smarty run on such environment? Thanks in advance for any help

« previous php.smarty.general (#8850) next »