Quote:
Originally Posted by bananalive
Get your host to enable function cal_days_in_month() or in tournaments.php remove following line(s):
line 903:
PHP Code:
$days = cal_days_in_month(CAL_GREGORIAN, $month, $year);
line 1018:
PHP Code:
$days = cal_days_in_month(CAL_GREGORIAN, $month, $year);
|
Hummm... I remove these 2lines, but script return a error "invalid date".
Search in tournament.php, i found "if's":
Line 904
PHP Code:
if ($day > $days OR $day == 0) {
$errormessage = $vbphrase[error_invalid_date];
eval(standard_error($errormessage));
}
Line 1019
PHP Code:
if ($day > $days OR $day == 0) {
$errormessage = $vbphrase[error_invalid_date];
eval(standard_error($errormessage));
}
Deleted these 2 if's, script work.
But, i have a question: This deleted lines affect any other tools on script?
Sorry for english.