Debug error

Allgemeiner Support zum phpBB 2 Board und phpBB 2 Modifikationen
Forumsregeln
Auch wenn hier der Support für phpBB 2 weiterhin aufrecht erhalten bleibt, weisen wir darauf hin, dass das phpBB 2 nicht mehr offiziell unterstützt und weiterentwickelt wird!
Antworten
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Debug error

Beitrag von Blisk »

Why happends this error?


Error in posting

DEBUG MODE

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

INSERT INTO phpbb_posts (topic_id, forum_id, poster_id, post_username, post_time, poster_ip, enable_bbcode, enable_html, enable_smilies, enable_sig, post_draft, post_icon) VALUES (3200, 29, 181, '', 1108500410, 'c14d092a', 1, 1, 1, 0, , 0)

Line : 521
File : /html/forum/includes/functions_post.php
Benutzeravatar
Bootenks
Beiträge: 1836
Registriert: Sa 29.Mai, 2004 23:36
Wohnort: G?rlitz (?stlichste Stadt Deutschlands)

Beitrag von Bootenks »

check in the line VALUES the variable: $attach_sig after this there have to be following this variable:

, $post_draft
Zuletzt geändert von Bootenks am Mi 16.Feb, 2005 09:59, insgesamt 2-mal geändert.
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

in der anschliessenden Zeile nach $attach_sig ist $draft_on aber nicht $post_draft
muss ich dazugeneb $post_draft
Zuletzt geändert von Blisk am Mi 16.Feb, 2005 10:06, insgesamt 1-mal geändert.
Benutzeravatar
Bootenks
Beiträge: 1836
Registriert: Sa 29.Mai, 2004 23:36
Wohnort: G?rlitz (?stlichste Stadt Deutschlands)

Beitrag von Bootenks »

warum schreibste da english :P

ja $draft_on musste durch $post_draft ersetzen!

PS: und so mies ist ja mein englisch och nicht :'(
Nur ein Informatik Student. ^^
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

ich spreche deutsche sehr schlecht.
abber english sehr gut.
danke fur deine hilfe.
Benutzeravatar
Bootenks
Beiträge: 1836
Registriert: Sa 29.Mai, 2004 23:36
Wohnort: G?rlitz (?stlichste Stadt Deutschlands)

Beitrag von Bootenks »

test it and the tell me your results ;) *wait*
Nur ein Informatik Student. ^^
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

Now I get this error everytime I send a post.

Error in posting

DEBUG MODE

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

INSERT INTO phpbb_posts (topic_id, forum_id, poster_id, post_username, post_time, poster_ip, enable_bbcode, enable_html, enable_smilies, enable_sig, post_draft, post_icon) VALUES (2872, 17, 2, '', 1108549258, 'c2f9b289', 1, 1, 1, 1, , 0, 0)

Line : 521
File : /html/forum/includes/functions_post.php
Benutzeravatar
Bootenks
Beiträge: 1836
Registriert: Sa 29.Mai, 2004 23:36
Wohnort: G?rlitz (?stlichste Stadt Deutschlands)

Beitrag von Bootenks »

please, post the lines from your functions_post.php
Nur ein Informatik Student. ^^
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

here it is

This happend when I put a bluecard and after I try to send a report I get error
Zuletzt geändert von Blisk am Mi 16.Feb, 2005 12:14, insgesamt 1-mal geändert.
Benutzeravatar
Bootenks
Beiträge: 1836
Registriert: Sa 29.Mai, 2004 23:36
Wohnort: G?rlitz (?stlichste Stadt Deutschlands)

Beitrag von Bootenks »

how is the draft mod calling? which version it is?
Nur ein Informatik Student. ^^
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

under construction posts 103

I didn't change anything about that, but.
When I installed disallow_editing_replied_posts_mod_v1_0_0.txt
users can't use a under construciton posts MOD, but OXPUS fix that.
But I didn't tested BLUEcard MOD, I know before it works.
Benutzeravatar
Bootenks
Beiträge: 1836
Registriert: Sa 29.Mai, 2004 23:36
Wohnort: G?rlitz (?stlichste Stadt Deutschlands)

Beitrag von Bootenks »

what did you do before this bug is coming?

PS: You have to undo into $draft_on ... i thought you have the same draft mod that i use!
Zuletzt geändert von Bootenks am Mi 16.Feb, 2005 12:36, insgesamt 2-mal geändert.
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

What I do, don't know, because I installed some mods, which cause this problem I don't know!

I found out when I disable in ACP draft post, than it works.

problem is in this MOD, when I disable it it works
Zuletzt geändert von Blisk am Mi 16.Feb, 2005 13:25, insgesamt 2-mal geändert.
Benutzeravatar
Bootenks
Beiträge: 1836
Registriert: Sa 29.Mai, 2004 23:36
Wohnort: G?rlitz (?stlichste Stadt Deutschlands)

Beitrag von Bootenks »

i look into in the next time ;) (up to the time which tonight)
Nur ein Informatik Student. ^^
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

OK.
I hope we can manage to repair this edit post MOD
Zuletzt geändert von Blisk am Mi 16.Feb, 2005 14:06, insgesamt 1-mal geändert.
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

Now this is really weird.
Now it doesn't work either I disable or not, it doesn't work even if I try to remove the disallow_editing_replied_posts_mod_v1_0_0 MOD.
But a minute before it works
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

Now I found out where was a problem.
In the user rights of the Topic reports for the report.
Now I setted for the Report forum a Send rights to REG.
But now is problem because user can read this topic and all new topics in the report forum.
I made a Test topic in to report (Poročilo) forum.
And like it is on pic user cannot see a report forum but can acess on the right a report topic.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Set the permissions for "view" and "read" of this forum to "MOD" and retry.
Let the permissions for "post" and "reply" on "REG"...
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

Soon as I set read to MOD I get this SQL error.
Now I have "send" and "read" to REG and it works, but user can acess report forum like on pic above.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

I mean the forum permissions, not the permissions for reporting...
And "read" means: Userlevel is able to read the topics in the forum ;)
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

sorry don't know what you mean., the whole forum?
So you can do it, I give you the rights.
;)
Antworten