hab mit dieser methode http://www.phpbb.com/phpBB/viewtopic.php?t=68482 (patch -p0 < patchfile) meine 2.0.3 er geuppt. anschliessen noch das alte contrib verzeichnis durch das neue ersetzt und nun sieht man das:
http://www.bombykol.de/forum/
die zeilen, um die es dort geht, lauten wie folgt:
common.php lines 174-190
Code: Alles auswählen
if( !($result = $db->sql_query($sql)) )
{
message_die(CRITICAL_ERROR, "Could not query config information", "", __LINE__, __FILE__, $sql);
}
while ( $row = $db->sql_fetchrow($result) )
{
$board_config[$row['config_name']] = $row['config_value'];
}
if (file_exists('install') || file_exists('contrib'))
{
message_die(GENERAL_MESSAGE, 'Please ensure both the install/ and contrib/ directories are deleted');
}
//
// Show 'Board is disabled' message if needed.
functions.php line 688-700
Code: Alles auswählen
// This function is for compatibility with PHP 4.x's realpath()
// function. In later versions of PHP, it needs to be called
// to do checks with some functions. Older versions of PHP don't
// seem to need this, so we'll just return the original value.
// dougk_ff7 <October 5, 2002>
function phpbb_realpath($path)
{
return (!@function_exists('realpath') || !@realpath($phpbb_root_path . 'includes/functions.'.$phpEx)) ? $path : @realpath($path);
}
function redirect($url)
{
global $db, $board_config;