Strona 1 z 1

Błąd przy tworzeniu nowego forum

: 17 lutego 2013, 14:53
autor: lopPL
Wyrzuca mi poniższy błąd gdy chcę utworzyć nowy dział.. Odinstalowałem "Avatar of Poster" poprzez automoda a błąd nadal występuje. Co jest nie tak?

Kod: Zaznacz cały

Błąd ogólny
SQL ERROR [ mysqli ]

Field 'forum_last_poster_avatar' 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, prune_days, prune_viewed, prune_freq, forum_options, forum_flags, left_id, right_id) VALUES (3, 1, 0, '', 'dsfdf', '', '', '', 7, '', '', '', 7, '', '', '', 0, 1, 0, 0, 1, 0, 0, 7, 7, 1, 0, 48, '16', 17)

BACKTRACE

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

FILE: [ROOT]/includes/db/dbal.php
LINE: 757
CALL: trigger_error()

FILE: [ROOT]/includes/db/mysqli.php
LINE: 182
CALL: dbal->sql_error()

FILE: [ROOT]/includes/acp/acp_forums.php
LINE: 1017
CALL: dbal_mysqli->sql_query()

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

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

FILE: [ROOT]/adm/index.php
LINE: 74
CALL: p_master->load_active()

Re: Błąd przy tworzeniu nowego forum

: 17 lutego 2013, 15:02
autor: @Marcin

Re: Błąd przy tworzeniu nowego forum

: 17 lutego 2013, 16:23
autor: lopPL
Spasiba :)

Re: Błąd przy tworzeniu nowego forum

: 17 lutego 2013, 16:51
autor: lopPL
Teraz wyrzuca to przy tworzeniu nowego wątku

Kod: Zaznacz cały

SQL ERROR [ mysqli ]

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

SQL

INSERT INTO phpbb_topics (topic_poster, topic_time, topic_last_view_time, forum_id, icon_id, topic_approved, topic_title, topic_first_poster_name, topic_first_poster_colour, topic_type, topic_time_limit, topic_attachment) VALUES (2, 1361116266, 1361116266, 4, 0, 1, 'sdh', 'StudioUrsus4514', '000000', 0, 0, 0)

BACKTRACE

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

FILE: [ROOT]/includes/db/dbal.php
LINE: 757
CALL: trigger_error()

FILE: [ROOT]/includes/db/mysqli.php
LINE: 182
CALL: dbal->sql_error()

FILE: [ROOT]/includes/functions_posting.php
LINE: 1984
CALL: dbal_mysqli->sql_query()

FILE: [ROOT]/posting.php
LINE: 1134
CALL: submit_post()

Re: Błąd przy tworzeniu nowego forum

: 18 lutego 2013, 15:08
autor: jaroslw
Zerknij na ten artykuł i zawarty tam skrypt:
https://www.phpbb.com/kb/article/doesnt ... ue-errors/