I still think it could may be server related as haven't seen this issue before. Maybe a bug on that mod that only affects some servers or maybe a language issue?
Here are the edits for the core files so you can have a check over your files.
index.php
Find:
Listed before:
Code: Select all
if ($config['load_birthdays'] && $config['allow_birthdays'] && ( $config['allow_birthdays_ahead'] > 0 ) )
{
if(!function_exists('get_upcbirthdays'))
{
include_once($phpbb_root_path . 'includes/functions_upcbirthdays.' . $phpEx);
}
get_upcbirthdays();
}
includes/acp/acp_board.php
Find:
Code: Select all
'allow_birthdays' => array('lang' => 'ALLOW_BIRTHDAYS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
Listed after:
Code: Select all
'allow_birthdays_ahead' => array('lang' => 'ALLOW_BIRTHDAYS_AHEAD','validate' => 'int', 'type' => 'text:3:4', 'explain' => true, 'append' => ' ' . $user->lang['DAYS']),
includes/session.php
Find:
Code: Select all
/**
* Format user date
*/
function format_date($gmepoch, $format = false, $forcedate = false)
Listed before:
Code: Select all
/**
* Format user date for the Upcoming Birthday Mod
*/
function format_dateucb($date, $format = false)
{
$lang_dates = $this->lang['datetime'];
$format = (!$format) ? $this->date_format : $format;
// Short representation of month in format
if ((strpos($format, '\M') === false && strpos($format, 'M') !== false) || (strpos($format, '\r') === false && strpos($format, 'r') !== false))
{
$lang_dates['May'] = $lang_dates['May_short'];
}
unset($lang_dates['May_short']);
return strtr(@date(str_replace('|', '', $format), $date), $lang_dates);
}
language/en/common.php
find:
listed after:
Code: Select all
'BIRTHDAYS_AHEAD' => 'Users with a birthday within the next %d days',
language/en/acp/board.php
find:
Code: Select all
'ALLOW_BIRTHDAYS_EXPLAIN' => 'Allow birthdays to be entered and age being displayed in profiles. Please note the birthday list within the board index is controlled by a separate load setting.',
listed after:
Code: Select all
'ALLOW_BIRTHDAYS_AHEAD' => 'Number of Days to display upcoming birthdays',
'ALLOW_BIRTHDAYS_AHEAD_EXPLAIN' => 'Displays the upcoming birthdays on the index page. Entering 0 or negative numbers will disable this feature.',
These edits should be on index_body.html
Code: Select all
<!-- IF S_DISPLAY_BIRTHDAY_LIST and BIRTHDAY_LIST or BIRTHDAYS_AHEAD_LIST -->
and
Code: Select all
{L_NO_BIRTHDAYS}<!-- ENDIF --><br /><!-- IF BIRTHDAYS_AHEAD_LIST -->{L_BIRTHDAYS_AHEAD}: <strong>{BIRTHDAYS_AHEAD_LIST}</strong><!-- ENDIF -->
I would like to help ypu more Anggun but really not sure why you are getting the error. The other option is to locate this upcoming birthday mods thread on phpbb.com and ask the author if they've seen the error before. It may even have been posted in there.