Wenn ich jetzt im Adminindex auf DB Maintenance klicke erscheint folgendes:
wenn ich ftp://xxx.phpBB2/update_db_for_dbmtnc.php ausführe kommtEs wurde keine Einstellung für dbmtnc_disallow_postcounter in der Konfiguration des Boards gefunden. DB Maintenance kann ohne diese Einstellung nicht ausgeführt werden.
Eventuell hast du bei der Installation vergessen, die angegebenen SQL-Befehle auszuführen.
sql_query($sql)) ) { $errored = true; $error_ary['sql'][] = ( is_array($sql) ) ? $sql[$i] : $sql; $error_ary['error_code'][] = $db->sql_error(); } if ( $echo_dot ) { echo "."; flush(); } return $result; } define('IN_PHPBB', 1); $phpbb_root_path = './'; include($phpbb_root_path . 'extension.inc'); include($phpbb_root_path . 'config.'.$phpEx); include($phpbb_root_path . 'includes/constants.'.$phpEx); include($phpbb_root_path . 'includes/functions.'.$phpEx); include($phpbb_root_path . 'includes/functions_admin.'.$phpEx); include($phpbb_root_path . 'includes/db.'.$phpEx); ?>
Forum Home Updating database for bookmarks
Information
Database type :: ' . SQL_LAYER . '
'; switch ( SQL_LAYER ) { case 'mysql': case 'mysql4': $sql[] = "DELETE FROM " . CONFIG_TABLE . " WHERE config_name = 'index_rebuild_position'"; $sql[] = "DELETE FROM " . CONFIG_TABLE . " WHERE config_name = 'index_rebuild_end_position'"; $sql[] = "DELETE FROM " . CONFIG_TABLE . " WHERE config_name = 'index_rebuild_postlimit'"; $sql[] = "INSERT IGNORE INTO " . CONFIG_TABLE . " (config_name, config_value) VALUES ('dbmtnc_rebuild_end', '0')"; $sql[] = "INSERT IGNORE INTO " . CONFIG_TABLE . " (config_name, config_value) VALUES ('dbmtnc_rebuild_pos', '-1')"; $sql[] = "INSERT IGNORE INTO " . CONFIG_TABLE . " (config_name, config_value) VALUES ('dbmtnc_rebuildcfg_maxmemory', '500')"; $sql[] = "INSERT IGNORE INTO " . CONFIG_TABLE . " (config_name, config_value) VALUES ('dbmtnc_rebuildcfg_minposts', '3')"; $sql[] = "INSERT IGNORE INTO " . CONFIG_TABLE . " (config_name, config_value) VALUES ('dbmtnc_rebuildcfg_php3only', '0')"; $sql[] = "INSERT IGNORE INTO " . CONFIG_TABLE . " (config_name, config_value) VALUES ('dbmtnc_rebuildcfg_php3pps', '1')"; $sql[] = "INSERT IGNORE INTO " . CONFIG_TABLE . " (config_name, config_value) VALUES ('dbmtnc_rebuildcfg_php4pps', '8')"; $sql[] = "INSERT IGNORE INTO " . CONFIG_TABLE . " (config_name, config_value) VALUES ('dbmtnc_rebuildcfg_timelimit', '240')"; $sql[] = "INSERT IGNORE INTO " . CONFIG_TABLE . " (config_name, config_value) VALUES ('dbmtnc_rebuildcfg_timeoverwrite', '0')"; $sql[] = "INSERT IGNORE INTO " . CONFIG_TABLE . " (config_name, config_value) VALUES ('dbmtnc_disallow_postcounter', '0')"; $sql[] = "INSERT IGNORE INTO " . CONFIG_TABLE . " (config_name, config_value) VALUES ('dbmtnc_disallow_rebuild', '0')"; break; default: die("DB-Layer not supported by this Mod. Please look in MOD-Description"); break; } echo "
Updating database schema
\n"; echo "
Progress :: "; flush(); $error_ary = array(); $errored = false; if ( count($sql) ) { for($i = 0; $i < count($sql); $i++) { _sql($sql[$i], $errored, $error_ary); } echo " Done
Result :: \n"; if ( $errored ) { echo " Some queries failed, the statements and errors are listing below\n
* "; for($i = 0; $i < count($error_ary['sql']); $i++) { echo "Error :: " . $error_ary['error_code'][$i]['message'] . "
"; echo "SQL :: " . $error_ary['sql'][$i] . "
"; } } else { echo "No errors\n"; } } else { echo " No updates required
\n"; } // // // unset($sql); $error_ary = array(); $errored = false; ?>
Hat jemand ne Idee was ich da falsch gemacht habe?!?