unable to read template resource: "index.tpl"

From: Date: Wed, 30 Jul 2003 14:13:30 +0000
Subject: unable to read template resource: "index.tpl"
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9996@lists.php.net to get a copy of this message
Hi I've followed the instructions in the smarty manual on basic installation. Despite my best novice atempts at changing ownerships, httpd.conf and php.ini settings, I keep getting the following errors: *Warning*: Smarty error: unable to read template resource: "index.tpl" in */usr/local/lib/php/Smarty/Smarty.class.php* on line *1042* *Warning*: Smarty error: problem creating directory "/%%-15/%%-1578591647" in */usr/local/lib/php/Smarty/Smarty.class.php* on line *1042* *Warning*: Smarty error: problem writing temporary file '/%%-15/%%-1578591647/3f27cbad0317b' in */usr/local/lib/php/Smarty/Smarty.class.php* on line *1042 *My files look like this: index.php: <? require ('Smarty.class.php'); $smarty = new Smarty; $smarty->template_dir = ' /srv/www/smarty/HMM/templates/' ; $smarty->compile_dir = ' /srv/www/smarty/HMM/templates_c/' ; $smarty->config_dir = ' /srv/www/smarty/HMM/configs/' ; $smarty->cache_dir = ' /srv/www/smarty/HMM/cache/' ; $smarty->assign('name', 'Ted'); $smarty->display('index.tpl'); ?> index.tpl: {* Smarty *} Hello, ('$name')! Does anyone have a suggestion as to how I could fix this? Thanks in advance

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