i try to use Savant3 but i have always the same error message:
error, examine fetch() result
My wbx.php containing :
session_start();
// include Savant class file
require_once 'lib/Savant3.php';
require_once 'lib/gemel.php';
// initialize template engine
$savant = new Savant3();
// assign template variables
$gemel = new Gemel;
$savant->aliasRead = $gemel->getAlias($username, $domain);
// interpolate variables and display template
$savant->display('template/test.tpl');
And my tpl is a simple template in html.
If i try in my wbx.php a var_dump('$savant->aliasRead'); it's work so it's my template who creat this error.
The location is correct, and my tpl is in template/
But it doesn't work, don't understand why...
Maybe construct the Savant3 object as: