phpbb_users importieren!
Verfasst: 22.11.2006 14:57
Hi,
ich bekomme folgenden Fehler wenn ich mein BackUp einspiele:
Ich wollte für ein Browsergame ein Mod installieren, damit da BB Codes klappen. Habe dafür in der Datenbank einen Befehl ausgeführt! Danach ging das Forum aber nicht mehr komplett.
Also habe ich die alten files wieder hochgeladen und die alte sql datei eingespielt.
dann kam ein critical error.
Dann habe ich nochmal das sql backup eingespielt. Nun kam der Fehler
Hoffe hat jmd verstanden sonst einfach nochmal nachfragen.
Hofffentlich kann mir jmd helfen!
mfg
ich bekomme folgenden Fehler wenn ich mein BackUp einspiele:
Code: Alles auswählen
Fehler
SQL-Befehl:
CREATE TABLE phpbb_users(
user_id mediumint( 8 ) NOT NULL ,
user_active tinyint( 1 ) DEFAULT '1',
username varchar( 25 ) NOT NULL ,
user_password varchar( 32 ) NOT NULL ,
user_session_time int( 11 ) NOT NULL ,
user_session_page smallint( 5 ) NOT NULL ,
user_session_topic int( 11 ) NOT NULL ,
user_lastvisit int( 11 ) NOT NULL ,
user_regdate int( 11 ) NOT NULL ,
user_level tinyint( 4 ) ,
user_posts mediumint( 8 ) unsigned NOT NULL ,
user_timezone decimal( 5, 2 ) DEFAULT '0.00' NOT NULL ,
user_style tinyint( 4 ) ,
user_lang varchar( 255 ) ,
user_dateformat varchar( 14 ) DEFAULT 'd M Y H:i' NOT NULL ,
user_new_privmsg smallint( 5 ) unsigned NOT NULL ,
user_unread_privmsg smallint( 5 ) unsigned NOT NULL ,
user_last_privmsg int( 11 ) NOT NULL ,
user_login_tries smallint( 5 ) unsigned NOT NULL ,
user_last_login_try int( 11 ) NOT NULL ,
user_emailtime int( 11 ) ,
user_viewemail tinyint( 1 ) ,
user_attachsig tinyint( 1 ) ,
user_setbm tinyint( 1 ) NOT NULL ,
user_allowhtml tinyint( 1 ) DEFAULT '1',
user_allowbbcode tinyint( 1 ) DEFAULT '1',
user_allowsmile tinyint( 1 ) DEFAULT '1',
user_allowavatar tinyint( 1 ) DEFAULT '1' NOT NULL ,
user_allow_pm tinyint( 1 ) DEFAULT '1' NOT NULL ,
user_allow_viewonline tinyint( 1 ) DEFAULT '1' NOT NULL ,
user_notify tinyint( 1 ) DEFAULT '1' NOT NULL ,
user_notify_pm tinyint( 1 ) NOT NULL ,
user_popup_pm tinyint( 1 ) NOT NULL ,
user_rank int( 11 ) ,
user_avatar varchar( 100 ) ,
user_avatar_type tinyint( 4 ) NOT NULL ,
user_email varchar( 255 ) ,
user_icq varchar( 15 ) ,
user_website varchar( 100 ) ,
user_from varchar( 100 ) ,
user_from_flag varchar( 25 ) ,
user_sig text,
user_sig_bbcode_uidchar( 10 ) ,
user_aim varchar( 255 ) ,
user_yim varchar( 255 ) ,
user_msnm varchar( 255 ) ,
user_occ varchar( 100 ) ,
user_interests varchar( 255 ) ,
user_actkey varchar( 32 ) ,
user_newpasswd varchar( 32 ) ,
ct_postcount varchar( 10 ) NOT NULL ,
ct_posttime varchar( 10 ) NOT NULL ,
ct_searchcount varchar( 10 ) NOT NULL ,
ct_searchtime varchar( 10 ) NOT NULL ,
ct_mailcount int( 10 ) NOT NULL ,
ct_pwreset int( 2 ) NOT NULL ,
ct_unsucclogin int( 10 ) ,
ct_logintry int( 2 ) NOT NULL ,
user_sub_forum tinyint( 1 ) DEFAULT '1' NOT NULL ,
user_split_cat tinyint( 1 ) DEFAULT '1' NOT NULL ,
user_last_topic_title tinyint( 1 ) DEFAULT '1' NOT NULL ,
user_sub_level_links tinyint( 1 ) DEFAULT '2' NOT NULL ,
user_display_viewonline tinyint( 1 ) DEFAULT '2' NOT NULL ,
user_birthday int( 11 ) DEFAULT '999999' NOT NULL ,
user_next_birthday_greeting int( 11 ) NOT NULL ,
user_gender tinyint( 4 ) NOT NULL ,
user_color_group mediumint( 8 ) unsigned NOT NULL ,
user_lastlogon int( 11 ) NOT NULL ,
user_totaltime int( 11 ) ,
user_totallogon int( 11 ) ,
user_totalpages int( 11 ) ,
user_calendar_display_open tinyint( 1 ) NOT NULL ,
user_calendar_header_cells tinyint( 1 ) DEFAULT '7' NOT NULL ,
user_calendar_week_start tinyint( 1 ) DEFAULT '1' NOT NULL ,
user_calendar_nb_row tinyint( 2 ) unsigned DEFAULT '5' NOT NULL ,
user_calendar_birthday tinyint( 1 ) DEFAULT '1' NOT NULL ,
user_calendar_forum tinyint( 1 ) DEFAULT '1' NOT NULL ,
user_warnings smallint( 5 ) ,
user_passwd_change int( 11 ) NOT NULL ,
user_badlogin smallint( 5 ) NOT NULL ,
user_blocktime int( 11 ) NOT NULL ,
user_block_by varchar( 8 ) ,
user_split_global_announce tinyint( 1 ) DEFAULT '1' NOT NULL ,
user_split_announce tinyint( 1 ) DEFAULT '1' NOT NULL ,
user_split_sticky tinyint( 1 ) DEFAULT '1' NOT NULL ,
user_split_news tinyint( 1 ) DEFAULT '1' NOT NULL ,
user_split_topic_split tinyint( 1 ) NOT NULL ,
user_absence tinyint( 1 ) NOT NULL ,
user_absence_mode mediumint( 8 ) NOT NULL ,
user_absence_text text NOT NULL ,
user_announcement_date_display tinyint( 1 ) DEFAULT '1' NOT NULL ,
user_announcement_display tinyint( 1 ) DEFAULT '1' NOT NULL ,
user_announcement_display_forum tinyint( 1 ) DEFAULT '1' NOT NULL ,
user_announcement_split tinyint( 1 ) DEFAULT '1' NOT NULL ,
user_announcement_forum tinyint( 1 ) DEFAULT '1' NOT NULL ,
user_use_ajax_preview tinyint( 1 ) DEFAULT '1' NOT NULL ,
user_use_ajax_edit tinyint( 1 ) DEFAULT '1' NOT NULL ,
stamm varchar( 255 ) DEFAULT '))�((', st_e_nick varchar( 50 ) ,
PRIMARY KEY ( user_id ) ,
KEY user_session_time( user_session_time )
);
MySQL meldet: Dokumentation
#1067 - Invalid default value for 'stamm'
Also habe ich die alten files wieder hochgeladen und die alte sql datei eingespielt.
dann kam ein critical error.
Dann habe ich nochmal das sql backup eingespielt. Nun kam der Fehler
Deshalb will ich die Tabele phpbb_users wiederherstellen.phpBB : Critical Error
Error doing DB query userdata row fetch
DEBUG MODE
SQL Error : 1146 Table 'darklooord01.phpbb_users' doesn't exist
SELECT u.*, s.* FROM phpbb_sessions s, phpbb_users u WHERE s.session_id = '7788ab7c0dda8ab19a2e4ec5da7e6c08' AND u.user_id = s.session_user_id AND session_time > 1164203633
Line : 333
File : sessions.php
Hoffe hat jmd verstanden sonst einfach nochmal nachfragen.
Hofffentlich kann mir jmd helfen!
mfg