Pagina 1 van 1
Fatal error: Call to undefined function: encode_ip()
Geplaatst: 14 nov 2003, 21:34
door 2.0_Nick
ik heb een hack geinstaleerd en nu dit: Fatal error: Call to undefined function: encode_ip() in /data/members/free/tripod/nl/r/c/t/rctcenter/htdocs/phpBB-2.0.5/phpBB2/common.php on line 159
weet iemand waar die funcite thuishoort en wat de code is ???
Geplaatst: 14 nov 2003, 21:49
door Podium4
Wat moest je veranderen in common.php voor de mod en heb je dat goed gedaan....
Dat is eigenlijk de eerste vraag die je jezelf moet stellen als zo'n fout krijgt... succes
Geplaatst: 14 nov 2003, 21:53
door 2.0_Nick
dit moest doen:
Code: Selecteer alles
#
#-----[ OPEN ]------------------------------------------
#
common.php
#
#-----[ FIND ]------------------------------------------
#
include($phpbb_root_path . 'includes/db.'.$phpEx);
#
#-----[ AFTER, ADD ]------------------------------------------
#
if ( defined('IN_CASHMOD') )
{
include($phpbb_root_path . 'includes/functions_cash.'.$phpEx);
}
heeft het toevallig met een andere pagina te maken ofzow
Geplaatst: 14 nov 2003, 21:56
door 2.0_Nick
en dit in de functies:
Code: Selecteer alles
#
#-----[ OPEN ]------------------------------------------
#
includes/functions.php
#
#-----[ FIND ]------------------------------------------
#
include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx);
#
#-----[ AFTER, ADD ]------------------------------------------
#
if ( defined('IN_CASHMOD') )
{
if ( !file_exists(@phpbb_realpath($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_cash.'.$phpEx)) )
{
include($phpbb_root_path . 'language/lang_english/lang_cash.' . $phpEx);
}
else
{
include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_cash.' . $phpEx);
}
}
#
#-----[ OPEN ]------------------------------------------
#
includes/functions_post.php
#
#-----[ FIND ]------------------------------------------
##KON IK NIET VINDEN
$meta = '<meta http-equiv="refresh" content="3;url=' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=" . $post_id) . '#' . $post_id . '">';
#
#-----[ BEFORE, ADD ]------------------------------------------
#
$cash_message = $GLOBALS['cm_posting']->update_post($mode, $post_data, $forum_id, $topic_id, $post_id, $topic_type, $bbcode_uid, $post_username, $post_message);
#
#-----[ FIND ]------------------------------------------
#
$message = $lang['Stored']
#
#-----[ IN-LINE FIND ]------------------------------------------
#
$lang['Stored']
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
. '<br />' . $cash_message
#
#-----[ FIND ]------------------------------------------
#
include($phpbb_root_path . 'includes/functions_search.'.$phpEx);
#
#-----[ BEFORE, ADD ]------------------------------------------
#
$GLOBALS['cm_posting']->update_delete($mode, $post_data, $forum_id, $topic_id, $post_id);
zoals in hierboven staat kon ik :
Code: Selecteer alles
$meta = '<meta http-equiv="refresh" content="3;url=' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=" . $post_id) . '#' . $post_id . '">';
niet vinden mischien zat daar een fout
Geplaatst: 14 nov 2003, 21:57
door Podium4
check dan effe of dit in common.php staat
Code: Selecteer alles
include($phpbb_root_path . 'includes/db.'.$phpEx);
if ( defined('IN_CASHMOD') )
{
include($phpbb_root_path . 'includes/functions_cash.'.$phpEx);
}
staat functions_cash.php in includes/ map?
Geplaatst: 14 nov 2003, 22:04
door 2.0_Nick
yep staat er allemaal maar iets daar onder kan die de encode_ip() functie niet vinden wat is hem of waar zit ie
Geplaatst: 14 nov 2003, 22:08
door 2.0_Nick
en als ik nu op me site kijk lijkt ut net alsof ik gebanned ben zoon irritant wit scherm

Geplaatst: 15 nov 2003, 08:44
door 2.0_Nick
niemand die hier een oplossing voor heeft ..??
Geplaatst: 15 nov 2003, 23:06
door 2.0_Nick
laat maar heb ut verwijderd en die pagina opnieuw geinstaleerd