probs mit icon mod nach update auf 2.06

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
wumme
Mitglied
Beiträge: 170
Registriert: 19.08.2002 17:20

probs mit icon mod nach update auf 2.06

Beitrag von wumme »

ich hab da ein paar probs mit der funktions_post.php

in der alten datei (2.05) sollte

Code: Alles auswählen

$sql  = ($mode != "editpost") ? "INSERT INTO " . TOPICS_TABLE . " (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_vote) VALUES ('$post_subject', " . $userdata['user_id'] . ", $current_time, $forum_id, " . TOPIC_UNLOCKED . ", $topic_type, $topic_vote)" : "UPDATE " . TOPICS_TABLE . " SET topic_title = '$post_subject', topic_type = $topic_type, topic_vote = $topic_vote WHERE topic_id = $topic_id";
mit

Code: Alles auswählen

$sql  = ( $mode != "editpost" ) ? "INSERT INTO " . TOPICS_TABLE . " (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_vote, topic_icon) VALUES ('$post_subject', " . $userdata['user_id'] . ", $current_time, $forum_id, " . TOPIC_UNLOCKED . ", $topic_type, $topic_vote, $msg_icon)" : "UPDATE " . TOPICS_TABLE . " SET topic_title = '$post_subject', topic_type = $topic_type, topic_vote = $topic_vote, topic_icon = $msg_icon WHERE topic_id = $topic_id"; 
erstetzt werden, dieser ist nun in der form nicht mehr da :-?

hab ich mich mal drangesetzt, mit meinen kenntnissen, sind nicht viel :oops:

und wollte die zeile

Code: Alles auswählen

$sql  = ($mode != "editpost") ? "INSERT INTO " . TOPICS_TABLE . " (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_vote) VALUES ('$post_subject', " . $userdata['user_id'] . ", $current_time, $forum_id, " . TOPIC_UNLOCKED . ", $topic_type, $topic_vote, topic_icon)" : "UPDATE " . TOPICS_TABLE . " SET topic_title = '$post_subject', topic_type = $topic_type " . (($post_data['edit_vote'] || !empty($poll_title)) ? ", topic_vote = " . $topic_vote : "") . " WHERE topic_id = $topic_id";
funzt dann aber nicht :(

kann mir jemand helfen ???

bekomm jetzt ne schöne fehlermeldung

Error in posting

DEBUG MODE

SQL Error : 1136 Spaltenzahl stimmt nicht mit der Anzahl der Werte überein in Reihe1

INSERT INTO phpbb_topics (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_vote) VALUES ('test', 2, 1060193569, 1, 0, 0, 0, topic_icon)

Line : 261
File : c:\programme\wamp\homepages\includes\functions_post.php
Benutzeravatar
Henne
Ehemaliges Teammitglied
Beiträge: 4520
Registriert: 04.01.2002 01:00
Wohnort: Lage (Lippe)
Kontaktdaten:

Beitrag von Henne »

Versuch mal das hier:

war falsch
Zuletzt geändert von Henne am 06.08.2003 21:09, insgesamt 1-mal geändert.
wumme
Mitglied
Beiträge: 170
Registriert: 19.08.2002 17:20

Beitrag von wumme »

:-?

Error in posting

DEBUG MODE

SQL Error : 1064 Fehler in der Syntax bei '11)' in Zeile 1.

INSERT INTO phpbb_topics (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_vote, topic_icon) VALUES ('nochmal', 2, 1060195236, 1, 0, 0, 0 11)

Line : 261
File : c:\programme\wamp\homepages\includes\functions_post.php

immer noch die gleiche meldung :cry:
Benutzeravatar
Henne
Ehemaliges Teammitglied
Beiträge: 4520
Registriert: 04.01.2002 01:00
Wohnort: Lage (Lippe)
Kontaktdaten:

Beitrag von Henne »

Dann mal das hier:

war falsch

Hatte eben glaube ich nen , vergessen.
Zuletzt geändert von Henne am 06.08.2003 21:09, insgesamt 1-mal geändert.
wumme
Mitglied
Beiträge: 170
Registriert: 19.08.2002 17:20

Beitrag von wumme »

die meldung

Parse error: parse error in c:\programme\wamp\homepages\includes\functions_post.php on line 258

Fatal error: Call to undefined function: generate_smilies() in c:\programme\wamp\homepages\posting.php on line 961


kommt jetzt wenn ich ein neues thema erstellen will :-?

was vielleicht noch erwähnenswert wär, die alten icons werden auch nicht mehr angezeigt
Benutzeravatar
Henne
Ehemaliges Teammitglied
Beiträge: 4520
Registriert: 04.01.2002 01:00
Wohnort: Lage (Lippe)
Kontaktdaten:

Beitrag von Henne »

Hast denn den Rest richtig eingebaut?
wumme
Mitglied
Beiträge: 170
Registriert: 19.08.2002 17:20

Beitrag von wumme »

ich hab grad alles noch mal überprüft,

ist alles korrekt, bis auf den einen teil halt :-?

kann es vielleicht mit dem Unread Post Information to Database Mod

zu tun haben, da hab ich auch noch probs in der neuen viewtopic.php
Benutzeravatar
Henne
Ehemaliges Teammitglied
Beiträge: 4520
Registriert: 04.01.2002 01:00
Wohnort: Lage (Lippe)
Kontaktdaten:

Beitrag von Henne »

Probier das nochmal:

Code: Alles auswählen

$sql  = ($mode != "editpost") ? "INSERT INTO " . TOPICS_TABLE . " (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_vote, topic_icon) VALUES ('$post_subject', " . $userdata['user_id'] . ", $current_time, $forum_id, " . TOPIC_UNLOCKED . ", $topic_type, $topic_vote, $msg_icon)" : "UPDATE " . TOPICS_TABLE . " SET topic_title = '$post_subject', topic_type = $topic_type " . (($post_data['edit_vote'] || !empty($poll_title)) ? ", topic_vote = " . $topic_vote : "") . ", topic_icon = $msg_icon WHERE topic_id = $topic_id";
wumme
Mitglied
Beiträge: 170
Registriert: 19.08.2002 17:20

Beitrag von wumme »

:D

super nun funzt es

BIG THX :wink:

nun zum Unread Post Information to Database Mod :oops:

muss den jetzt nochmal durchgen :roll:
Antworten

Zurück zu „phpBB 2.0: Mod Support“