Seite 1 von 1

Posting Fehler beim Update von 0.17 auf 0.18 (Erledigt)

Verfasst: 15.12.2005 21:10
von Nobs
Hallo,

habe gerade das Update von 2.0.17 auf 2.0.18 gemacht und zwar
Manuell (puhhh,schwitz :) ).

Es geht auch fast alles.

Wenn ich aber nun auf einen bereits vorhanden Artikel Antworten will
bekomme ich die Meldung:

Es existiert kein solcher Beitrag. Versuch es noch einmal.

Ein neues Thema zu eröffne ist aber möglich.

Habe auch schon die Suche probiert... hat aber nicht geholfen.
Hier mal meine Posting.php und modcp.php.

die Posting.php

die modcp.php

Hat jemand eine Idee.

Danke und Gruss
Nobs

Verfasst: 16.12.2005 15:10
von Saint
posting.php

suche:

Code: Alles auswählen

$sql = "SELECT f.*, t.topic_status, , t.topic_type
  
			FROM " . FORUMS_TABLE . " f, " . TOPICS_TABLE . " t
			WHERE t.topic_id = $topic_id
				AND f.forum_id = t.forum_id";
ersetze durch:

Code: Alles auswählen

$sql = "SELECT f.*, t.topic_status, t.topic_title, t.topic_type  
			FROM " . FORUMS_TABLE . " f, " . TOPICS_TABLE . " t
			WHERE t.topic_id = $topic_id
				AND f.forum_id = t.forum_id";
suche:

Code: Alles auswählen

$select_sql = (!$submit) ? ', t.topic_title, p.enable_bbcode, p.enable_html, p.enable_smilies, p.enable_sig, p.post_username, pt.post_subject, pt.post_text, pt.bbcode_uid, u.username, u.user_id, u.user_sig_bbcode_uid' : '';
ersetze durch:

Code: Alles auswählen

$select_sql = (!$submit) ? ', t.topic_title, p.enable_bbcode, p.enable_html, p.enable_smilies, p.enable_sig, p.post_username, pt.post_subject, pt.post_text, pt.bbcode_uid, u.username, u.user_id, u.user_sig, u.user_sig_bbcode_uid' : '';
Die modcp.php ist in Ordnung.

Gruß

Saint

Verfasst: 16.12.2005 20:18
von Nobs
Cooooooooollllll :grin:

Jawolja das war der Fehler

Vielen Herzliche Dank für die Hilfe

Gruss
Nobs

Verfasst: 16.12.2005 20:36
von Saint
Gerne. :D

Schönes Wochenende!

Saint