Install Smarty on Linux - Problem

From: Date: Fri, 08 Aug 2003 10:32:47 +0000
Subject: Install Smarty on Linux - Problem
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10010@lists.php.net to get a copy of this message
Hi all, I have used smarty on Windows there is no problem. Iam trying to use it in Linux (RedHat). Iam getting the following error. Fatal error: Failed opening required '/usr/local/Smarty/libs/Smarty.class.php' (include_path='.:/usr/share/pear') in /var/www/html/CustomerList/index1.php on line 3 My Script is like this <?PHP define('SMARTY_DIR','/usr/local/Smarty/libs/'); require(SMARTY_DIR.'Smarty.class.php'); $smarty = new Smarty; $smarty->template_dir = '/usr/local/Smarty/templates/CustomerList/'; $smarty->compile_dir='/usr/local/Smarty/libs/'; $smarty->config_dir='/usr/local/Smarty/libs/'; $smarty->cache_dir='/usr/local/Smarty/libs/'; $smarty->assign('Name','Ned'); $smarty->display('index.tpl'); ?> I have installed the smarty directory on /usr/local/smarty/. I had give all the premission to the files. Since iam getting this error. Pls Help it Out. I had struct with this problem. Advance Thanks Bye Balaji.N __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com

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