Seite 1 von 1

Konvertierungs Problem Unknown column...

Verfasst: 30.04.2009 19:40
von Biker2233
Wollte die Konvertierung vom phpbb2 Board zum 3er machen dann kam beim klick auf Konvertierung starten die Meldung:

Soweit ich weiß irgendwas wegen dem Attachmedn Mod? Was mus sich da jetzt am besten machen?


Allgemeiner Fehler
SQL ERROR [ mysql4 ]

Unknown column 'topics.topic_attachment' in 'field list' [1054]

SQL

SELECT topics.topic_id, topics.forum_id, topics.topic_poster AS poster_id, topics.topic_attachment, topics.topic_title, topics.topic_time, topics.topic_views, topics.topic_replies, topics.topic_last_post_id, topics.topic_status, topics.topic_type, topics.topic_first_post_id, posts.post_time, vote_desc.vote_text, vote_desc.vote_start, vote_desc.vote_length FROM (phpbb_topics topics LEFT JOIN phpbb_vote_desc AS vote_desc ON topics.topic_id = vote_desc.topic_id AND topics.topic_vote = 1) LEFT JOIN phpbb_posts AS posts ON topics.topic_last_post_id = posts.post_id WHERE (topics.topic_moved_id = 0) ORDER BY topics.topic_id LIMIT 2000

BACKTRACE


FILE: includes/db/mysql.php
LINE: 174
CALL: dbal->sql_error()

FILE: includes/db/mysql.php
LINE: 221
CALL: dbal_mysql->sql_query()

FILE: includes/db/dbal.php
LINE: 170
CALL: dbal_mysql->_sql_query_limit()

FILE: .install/install_convert.php
LINE: 1233
CALL: dbal->sql_query_limit()

FILE: .install/install_convert.php
LINE: 203
CALL: install_convert->convert_data()

FILE: .install/index.php
LINE: 405
CALL: install_convert->main()

FILE: .install/index.php
LINE: 282
CALL: module->load()

Re: Konvertierungs Problem Unknown column...

Verfasst: 02.05.2009 17:34
von Biker2233
Wäre extrem wichtig wen mir jemand helfen kann muss dies schnell hinbekommen

Re: Konvertierungs Problem Unknown column...

Verfasst: 02.05.2009 18:16
von oxpus
Damit es schnell gehen kann, führe mal in der alten Datenbank (also die vom phpBB 2 Forum) diese SQL-Anweisung aus:

Code: Alles auswählen

ALTER TABLE phpbb_topics ADD topic_attachment TINYINT(1) DEFAULT '0' NOT NULL;

Re: Konvertierungs Problem Unknown column...

Verfasst: 05.05.2009 11:12
von Biker2233
Guten Tag,

habe ich gemacht, kommt das wieder diesmal mit einem Select auf SELECT topics

SQL ERROR [ mysql4 ]

Unknown column 'posts.post_attachment' in 'field list' [1054]

SQL

SELECT posts.post_id, posts.topic_id, posts.forum_id, posts.poster_id, posts.poster_ip, posts.post_time, posts.enable_bbcode, posts.enable_html, posts.enable_smilies, posts.enable_sig, posts.post_username, posts_text.post_subject, posts.post_attachment, posts.post_edit_time, posts.post_edit_count, posts_text.post_text, posts_text.bbcode_uid AS old_bbcode_uid FROM phpbb_posts posts, phpbb_posts_text posts_text WHERE (posts.post_id = posts_text.post_id) ORDER BY posts.post_id LIMIT 2000

BACKTRACE


FILE: includes/db/mysql.php
LINE: 174
CALL: dbal->sql_error()

FILE: includes/db/mysql.php
LINE: 221
CALL: dbal_mysql->sql_query()

FILE: includes/db/dbal.php
LINE: 170
CALL: dbal_mysql->_sql_query_limit()

FILE: .install/install_convert.php
LINE: 1233
CALL: dbal->sql_query_limit()

FILE: .install/install_convert.php
LINE: 203
CALL: install_convert->convert_data()

FILE: .install/index.php
LINE: 405
CALL: install_convert->main()

FILE: .install/index.php
LINE: 282
CALL: module->load()


Habs dann mit der SQL Abfrage versucht da kommt das gleiche aber dann: ALTER TABLE phpbb_posts ADD topic_attachment TINYINT(1) DEFAULT '0' NOT NULL
oxpus hat geschrieben:Damit es schnell gehen kann, führe mal in der alten Datenbank (also die vom phpBB 2 Forum) diese SQL-Anweisung aus:

Code: Alles auswählen

ALTER TABLE phpbb_topics ADD topic_attachment TINYINT(1) DEFAULT '0' NOT NULL;

Re: Konvertierungs Problem Unknown column...

Verfasst: 05.05.2009 12:03
von Biker2233
jetzt gehts habe deine sql abfrage immer der jeweiligen fehlermeldung angepasst. Wunderbar!

Moderative Anweisung

Verfasst: 05.05.2009 13:11
von mad-manne
Du hast das Thema binnen weniger Minuten/Stunden mit einem Folgebeitrag nach oben geschoben.
Die Mindestwartezeit für Topic Bumping beträgt 24 Stunden.

Bitte nutze in Zukunft den "Ändern"-Button, um deinem Beitrag nachträgliche Informationen hinzuzufügen!
Lies Dir bitte den phpBB.de-Knigge und den Hinweis zur Fragestellung und Rechtschreibung durch und beachte diese zukünftig.