Seite 1 von 1
Kleiner Syntaxfehler - Anti bot Question
Verfasst: 26.05.2007 14:26
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 ]--------------------------
PS_?
Verfasst: 26.05.2007 14:35
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]
Re: Kleiner Syntaxfehler - Anti bot Question
Verfasst: 26.05.2007 14:48
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 ?

Verfasst: 05.07.2007 13:39
von locchon
Hello, sorry I speak in English because my German is not really good

(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
Verfasst: 05.07.2007 16:34
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.
Verfasst: 03.08.2007 11:16
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 !
PS
Verfasst: 04.08.2007 18:30
von SZOMM
Hallo
mike55,
Kenne den Mod nicht, doch erscheint es mir seltsam, das
diese Befehle als SQL-Befehl ausgeführt werden
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.
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*