Seite 1 von 1

[beseitigt] Quiz Hack 0.2.1 Fehler

Verfasst: 28.12.2005 20:05
von mixmax
Warning: Missing argument 21 for submit_post() in /usr/export/www/vhosts/funnetwork/hosting/kinderspiele/phpBB2/includes/functions_post.php on line 222
Error in posting

DEBUG MODE

SQL Error : 1064 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 ' 0, 1, 0, 0, 1)' at line 1

INSERT INTO phpbb_topics (topic_title, topic_bedankomat, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_icon, topic_vote, topic_quiz) VALUES ('Und hier die neue Quiz-Frage: [QUIZ] Diese Quizfrage wurde von mixmax vorgeschlagen', 35, 22, 1135794003, , 0, 1, 0, 0, 1)

Line : 264
File : functions_post.php
Wo habe ich den Fehler gemacht.
Meine functions_post.txt

Der Fehler kommt wen ich eine Quizfrage manuell stellen möchte.

Verfasst: 29.12.2005 16:08
von mixmax
Fehler beim Öffnen der Import-Datei.

Das geht auch nicht. :roll:

Verfasst: 31.12.2005 13:10
von mixmax
Mußte leider feststellen,das bei mir die "Fully integrated shoutbox" nicht mehr funzt.
Nach dem einbau.

Hoffe das mir jemand Hilft,um den tollen Quiz mod zum laufen zu bringen.

Verfasst: 31.12.2005 13:22
von hagily
Alle Dateien richtig angepasst und das datenbank-install durchlaufen lassen?`

Verfasst: 01.01.2006 17:03
von mixmax
install_quiz_hack.php habe ich ausgeführt.
Warning: Missing argument 21 for submit_post() in /usr/export/www/vhosts/funnetwork/hosting/kinderspiele/phpBB2/includes/functions_post.php on line 222
functions_post.php on line 222

Code: Alles auswählen

function submit_post($mode, &$post_data, &$message, &$meta, &$topic_bedankomat, &$forum_id, &$topic_id, &$post_id, &$poll_id, &$topic_type, &$bbcode_on, &$html_on, &$smilies_on, &$attach_sig, &$bbcode_uid, &$post_username, &$post_subject, &$post_message, &$poll_title, &$poll_options, &$poll_length, $post_icon = 0)
Fehlt da was ?

Verfasst: 03.01.2006 16:08
von mixmax
Mit Hilfe von "oxpus"

Ich habe in der includes/quiz.php die fehlenden Parameter ", $topic_bedankomat, $post_icon = 0"ergänzt.
Der Fehler "Missing argument 21 for submit_post....." ist weg. :)

Quizfrage manuell stellen funzt aber leider immer noch nicht.
Allgemeiner Fehler
Error in posting

DEBUG MODE

SQL Error : 1064 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 ' 22, 1136297219, 35, 0, 0, 0, 0, 1)' at line 1

INSERT INTO phpbb_topics (topic_title, topic_bedankomat, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_icon, topic_vote, topic_quiz) VALUES ('Quiz Frage #1 ...', , 22, 1136297219, 35, 0, 0, 0, 0, 1)

Line : 264
File : functions_post.php
Der Fehler kommt jetzt im Forum :cry:

Verfasst: 04.01.2006 14:58
von mixmax
Der Fehler kommt im Forum,wen "Quiz Hack" Automatik deaktivieren auf nein steht"
Wen der Quiz Hack deaktiviert ist leuft das Forum normal.
Bis auf die shoutbox.
:cry:

Verfasst: 06.01.2006 21:04
von mixmax
Der Fehler wurde beseitigt :)

Geholfen hat mit oxpus.de
Die Variable $topic_bedankomat wurde hier nicht gefüllt, auch wenn es "0" wäre. Somit fehlte das in der Speicherroutine.
Was also machen?
In der includes/quiz.php eben vor prepare_post(...); diese Zeile dafür einfügen:

Code:
$topic_bedankomat = 0;


Das war dann die Lösung für "NUR" Dein Problem.
Bei anderen musste ich teilweise schon die halbe posting.php da rein kopieren...