Code: Alles auswählen
SQL ERROR [ mysqli ]
Field 'topic_last_post_subject' doesn't have a default value [1364]
SQL
INSERT INTO phpbb_topics (topic_poster, topic_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, 1234283745, 6, 0, 1, 'Titel des Beitrags', 'test', 'AA0000', 0, 0, 0)
BACKTRACE
FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()
FILE: includes/functions_posting.php
LINE: 1850
CALL: dbal_mysqli->sql_query()
FILE: posting.php
LINE: 1001
CALL: submit_post()
Bzw. was ist der default_value für das Feld 'topic_last_post_subject'?
Wenn ich obige SQL-Anweisung in phpMyAdmin ausführe, wird sie anstandlos ausgeführt und ein neuer Eintrag in der Tabelle erstellt.
Noch ein paar Infos:
MySQL-Client-Version: 5.0.67
phpMyAdmin Versionsinformationen: 3.0.1.1