Quote:
Originally Posted by bananalive
Any other usergroups you belong to
try adding spaces so $days = cal_days_in_month(CAL_GREGORIAN, $month, $year);
I'll be adding option to 'switch' players in next version
I will make that default in next version
|
I try it. I see on 2.3.7 already space on it. And I upgrade it. still got error messages invalid date.
What I do next is I put print out ..
Code:
echo $day;
echo '<br />';
echo $month;
echo '<br />';
echo $year;
$hour = $vbulletin->input->clean_gpc('p', 'time', TYPE_INT);
$days = cal_days_in_month(CAL_GREGORIAN, $month, $year);
And I got 0 result..
Quote:
0
0
0
Warning: cal_days_in_month() [function.cal-days-in-month]: invalid date. in [path]/tournament.php on line 546
|
and if I remove this
Code:
if ($day > $days OR $day == 0) {
$errormessage = "Error: Invalid Date";
eval('print_output("' . fetch_template('STANDARD_ERROR') . '");');
}
I can create tournament but the date come to 30-11-99 (default ?)
Last I can make tournament normally is 13-09-08. I dont know which version it is.
Any chance to fix it ?