Fatal error: Call to undefined function: get_buddies()

Hulp nodig bij een modificaties of op zoek naar een MOD? Bekijk ons archief. Support wordt helaas niet meer verleend.
Forumregels

Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
phpBB2.0.x
Gesloten
michiel87
Berichten: 47
Lid geworden op: 14 apr 2004, 19:45

Fatal error: Call to undefined function: get_buddies()

Bericht door michiel87 » 12 okt 2004, 10:44

Ik ben mijn forum aan het updaten van 2.0.7 naar 2.0.10

Dan heb ik 3 foutmeldingen:
Fatal error: Call to undefined function: get_buddies() in /home/httpd/vhosts/auto-banden.nl/httpdocs/rc/portal.php on line 318
Regel 64 tot 82:

Code: Selecteer alles

// 
// Buddylist actions 
// 
$buddy_id = ( isset($HTTP_GET_VARS['b']) ) ? intval($HTTP_GET_VARS['b']) : 0; 
$buddy_action = ( isset($HTTP_GET_VARS['buddy']) ) ? $HTTP_GET_VARS['buddy'] : ''; 
if( $buddy_id && $buddy_action != '' ) 
{ 
  if( $buddy_action == 'add' ) 
  { 
    add_buddy($userdata['user_id'], $buddy_id); 
  } 
  else if( $buddy_action == 'remove' ) 
  { 
    remove_buddy($userdata['user_id'], $buddy_id); 
  } 
} 
// 
// END: Buddylist actions 
// 
Regel 315 tot 324:

Code: Selecteer alles

//
// Generate the page
//
get_buddies($userdata);
$template->pparse('body');

include($phpbb_root_path . 'includes/page_tail.'.$phpEx);

?>
Bij de index is het hetzelfde:
Fatal error: Call to undefined function: get_buddies() in index.php on line 492
Regel 34 tot 52 is hetzelfde als regel 64 tot 82 in portal.php.
Regel 489 tot 497 is hetzelfde als regel 315 tot 324 in portal.php.

Bij privmsg.php:
Fatal error: Call to undefined function: get_buddies() in privmsg.php on line 2170
Regel 2170 tot 2175:

Code: Selecteer alles

get_buddies($userdata);
$template->pparse('body');

include($phpbb_root_path . 'includes/page_tail.'.$phpEx);

?>
Regel 116 tot 134:

Code: Selecteer alles

//
// Buddylist actions
//
$buddy_id = ( isset($HTTP_GET_VARS['b']) ) ? intval($HTTP_GET_VARS['b']) : 0;
$buddy_action = ( isset($HTTP_GET_VARS['buddy']) ) ? $HTTP_GET_VARS['buddy'] : '';
if( $buddy_id && $buddy_action != '' )
{
	if( $buddy_action == 'add' )
	{
		add_buddy($userdata['user_id'], $buddy_id);
	}
	else if( $buddy_action == 'remove' )
	{
		remove_buddy($userdata['user_id'], $buddy_id);
	}
}
//
// END: Buddylist actions
//

Ik heb nu tijdelijk

Code: Selecteer alles

get_buddies($userdata);
op de pagina's weggehaald, dan kan het forum wel gebruikt worden

michiel87
Berichten: 47
Lid geworden op: 14 apr 2004, 19:45

Bericht door michiel87 » 12 okt 2004, 10:57

Heb de oplossing al gevonden :D

Deze code:

Code: Selecteer alles

include($phpbb_root_path . 'includes/functions_buddylist.'.$phpEx);
in common.php zetten :thumb: :lol:

Gesloten