Code: Alles auswählen
Allgemeiner Fehler
SQL ERROR [ mysql4 ]
Feld 'topic_last_poster_name' hat keinen Vorgabewert [1364]
SQL
INSERT INTO phpbb3_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, 1265133128, 1265133128, 1, 0, 1, 'test', 'Doppeladler', '', 0, 0, 0)
BACKTRACE
FILE: includes/db/mysql.php
LINE: 174
CALL: dbal->sql_error()
FILE: includes/functions_posting.php
LINE: 1964
CALL: dbal_mysql->sql_query()
FILE: posting.php
LINE: 1108
CALL: submit_post()
Die MySQL Version ist tatsächlich von 4.? auf 5.0.22 angewachsen.
Ich habe also die Datei mysql_upgrader.php für phpBB 3.0.6 heruntergeladen, die Zeile gelöscht, per FTP hochgeladen und ausgeführt. Das Ergebnis war eine sehr lange Liste mit SQL Anweisungen, die ich im phpMyAdmin unter der betreffenden Datenbank ausgeführt habe (Die ganze Liste auf einmal - kenn mich da überhupt nicht aus und hoffe das war richtig). Als Antwort kam von phpMyAdmin das hier:
Code: Alles auswählen
SQL-Befehl:
ALTER TABLE phpbb3_posts MODIFY post_id mediumint( 8 ) UNSIGNED NOT NULL AUTO_INCREMENT ,
MODIFY topic_id mediumint( 8 ) UNSIGNED DEFAULT '0' NOT NULL ,
MODIFY forum_id mediumint( 8 ) UNSIGNED DEFAULT '0' NOT NULL ,
MODIFY poster_id mediumint( 8 ) UNSIGNED DEFAULT '0' NOT NULL ,
MODIFY icon_id mediumint( 8 ) UNSIGNED DEFAULT '0' NOT NULL ,
MODIFY poster_ip varchar( 40 ) DEFAULT '' NOT NULL COLLATE utf8_bin,
MODIFY post_time int( 11 ) UNSIGNED DEFAULT '0' NOT NULL ,
MODIFY post_approved tinyint( 1 ) UNSIGNED DEFAULT '1' NOT NULL ,
MODIFY post_reported tinyint( 1 ) UNSIGNED DEFAULT '0' NOT NULL ,
MODIFY enable_bbcode tinyint( 1 ) UNSIGNED DEFAULT '1' NOT NULL ,
MODIFY enable_smilies tinyint( 1 ) UNSIGNED DEFAULT '1' NOT NULL ,
MODIFY enable_magic_url tinyint( 1 ) UNSIGNED DEFAULT '1' NOT NULL ,
MODIFY enable_sig tinyint( 1 ) UNSIGNED DEFAULT '1' NOT NULL ,
MODIFY post_username varchar( 255 ) DEFAULT '' NOT NULL COLLATE utf8_bin,
MODIFY post_subject varchar( 255 ) DEFAULT '' NOT NULL COLLATE utf8_unicode_ci,
MODIFY post_text mediumtext NOT NULL COLLATE utf8_bin,
MODIFY post_checksum varchar( 32 ) DEFAULT '' NOT NULL COLLATE utf8_bin,
MODIFY post_attachment tinyint( 1 ) UNSIGNED DEFAULT '0' NOT NULL ,
MODIFY bbcode_bitfield varchar( 255 ) DEFAULT '' NOT NULL COLLATE utf8_bin,
MODIFY bbcode_uid varchar( 8 ) DEFAULT '' NOT NULL COLLATE utf8_bin,
MODIFY post_postcount tinyint( 1 ) UNSIGNED DEFAULT '1' NOT NULL ,
MODIFY post_edit_time int( 11 ) UNSIGNED DEFAULT '0' NOT NULL ,
MODIFY post_edit_reason varchar( 255 ) DEFAULT '' NOT NULL COLLATE utf8_bin,
MODIFY post_edit_user mediumint( 8 ) UNSIGNED DEFAULT '0' NOT NULL ,
MODIFY post_edit_count smallint( 4 ) UNSIGNED DEFAULT '0' NOT NULL ,
MODIFY post_edit_locked tinyint( 1 ) UNSIGNED DEFAULT '0' NOT NULL ,
DROP INDEX post_username,
ADD KEY post_username( post_username ) ,
DEFAULT CHARSET = utf8 COLLATE = utf8_bin;
MySQL meldet: Dokumentation
#1091 - Kann 'post_username' nicht löschen. Existiert die Spalte oder der Schlüssel?
Darum ersuche ich Euch um Hilfe.
http://www.doppeladler.com/forum/index.php (ist derzeit, damit niemand postet und die Sache noch schlimmer wird, gesperrt)
phpBB 3.0.6 und MySQL 5.0.22
keine Mods, nur ein paar kleine Anpassungen overall_header und _footer
Wenn weitere Infos erforderlich sind bitte melden!