php_config gelöscht
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.1, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Eine Neuinstallation von phpBB 2.0 wird auf phpBB.de nicht mehr unterstützt.
Siehe auch Entwicklungs-Ende von phpBB 2.0 - Auswirkungen auf phpBB.de
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.1, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Eine Neuinstallation von phpBB 2.0 wird auf phpBB.de nicht mehr unterstützt.
Siehe auch Entwicklungs-Ende von phpBB 2.0 - Auswirkungen auf phpBB.de
php_config gelöscht
Moin!
Ich hab "aus Versehen" die Table php_config gelöscht und kann nun nicht mehr auf mein Forum zugreifen.
Was ich noch habe:
Neustes BackUp des Forums
Neustes BackUp der DB, bis eben auf die php_config
Hatte ein 2.0.10, das ich vorhin auf 2.0.11 geupdatet habe.
Was kann ich tun?
Ich hab "aus Versehen" die Table php_config gelöscht und kann nun nicht mehr auf mein Forum zugreifen.
Was ich noch habe:
Neustes BackUp des Forums
Neustes BackUp der DB, bis eben auf die php_config
Hatte ein 2.0.10, das ich vorhin auf 2.0.11 geupdatet habe.
Was kann ich tun?
-
- Ehemaliges Teammitglied
- Beiträge: 5703
- Registriert: 26.02.2004 00:09
Wenn Du noch ein älteres Backup hast kannst Du die config-Tabelle daraus verwenden.
Ansonsten erstellst Du mit: (Präfix ggf. anpassen) Die Tabelle neu.
Dann füllst Du sie mit Standardwerten: (auch hier Präfix ggf. anpassen)Evtl. musst Du server_name und script_path direkt in der DB anpassen um dich einloggen zu können. (KB:login)
Danach im ACP wieder die gewünschten Werte eintragen.
Gruß Christian
Ansonsten erstellst Du mit: (Präfix ggf. anpassen)
Code: Alles auswählen
CREATE TABLE phpbb_config (
config_name varchar(255) NOT NULL,
config_value varchar(255) NOT NULL,
PRIMARY KEY (config_name)
);
Dann füllst Du sie mit Standardwerten: (auch hier Präfix ggf. anpassen)
Code: Alles auswählen
INSERT INTO phpbb_config (config_name, config_value) VALUES ('config_id','1');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('board_disable','0');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('sitename','yourdomain.com');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('site_desc','A _little_ text to describe your forum');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('cookie_name','phpbb2mysql');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('cookie_path','/');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('cookie_domain','');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('cookie_secure','0');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('session_length','3600');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('allow_html','0');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('allow_html_tags','b,i,u,pre');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('allow_bbcode','1');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('allow_smilies','1');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('allow_sig','1');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('allow_namechange','0');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('allow_theme_create','0');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('allow_avatar_local','0');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('allow_avatar_remote','0');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('allow_avatar_upload','0');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('enable_confirm', '0');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('override_user_style','0');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('posts_per_page','15');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('topics_per_page','50');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('hot_threshold','25');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('max_poll_options','10');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('max_sig_chars','255');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('max_inbox_privmsgs','50');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('max_sentbox_privmsgs','25');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('max_savebox_privmsgs','50');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('board_email_sig','Thanks, The Management');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('board_email','youraddress@yourdomain.com');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('smtp_delivery','0');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('smtp_host','');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('smtp_username','');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('smtp_password','');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('sendmail_fix','0');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('require_activation','0');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('flood_interval','15');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('board_email_form','0');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('avatar_filesize','6144');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('avatar_max_width','80');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('avatar_max_height','80');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('avatar_path','images/avatars');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('avatar_gallery_path','images/avatars/gallery');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('smilies_path','images/smiles');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('default_style','1');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('default_dateformat','D M d, Y g:i a');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('board_timezone','0');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('prune_enable','1');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('privmsg_disable','0');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('gzip_compress','0');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('coppa_fax', '');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('coppa_mail', '');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('record_online_users', '0');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('record_online_date', '0');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('server_name', 'www.myserver.tld');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('server_port', '80');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('script_path', '/phpBB2/');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('version', '.0.11');
Danach im ACP wieder die gewünschten Werte eintragen.
Gruß Christian
---
Installiere das Forum neu, dabei wird eine neue phpbb_config Tabelle erstellt und danach spielst Du das Backup, in dem die phpbb_config fehlt, ein.
Worauf Du achten mußt ist, daß Du beim einspielen des Dumps "drop-table" aktiviert hast, das heißt daß alle bereits existierenden Tabellen dabei überschreiben werden.
Für die Neuinstallation müsste reichen, wenn Du Dir aus dem entsprechenden Versions-Download die Ordner "install" und "contribute" auf den Webspace kopierst.
Und dann müssten evt. noch SQL-Befehle der installierten MODs ausgeführt werden, die die phpbb_config verändern.
Worauf Du achten mußt ist, daß Du beim einspielen des Dumps "drop-table" aktiviert hast, das heißt daß alle bereits existierenden Tabellen dabei überschreiben werden.
Für die Neuinstallation müsste reichen, wenn Du Dir aus dem entsprechenden Versions-Download die Ordner "install" und "contribute" auf den Webspace kopierst.
Und dann müssten evt. noch SQL-Befehle der installierten MODs ausgeführt werden, die die phpbb_config verändern.
Zuletzt geändert von BZebra am 21.12.2004 15:20, insgesamt 2-mal geändert.
na das is ja nu ganz grosser mist ..
ok beide codes copieren und über phpmyadmin/sql in deine datenbank übertragen ( standarttabelle)
bei dem folgenden code müssen alle angaben angepasst werden
vor dem "hochladen in die datenbank sollten servername (deine domain ohne http:// ) scriptpfad , imagespfad, avatarpfad unbedingt angepasst werden .. alle andren änderungen (emaiadresse etc ), kannst du später über das acp ändern
wann wurde dein board gestartet ??
nach dem hochladen der beiden codes solltest du nochmal die updatedatei über die DB laufen lassen ( installordner hochladen und updatedatei aufrufen )
ok beide codes copieren und über phpmyadmin/sql in deine datenbank übertragen ( standarttabelle)
Code: Alles auswählen
CREATE TABLE `phpbb_config` (
`config_name` varchar(255) NOT NULL default '',
`config_value` varchar(255) NOT NULL default '',
PRIMARY KEY (`config_name`)
);
Code: Alles auswählen
INSERT INTO `phpbb_config` VALUES ('config_id', '1');
INSERT INTO `phpbb_config` VALUES ('board_disable', '1');
INSERT INTO `phpbb_config` VALUES ('sitename', 'name des forums');
INSERT INTO `phpbb_config` VALUES ('site_desc', 'beschreibung des forums');
INSERT INTO `phpbb_config` VALUES ('cookie_name', 'phpbb2mysql');
INSERT INTO `phpbb_config` VALUES ('cookie_path', '/');
INSERT INTO `phpbb_config` VALUES ('cookie_domain', '');
INSERT INTO `phpbb_config` VALUES ('cookie_secure', '0');
INSERT INTO `phpbb_config` VALUES ('session_length', '3600');
INSERT INTO `phpbb_config` VALUES ('allow_html', '0');
INSERT INTO `phpbb_config` VALUES ('allow_html_tags', 'b,i,u,pre');
INSERT INTO `phpbb_config` VALUES ('allow_bbcode', '1');
INSERT INTO `phpbb_config` VALUES ('allow_smilies', '1');
INSERT INTO `phpbb_config` VALUES ('allow_sig', '0');
INSERT INTO `phpbb_config` VALUES ('allow_namechange', '0');
INSERT INTO `phpbb_config` VALUES ('allow_theme_create', '0');
INSERT INTO `phpbb_config` VALUES ('allow_avatar_local', '0');
INSERT INTO `phpbb_config` VALUES ('allow_avatar_remote', '1');
INSERT INTO `phpbb_config` VALUES ('allow_avatar_upload', '0');
INSERT INTO `phpbb_config` VALUES ('enable_confirm', '0');
INSERT INTO `phpbb_config` VALUES ('override_user_style', '0');
INSERT INTO `phpbb_config` VALUES ('posts_per_page', '30');
INSERT INTO `phpbb_config` VALUES ('topics_per_page', '60');
INSERT INTO `phpbb_config` VALUES ('hot_threshold', '15');
INSERT INTO `phpbb_config` VALUES ('max_poll_options', '10');
INSERT INTO `phpbb_config` VALUES ('max_sig_chars', '255');
INSERT INTO `phpbb_config` VALUES ('max_inbox_privmsgs', '25');
INSERT INTO `phpbb_config` VALUES ('max_sentbox_privmsgs', '25');
INSERT INTO `phpbb_config` VALUES ('max_savebox_privmsgs', '25');
INSERT INTO `phpbb_config` VALUES ('board_email_sig', 'emailsignatur.de');
INSERT INTO `phpbb_config` VALUES ('board_email', 'deine@addy.de');
INSERT INTO `phpbb_config` VALUES ('smtp_delivery', '0');
INSERT INTO `phpbb_config` VALUES ('smtp_host', '');
INSERT INTO `phpbb_config` VALUES ('smtp_username', '');
INSERT INTO `phpbb_config` VALUES ('smtp_password', '');
INSERT INTO `phpbb_config` VALUES ('sendmail_fix', '1');
INSERT INTO `phpbb_config` VALUES ('require_activation', '1');
INSERT INTO `phpbb_config` VALUES ('flood_interval', '15');
INSERT INTO `phpbb_config` VALUES ('board_email_form', '1');
INSERT INTO `phpbb_config` VALUES ('avatar_filesize', '6144');
INSERT INTO `phpbb_config` VALUES ('avatar_max_width', '80');
INSERT INTO `phpbb_config` VALUES ('avatar_max_height', '80');
INSERT INTO `phpbb_config` VALUES ('avatar_path', 'images/avatars');
INSERT INTO `phpbb_config` VALUES ('avatar_gallery_path', 'images/avatars/gallery');
INSERT INTO `phpbb_config` VALUES ('smilies_path', 'images/smiles');
INSERT INTO `phpbb_config` VALUES ('default_style', '11');
INSERT INTO `phpbb_config` VALUES ('default_dateformat', 'd.m.Y, H:i');
INSERT INTO `phpbb_config` VALUES ('board_timezone', '1');
INSERT INTO `phpbb_config` VALUES ('prune_enable', '0');
INSERT INTO `phpbb_config` VALUES ('privmsg_disable', '0');
INSERT INTO `phpbb_config` VALUES ('gzip_compress', '0');
INSERT INTO `phpbb_config` VALUES ('coppa_fax', '');
INSERT INTO `phpbb_config` VALUES ('coppa_mail', 'deine@addy.de);
INSERT INTO `phpbb_config` VALUES ('record_online_users', '12');
INSERT INTO `phpbb_config` VALUES ('record_online_date', '1099760280');
INSERT INTO `phpbb_config` VALUES ('server_name', 'deinservername.de');
INSERT INTO `phpbb_config` VALUES ('server_port', '80');
INSERT INTO `phpbb_config` VALUES ('script_path', 'dein schriptpfad');
INSERT INTO `phpbb_config` VALUES ('version', '.0.11');
INSERT INTO `phpbb_config` VALUES ('board_startdate', '1084910802');
INSERT INTO `phpbb_config` VALUES ('default_lang', 'german');
INSERT INTO `phpbb_config` VALUES ('board_note_enable', '1');
INSERT INTO `phpbb_config` VALUES ('board_note', 'Board Note Text');
wann wurde dein board gestartet ??
nach dem hochladen der beiden codes solltest du nochmal die updatedatei über die DB laufen lassen ( installordner hochladen und updatedatei aufrufen )
Zuletzt geändert von marino am 21.12.2004 15:17, insgesamt 2-mal geändert.
DANKE schon mal!! Hat mir schon sehr geholfen.
Allerdings kommt beim Aufruf von dieser update_2011-Datei diese Fehlermeldungen:
Allerdings kommt beim Aufruf von dieser update_2011-Datei diese Fehlermeldungen:
Wasn das schon wieder?Updating to latest stable release
Information
Database type :: mysql4
Previous version :: < RC-3
Updated version :: 2.0.11
Updating database schema
Progress :: . . . . . . . . . . . . Done
Result :: Some queries failed, the statements and errors are listing below
Error :: Can't DROP 'user_autologin_key'. Check that column/key exists
SQL :: ALTER TABLE phpbb_users DROP COLUMN user_autologin_key
Error :: Can't DROP 'rank_max'. Check that column/key exists
SQL :: ALTER TABLE phpbb_ranks DROP COLUMN rank_max
Error :: Duplicate column name 'user_session_time'
SQL :: ALTER TABLE phpbb_users ADD COLUMN user_session_time int(11) DEFAULT '0' NOT NULL, ADD COLUMN user_session_page smallint(5) DEFAULT '0' NOT NULL, ADD INDEX (user_session_time)
Error :: Duplicate column name 'topic_first_post_id'
SQL :: ALTER TABLE phpbb_topics MODIFY topic_moved_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, ADD COLUMN topic_first_post_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, ADD INDEX (topic_first_post_id)
Error :: Duplicate column name 'tr_class1_name'
SQL :: ALTER TABLE phpbb_themes_name ADD COLUMN tr_class1_name varchar(50) NULL, ADD COLUMN tr_class2_name varchar(50) NULL, ADD COLUMN tr_class3_name varchar(50) NULL, ADD COLUMN th_class1_name varchar(50) NULL, ADD COLUMN th_class2_name varchar(50) NULL, ADD COLUMN th_class3_name varchar(50) NULL, ADD COLUMN td_class1_name varchar(50) NULL, ADD COLUMN td_class2_name varchar(50) NULL, ADD COLUMN td_class3_name varchar(50) NULL, ADD COLUMN span_class1_name varchar(50) NULL, ADD COLUMN span_class2_name varchar(50) NULL, ADD COLUMN span_class3_name varchar(50) NULL
Error :: Duplicate key name 'post_id'
SQL :: ALTER TABLE phpbb_search_wordmatch ADD INDEX post_id (post_id)
Error :: Table 'phpbb_confirm' already exists
SQL :: CREATE TABLE phpbb_confirm (confirm_id char(32) DEFAULT '' NOT NULL, session_id char(32) DEFAULT '' NOT NULL, code char(6) DEFAULT '' NOT NULL, PRIMARY KEY (session_id, confirm_id))
This is probably nothing to worry about, update will continue. Should this fail to complete you may need to seek help at our development board. See README for details on how to obtain advice.
Updating data
Progress :: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Updating version and optimizing tables
Progress :: . . Done
Result :: Some queries failed, the statements and errors are listing below
Error :: Duplicate entry 'server_name' for key 1
SQL :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('server_name', 'www.myserver.tld')
Error :: Duplicate entry 'script_path' for key 1
SQL :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('script_path', '/phpBB2/')
Error :: Duplicate entry 'server_port' for key 1
SQL :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('server_port', '80')
Error :: Duplicate entry 'record_online_users' for key 1
SQL :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('record_online_users', '1')
Error :: Duplicate entry 'record_online_date' for key 1
SQL :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('record_online_date', '1103640773')
Error :: Duplicate entry 'enable_confirm' for key 1
SQL :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('enable_confirm', '0')
Error :: Duplicate entry 'sendmail_fix' for key 1
SQL :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('sendmail_fix', '0')
This is probably nothing to worry about, update will continue. Should this fail to complete you may need to seek help at our development board. See README for details on how to obtain advice.
Update completed
You should now visit the General Configuration settings page in the Administration Panel and check the General Configuration of the board. If you updated from versions prior to RC-3 you must update some entries. If you do not do this emails sent from the board will contain incorrect information. Don't forget to delete this file!
-
- Ehemaliges Teammitglied
- Beiträge: 5703
- Registriert: 26.02.2004 00:09
Ja, eigentlich läuft nun alles wieder wie ich das will. Und zwar als Version 2.0.11 MIT Visual Confirmation (oder wie dat heisst). Endlich!!
Ich hab aber hier noch ne Frage: http://www.phpbb.de/viewtopic.php?t=73475


Ich hab aber hier noch ne Frage: http://www.phpbb.de/viewtopic.php?t=73475