PHP Code:
require_once('./includes/functions_calendar.php'); 
should be changed to
PHP Code:
require_once(DIR '/includes/functions_calendar.php'); 
otherwise the includefile might not be found.