perchè _FILE_ è una costante che non è stata definita, quella che forse vuoi usare è __FILE__ con 2 _ sia prima che dopo.
prova così:
Codice PHP:
<?php
// SITE_ROOT contains the full path to the tshirtshop folder
define ("SITE_ROOT", dirname(dirname(__FILE__)));
// Setting needed to configure the Smarty template engine
define("SMARTY_DIR", SITE_ROOT."/libs/smarty/");
define("TEMPLATE_DIR", SITE_ROOT."/templates");
define("COMPILE_DIR", SITE_ROOT."/templates_c");
define("CONFIG_DIR", SITE_ROOT."/configs");
?>