Seite 1 von 1

Neues Forum anlegen funktioniert nicht

Verfasst: 31.12.2014 13:58
von Digidani
Nach der erfolgreichen Konvertierung zum 3.1.2 wollte ich heute ein neues Forum anlegen - Standard und ohne Kopieren von Berechtigungen. Leider funktioniert dies nicht (könnte natürlich an einer Extension liegen - nur welcher...). Folgender Fehler erscheint:
Allgemeiner Fehler
SQL ERROR [ mysql4 ]

Field 'attributes_selected' doesn't have a default value [1364]

SQL

INSERT INTO phpbb_forums (parent_id, forum_type, forum_status, forum_parents, forum_name, forum_link, forum_desc, forum_desc_uid, forum_desc_options, forum_desc_bitfield, forum_rules, forum_rules_uid, forum_rules_options, forum_rules_bitfield, forum_rules_link, forum_image, forum_style, display_subforum_list, display_on_index, forum_topics_per_page, enable_indexing, enable_icons, enable_prune, enable_shadow_prune, prune_days, prune_viewed, prune_freq, prune_shadow_days, prune_shadow_freq, forum_postingtemplate, forum_options, forum_flags, left_id, right_id) VALUES (0, 1, 0, '', 'Kalender', '', '', '', 7, '', '', '', 7, '', '', '', 0, 1, 0, 0, 1, 0, 0, 0, 7, 7, 1, 7, 1, '', 0, 48, 89, 90)

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 855
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysql.php
LINE: 181
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysql->sql_query()

FILE: [ROOT]/includes/acp/acp_forums.php
LINE: 1125
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/includes/acp/acp_forums.php
LINE: 199
CALL: acp_forums->update_forum_data()

FILE: [ROOT]/includes/functions_module.php
LINE: 674
CALL: acp_forums->main()

FILE: [ROOT]/adm/index.php
LINE: 81
CALL: p_master->load_active()
Wozu gehört "attributes_selected"?

Re: Neues Forum anlegen funktioniert nicht

Verfasst: 31.12.2014 14:13
von Digidani
Hab nochmal gegoogelt (diesmal etwas weiter gefasst) und eine fast analoge Sache aus 2008 gefunden - und dort wurde ein SQL-Befehl empfohlen, den ich (nach einem Backup natürlich) probiert habe:

Code: Alles auswählen

ALTER TABLE `phpbb_forums` CHANGE `attributes_selected` `attributes_selected` TEXT CHARACTER SET utf8 COLLATE utf8_bin DEFAULT '' NOT NULL;
Und nun gehts erstmal. Konnte Forum anlegen. :)

Re: Neues Forum anlegen funktioniert nicht

Verfasst: 02.01.2015 21:56
von gn#36
Siehe auch KB:no_default Die Skripte sind zwar auf 3.0.x bezogen, aber das Problem von der Beschreibung her ist das gleiche.