Kleiner Syntaxfehler - Anti bot Question

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
mike55
Mitglied
Beiträge: 33
Registriert: 01.06.2006 13:04

Kleiner Syntaxfehler - Anti bot Question

Beitrag von mike55 »

Hi. Beim Installieren des Anti Bot Question Moduls, kommt folgendene
Fehlermeldung. Ich hab leider keinerlei Ahnung von sql syntax.
Habe das Skript 1 zu 1 reinkopiert. Wo liegt der Fehler?

Habe php 2.0.20 und antibotquestion 3.0.0


SQL-Befehl:

#
#-----[ OPEN ]------------------------------------------------
#
posting.php#
#-----[ FIND ]------------------------------------------------
#
include(
$phpbb_root_path. 'includes/functions_post.'.$phpEx
)

MySQL meldet: Dokumentation
#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 'posting.php

#
#-----[ FIND ]--------------------------
Benutzeravatar
SZOMM
Mitglied
Beiträge: 175
Registriert: 09.05.2007 16:44
Wohnort: 16***
Kontaktdaten:

PS_?

Beitrag von SZOMM »

Wo hast du was reinkopiert ?

ZITAT:
SQL-Befehl:

#
#-----[ OPEN ]------------------------------------------------
#
posting.php#
#-----[ FIND ]------------------------------------------------
#
include(
$phpbb_root_path. 'includes/functions_post.'.$phpEx

----------------------------Z-Ende--------

Du musst die posting.php öffnen, dann die Stelle
include( $phpbb_root_path. 'includes/functions_post.'.$phpEx

finden und dort irgendetwas tun ...

Pèdà[/quote]
Benutzeravatar
gloriosa
Mitglied
Beiträge: 13770
Registriert: 04.01.2005 20:23
Wohnort: Landeshauptstadt Erfurt

Re: Kleiner Syntaxfehler - Anti bot Question

Beitrag von gloriosa »

Hallo,
es stellt sich zwei Fragen : Wann erscheint das Folgende ? :(
mike55 hat geschrieben: SQL-Befehl:

#
#-----[ OPEN ]------------------------------------------------
#
posting.php#
#-----[ FIND ]------------------------------------------------
#
include(
$phpbb_root_path. 'includes/functions_post.'.$phpEx
)

MySQL meldet: Dokumentation
#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 'posting.php

#
#-----[ FIND ]--------------------------
Hast den ABQ MOD wirklich gemäß >>> KB:18 <<< eingebaut ? :o :oops:
Viele Grüße - gloriosa :D
Die einen schützen sich vor frischem Wind, während die anderen ihn nutzen.
Kein kostenloser MOD-Einbau usw. bzw. Support via PN, Email oder IRC !
locchon
Mitglied
Beiträge: 2
Registriert: 05.07.2007 13:29

Beitrag von locchon »

Hello, sorry I speak in English because my German is not really good :oops: (My PHPMyAdmin is in french).

I have the same problem as mike 55.
Erreur
requête SQL:

#
#-----[ OPEN ]------------------------------------------------
#
posting.php#
#-----[ FIND ]------------------------------------------------
#
include(
$phpbb_root_path. 'includes/functions_post.'.$phpEx
);


MySQL a répondu:

#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 'posting.php

include($phpbb_root_path . 'includes/functions_post.'.$phpEx)' at line 1
I have done all the instructions mentioned in "anti-bot-question-mod_v_3_0_0.txt".

At the end, I put the SQL statement in PHPMyAdmin et I've got this error.

Thanks for your help !

Locchon
cbrkiter
Mitglied
Beiträge: 134
Registriert: 09.06.2006 17:09
Kontaktdaten:

Beitrag von cbrkiter »

What was your SQL-Statement?

SZOMM wrote, when it looked like this

Code: Alles auswählen

#
#-----[ OPEN ]------------------------------------------------
#
posting.php
#
#-----[ FIND ]------------------------------------------------
#
include(
$phpbb_root_path. 'includes/functions_post.'.$phpEx
);
then it was wrong! This mean, you must open the file posting.php, you must search to include(.... and then you must do something.
1. 'Man muss das Unmögliche versuchen, um das Mögliche zu erreichen!' (Hermann Hesse)
2. 'The best way to learn something is to get your hands dirty and do it!' (keine Ahnung))
3. http://www.thw-kamen-bergkamen.de
locchon
Mitglied
Beiträge: 2
Registriert: 05.07.2007 13:29

Beitrag von locchon »

Hello,

Sure it must do something,
#
#-----[ OPEN ]------------------------------------------------
#
posting.php

#
#-----[ FIND ]------------------------------------------------
#
include($phpbb_root_path . 'includes/functions_post.'.$phpEx);

#
#-----[ AFTER, ADD ]------------------------------------------------
#
// Anti Bot Question Mod - Start
include($phpbb_root_path . 'includes/functions_abq.' . $phpEx);
// Anti Bot Question Mod - End
I put all this statement and it makes an error at the point of opening posting.php usw...

Thanks !
Benutzeravatar
SZOMM
Mitglied
Beiträge: 175
Registriert: 09.05.2007 16:44
Wohnort: 16***
Kontaktdaten:

PS

Beitrag von SZOMM »

Hallo mike55,

Kenne den Mod nicht, doch erscheint es mir seltsam, das
diese Befehle als SQL-Befehl ausgeführt werden :o

Laut deinem beigefügten Text soll die posting.php geöffnet und editiert
werden ... wenn das als SQL-Befehl ausgeführt wird ist es ganz klar, das eine Fehlermeldung kommt ...

Alles Gute ...

-----------------------------------------------------------------------------
Hello locchon,

Don´t know this MOD, but it seems to be a mistake to do
the instructions as SQL-order. :o

The script says, open the posting.php and then do this and then do that ...
If that is executed in SQL than the error shown is just normal ...

Regards ...

Pèdà

*end*
Antworten

Zurück zu „phpBB 2.0: Mod Support“