Link to home
Start Free TrialLog in
Avatar of designersx
designersx

asked on

Smarty Installation problem

while installation i am getting an error

Smarty error: unable to read resource: "test.conf"

all the paths in my index.php file are correct, but i m stucked here

i m totally new to smarty plz help
Avatar of Parag_t567
Parag_t567
Flag of India image

Can you post the code of index.php?
Avatar of designersx
designersx

ASKER


<?php
// load Smarty library
require('Smarty.class.php');
$smarty = new Smarty;
$smarty->template_dir = 'C:/xampplite/htdocs/smarty/templates/';
$smarty->config_dir = 'C:/xampplite/htdocs/smarty/config/';
$smarty->cache_dir = 'C:/xampplite/smarty/cache/';
$smarty->compile_dir = 'C:/xampplite/smarty/templates_c/';
$smarty->assign('name','Penguin !!');
$smarty->display('index.tpl');
?>
index.tpl
<html>
<body>
Hello, {$name}
<body>
<html>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Parag_t567
Parag_t567
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial