Here's the index.php, which uses the template engine
error_reporting(E_ALL);
ini_set("display_errors", 1);
//Includo il template engine
require_once("template.php");
//Includo i files di configurazione
//Configurations file
require_once("include/config.php");
require_once("include/connect.php");
require_once("include/funzioni.php");
$Template = new Template('default.tpl');
$Template -> set("Titolo_Pagina", "Benvenuti in Ginho! - Il sito che parla di tutto ci? che ruota attorno all'informatica");
$Template -> set("Descrizione", "Il sito che parla di tutto ci? che ruota attorno all'informatica");
$Template -> set("Left", require_once('pages/left.php'));
echo $Template->output();
it isn't show any error, and it isn't include correctly.(look the attachement in the first post).
config.php contains the costant for the DB connection,
connect.php connect to the DB,
funzioni.php contains general function (in this case doesn't matter with the current problem)
I haven't got any idea to solve it. i've tried the impossible, but.. nothing.
It's a vital issue xD
Thanks again
I use return only to output the render template with this:
return $this->output;
Sorry, I will adjust it for next time