parsing error code in mboard badwords

Is message board greying out your hair (at least what's left of it)? Let us help you here
Locked
dirko
Posts: 29
Joined: Wed Mar 29, 2006 7:41 pm

parsing error code in mboard badwords

Post 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
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hi,

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

"xanax" => "f***_u",
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
dirko
Posts: 29
Joined: Wed Mar 29, 2006 7:41 pm

done

Post by dirko »

:oops:
Locked