SQL ERROR [ mysql4 ]

phpBB 3.0 hat sein "End of Life" erreicht. Eine Neu-Installation wird nicht mehr unterstützt.
Gesperrt
Rizzo1
Mitglied
Beiträge: 27
Registriert: 09.04.2011 19:33

SQL ERROR [ mysql4 ]

Beitrag von Rizzo1 »

Hallo,

nach Installation von phpBB 3.0.8 und Konvertierung von 2.x bekomme ich diese Fehlermeldung, wenn ich auf Eigene Beiträge klicke:
Allgemeiner Fehler
SQL ERROR [ mysql4 ]

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.post_id FROM phpbb1_topics t, phpbb1_posts p WHERE p.po [1064]

SQL

SELECT DISTINCT SQL_CALC_FOUND_ROWS p.post_id FROM phpbb1_topics t, phpbb1_posts p WHERE p.poster_id = '2' AND t.topic_id = p.topic_id GROUP BY t.topic_id, t.topic_last_post_time ORDER BY t.topic_last_post_time DESC

BACKTRACE

FILE: includes/db/mysql.php
LINE: 175
CALL: dbal_mysql->sql_error()

FILE: includes/search/fulltext_native.php
LINE: 1009
CALL: dbal_mysql->sql_query()

FILE: search.php
LINE: 501
CALL: fulltext_native->author_search()
Kann mir bitte jemand sagen, woran das liegt?

Danke

Grüsse
Rizzo
Rizzo1
Mitglied
Beiträge: 27
Registriert: 09.04.2011 19:33

Re: SQL ERROR [ mysql4 ]

Beitrag von Rizzo1 »

Ich habe nun auf MySQL5 umgestellt und damit die meisten Probleme gelöst.
Die Suchfunktion z.B. funktioniert jetzt.

Den einzigen Fehler, den ich jetzt noch erhalte entsteht, wenn ich den Suchindex neu erstellen möchte. Da bräuchte ich wirklich Hilfe.

Die Fehlermeldung sieht so aus:
Allgemeiner Fehler
SQL ERROR [ mysql4 ]

Column 'post_text' cannot be part of FULLTEXT index [1283]

SQL

ALTER TABLE phpbb1_posts ADD FULLTEXT (post_subject), MODIFY post_text mediumtext COLLATE utf8_unicode_ci NOT NULL, ADD FULLTEXT (post_text), ADD FULLTEXT post_content (post_subject, post_text)

BACKTRACE

FILE: includes/db/mysql.php
LINE: 175
CALL: dbal_mysql->sql_error()

FILE: includes/search/fulltext_mysql.php
LINE: 779
CALL: dbal_mysql->sql_query()

FILE: includes/acp/acp_search.php
LINE: 365
CALL: fulltext_mysql->create_index()

FILE: includes/acp/acp_search.php
LINE: 46
CALL: acp_search->index()

FILE: includes/functions_module.php
LINE: 507
CALL: acp_search->main()

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

Grüsse
Rizzo
Benutzeravatar
Mahony
Ehemaliges Teammitglied
Beiträge: 12179
Registriert: 17.11.2005 22:33
Wohnort: Ostfildern Kemnat
Kontaktdaten:

Re: SQL ERROR [ mysql4 ]

Beitrag von Mahony »

Hallo
Siehe viewtopic.php?p=1160087#p1160087


Grüße: Mahony
Taekwondo in Berlin
Wer fragt, ist ein Narr für fünf Minuten, wer nicht fragt, ist ein Narr für immer.
Rizzo1
Mitglied
Beiträge: 27
Registriert: 09.04.2011 19:33

Re: SQL ERROR [ mysql4 ]

Beitrag von Rizzo1 »

Super, klasse Mahony,

das war es.

Vielen Dank

Grüsse
Rizzo
Gesperrt

Zurück zu „[3.0.x] Installation, Update und Konvertierung“