Hello all.
I used smarty on my local machine and it was ok. i installed it on Linux and Windows but can't do it here.
is this code ok?
<?
require('smarty/libs/Smarty.class.php');
$smarty = new Smarty();
$smarty->template_dir = '\public_html\smarty\mine\templates';
$smarty->compile_dir = '\public_html\smarty\templates_c';
$smarty->config_dir = '\public_html\smarty\configs';
$smarty->cache_dir = '\public_html\smarty\cache';
?>
I have an error "Warning: Smarty error: unable to read resource: "base.tpl" in /home/jaybe/public_html/smarty/libs/Smarty.class.php on line 1092"
What should i do?
I used smarty on my local machine and it was ok. i installed it on Linux and Windows but can't do it here.
is this code ok?
<?
require('smarty/libs/Smarty.class.php');
$smarty = new Smarty();
$smarty->template_dir = '\public_html\smarty\mine\templates';
$smarty->compile_dir = '\public_html\smarty\templates_c';
$smarty->config_dir = '\public_html\smarty\configs';
$smarty->cache_dir = '\public_html\smarty\cache';
?>
I have an error "Warning: Smarty error: unable to read resource: "base.tpl" in /home/jaybe/public_html/smarty/libs/Smarty.class.php on line 1092"
What should i do?