Page 1 of 1

parsing error code in mboard badwords

Posted: Sat Jul 22, 2006 7:48 am
by dirko
Script URL: www.pagina.hu/mboard
Version of script: 1.22
Version of PHP: 4.+
Hosting company: owned ARH-fBSD
Have you searched THIS FORUM for your problem: yes

If so, what terms did you try: badwords

Write your message below:

we get the following error trying to post in mbaord:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/pagina/domains/pagina.hu/public_html/mboard/badwords/nl.php on line 33

on that line is the following code:

27:"difference between adipex and phentermine" => "******pathetic*********",
28 "xanax" => "f***_u"
29
30
31/* DO NOT EDIT BELOW */
32
33 "asinine" => "a*******",
"a.s.i.n.i.n.e" => "a*******",
"a s i n i n e" => "a*******",

etc.

do we have any idea what's going wrong?
when whe enter "0" for this service in setting.php it works.

dirko

Posted: Sat Jul 22, 2006 12:12 pm
by Klemen
Hi,

You should put a comma after "xanax" => "f***_u" like this:

"xanax" => "f***_u",

done

Posted: Sat Jul 22, 2006 12:18 pm
by dirko
:oops: