Hi,
I am getting this error :
Uncaught exception 'Exception' with message 'TemplateNotFound - Looked for template
when I load my mail file.
This is the code I use in main.php
include ('libs/h2o/h2o.php');
$h2o = new h2o('FAQTemplate.php');
$message = $h2o->render(array("QAs" => $json_array['faqlist']));
echo $message;
The file FAQTemplate.php is in the same file as main.php and the h20 folder is in libs folder in the directory same as main.php. I understand it will be a simple mistake. Can somebody please help me in finding the mistake?
Thanks,
Malathi