Seite 2 von 3

Verfasst: 04.07.2003 12:38
von DerPate
nachtrag: das board spuckt folgendes aus:

Allgemeiner Fehler

Code: Alles auswählen

Error in posting

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax near ')' at line 1

INSERT INTO phpbb_vote_desc (topic_id, vote_text, vote_start, vote_length, show_results) VALUES (156, 'test', 1057314571, 864000, )

Line : 295
File : /usr/local/httpd/htdocs/kunden/pa128/html/dev/phpBB2/includes/functions_post.php 
 

Verfasst: 04.07.2003 12:39
von Acid
Die posting.php bräuchte ich auch noch..

Verfasst: 04.07.2003 12:49
von DerPate
das geht aber fix :grin:

hier die http://greatunknown.de/temp/functions_post.txt posting.php

((es kommt auch ne Fehlermeldung sobald ich was normales poste!!!))

vll nützt was ... u.a. installierte mods:
ezPortal mit Menuless overall_header on portal ...

Verfasst: 04.07.2003 13:02
von Acid
function submit_post($mode, &$post_data, &$message, &$meta, &$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, &$show_results, &$show_endtime)
..lösch ma aus der functions_post.php das rotmarkierte (da du den "Show Ending Time" Hack nicht weiter eingebaut hast).

Ändert sich was?

Verfasst: 04.07.2003 13:09
von DerPate
naja, nicht wirdlich, es ist eine Fehlerzeile weniger ...

Warning: Missing argument 21 for submit_post() in /usr/local/httpd/htdocs/kunden/pa128/html/dev/phpBB2/includes/functions_post.php on line 218

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/httpd/htdocs/kunden/pa128/html/dev/phpBB2/includes/functions_post.php:218) in /usr/local/httpd/htdocs/kunden/pa128/html/dev/phpBB2/includes/page_header.php on line 471

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/httpd/htdocs/kunden/pa128/html/dev/phpBB2/includes/functions_post.php:218) in /usr/local/httpd/htdocs/kunden/pa128/html/dev/phpBB2/includes/page_header.php on line 473

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/httpd/htdocs/kunden/pa128/html/dev/phpBB2/includes/functions_post.php:218) in /usr/local/httpd/htdocs/kunden/pa128/html/dev/phpBB2/includes/page_header.php on line 474

Error in posting

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax near ')' at line 1

INSERT INTO phpbb_vote_desc (topic_id, vote_text, vote_start, vote_length, show_results) VALUES (157, 'test', 1057316820, 259200, )

Line : 295
File : /usr/local/httpd/htdocs/kunden/pa128/html/dev/phpBB2/includes/functions_post.php

Verfasst: 04.07.2003 13:44
von DerPate
na, lag offensichtlich daran, das der poll_endtime mod nicht installiert war (hatte nur poll_results installiert)... hab das jetzt nachgeholt und es funzt prima ...

thx

Verfasst: 04.07.2003 13:55
von Acid
hmm.. auch ´ne Lösung. :grin:

Verfasst: 27.09.2003 18:43
von bmartin
Hallo,

hatr jemand das schon mal ins Exportal eingebaut?

Verfasst: 27.10.2003 12:32
von Acid
Update:
  • °Umfrageergebnisse bis zum Ende der Umfrage verstecken 1.2.3
    • - viewtopic_poll_result.tpl/viewtopic_poll_ballot.tpl Änderungen entfernt (falscher Hack ;))
      - Wert (wenn $show_results nicht gegeben ist) zu 1 (Resultate anzeigen) geändert
    °Voteende anzeigen 1.2.3
    • - Wert (wenn $show_endtime nicht gegeben ist) zu 1 (Endzeit anzeigen) geändert
Update: Version 1.2.2
  • - kleinen Fehler in einer zu findenen Codezeile entfernt

Verfasst: 08.01.2004 02:03
von gwg068
Hallo!

Habe ein ähnliches Problem wie schonmal beschrieben...

Bekomme, beim erstellen von Umfragen folgendes:
Error in posting

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax near '0' at line 1

INSERT INTO phpbb_vote_desc (topic_id, vote_text, vote_start, vote_length, show_results) VALUES (142, '123', 1073523574, 86400), 0

Line : 296
File : /var/vservers/gaw/htdocs/phpBB2/includes/functions_post.php
Hier die entsprechende Datei...

http://helena.cphys.rub.de/~martin/lubd ... s_post.txt


Ich hoffe, das mir jemand helfen kann!

poll_endtime ist nicht installiert!

Gruß Martin