Site tijdelijk offline."); #error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED); #error_reporting(0); $start = microtime(); // rewrite url junk catcher $script = ($_SERVER['REQUEST_URI']!="/"?$_SERVER['REQUEST_URI']:"index.php"); if(stristr($script,"?")){ $script = substr($script, 0, strpos($script,"?")); } $p = pathinfo($script); $script_path = pathinfo($_SERVER["SCRIPT_NAME"]); $currentPage = str_replace(array('?'.$_SERVER['QUERY_STRING'],'.html','.php'), '', $_SERVER['REQUEST_URI']); $currentSite = "http://".$_SERVER['SERVER_NAME'].$script_path["dirname"]; // php settings #ini_set("display_errors","off"); ini_set("post_max_size", "5M"); ini_set("upload_max_filesize", "5M"); // locale settings //setlocale(LC_ALL, 'nl_NL'); //setlocale (LC_ALL, "nl_NL.ISO8859-1"); setlocale(LC_ALL, 'nl_NL.ISO-8859-1'); // database and defines include_once("lib/Defines.php"); include_once("lib/Functions.php"); include_once("lib/Database.php"); // pear includes include_once( "HTML/QuickForm.php"); include_once( "Validate.php"); // templating engine include_once("lib/smarty/Smarty.class.php"); $smarty = new Smarty; $smartydir = PATH_TPL; $smarty->template_dir = PATH_TPL; $smarty->compile_dir = PATH_TPL . 'templates_c'; $smarty->cache_dir = PATH_TPL . 'cache'; //$smarty->caching = SITE_CACHE; //$smarty->cache_lifetime = SITE_CACHE_LIFETIME; // verkrijg argumenten vanuit de link $dirs = getDirs(); Fatal error: Call to a member function getAll() on a non-object in /var/www/vhosts/tipsvoorscripts.nl/private/framework/lib/Site.php on line 15