Ok - here it is:
I have downloaded Smarty 3.0.6 (as I read quite a lot of uncomplementary comments about 3.0.7) and have got it up and running - almost!
My file config (using windows 7) is:
../libs/Smarty-3.0.6/
and then -
cache/
configs/
templates/
templates_c/
demo/
libs/
I know that Smarty is set up properly and works because the demo runs. I have also run the 'install' file and that works but herein lies the problem: when I run the install.php the rresult I get is:
Smarty Installation test...
Testing template directory...
FAILED: .\templates\ is not a directory.
Testing compile directory...
FAILED: .\templates_c\ is not a directory.
Testing plugins directory...
..\libs\Smarty-3.0.6\libs\plugins\ is OK.
Testing cache directory...
FAILED: .\cache\ is not a directory.
Testing configs directory...
FAILED: .\configs\ is not a directory.
Tests complete.
I have run the following script - as recommended by the Smarty website but this hs no effect.
<?php
require_once('../libs/Smarty.class.php');
$smarty = new Smarty();
$smarty->setTemplateDir('/libs/Smarty-3.0.6/templates/');
$smarty->setCompileDir('/libs/Smarty-3.0.6/templates_c/');
$smarty->setCacheDir('/libs/Smarty-3.0.6/cache/');
$smarty->setConfigsDir('/libs/Smarty-3.0.6/configs/');
$smarty->testInstall();
//$smarty->utilities->test();
$smarty->assign('name', 'Ned');
$smarty->display('test.tpl');
?>
Any ideas about where I go from here would be gratefully received.
'H'