If after upgrade or fresh installation you are getting white page or error message:
Fatal error: call to undefined function: date_default_timezone_set() in ...
The fix is the following:
In includes/functions.php find:
?>Insert above
:
if (!function_exists("date_default_timezone_set"))
{
function date_default_timezone_set($timezone)
{
return true;
}
}Then open config.php if you find a line with
date_default_timezone_set then insert above
:
if (function_exists("date_default_timezone_set"))