Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: TheListener on September 11, 2011, 10:42:30 PM

Title: Syntax Error -- Custom Action
Post by: TheListener on September 11, 2011, 10:42:30 PM
Parse error: syntax error, unexpected T_CLASS, expecting ',' or ';' in /home/miltonke/public_html/xxxx/Sources/CustomAction.php(90) : eval()'d code on line 39

The disable eval has already been checked.
Title: Re: Syntax Error
Post by: live627 on September 11, 2011, 10:49:31 PM
Which action is it?
Title: Re: Syntax Error
Post by: TheListener on September 11, 2011, 10:56:17 PM
Not sure what ya mean.
Title: Re: Syntax Error
Post by: kat on September 12, 2011, 07:30:58 AM
Looks like a problem with the Custom Action mod, Brackypoos.

Might get better help in that mod's support topic.
Title: Re: Syntax Error
Post by: TheListener on September 12, 2011, 11:04:04 AM
Quote from: K@ on September 12, 2011, 07:30:58 AM
Looks like a problem with the Custom Action mod, Brackypoos.

Might get better help in that mod's support topic.

I did that 2 months ago K@.

Just as well it's only the test forum
Title: Re: Syntax Error
Post by: kat on September 12, 2011, 11:24:08 AM
Attach the file, then.

We can take a look and see if anything leaps-out at us, ay? ;)
Title: Re: Syntax Error
Post by: TheListener on September 12, 2011, 11:36:58 AM
Here ya go bud.
Title: Re: Syntax Error
Post by: Mick. on September 12, 2011, 11:42:06 AM
Brakaroo,
If you're trying to do the addons I posted using smfblog and customaction mods, its Prolly my code.

I think is broken and I never fixed it.
Title: Re: Syntax Error
Post by: kat on September 12, 2011, 11:44:39 AM
/me slaps BD... ;)
Title: Re: Syntax Error
Post by: TheListener on September 12, 2011, 11:46:41 AM
Can't get the staff these days.

BD we need a decent blog on the forums.

Have a look at the adk one and you will see what I mean  :)

(Other blog systems are available).
Title: Re: Syntax Error
Post by: Mick. on September 12, 2011, 11:49:36 AM
Quote from: K@ on September 12, 2011, 11:44:39 AM
/me slaps BD... ;)
lol, summer is over.  Im back to the Smf world.
I think brack wants to achieve this....
http://www.chevyavalancheclub.com/index.php?action=blog
I use 3 mods.
Title: Re: Syntax Error
Post by: TheListener on September 12, 2011, 11:54:48 AM
QuoteI think brack wants to achieve this....

He sure does.
Title: Re: Syntax Error
Post by: Mick. on September 12, 2011, 11:56:01 AM
Quote from: Brack1 on September 12, 2011, 11:54:48 AM
QuoteI think brack wants to achieve this....

He sure does.
ill fix it tonite brother. Maybe pack it as an 'add-on'.
Title: Re: Syntax Error
Post by: TheListener on September 12, 2011, 11:58:08 AM
Ok bud. Is only on the test forum at the moment anyways.
Title: Re: Syntax Error
Post by: Mick. on September 12, 2011, 12:21:27 PM
Quote from: Brack1 on September 12, 2011, 11:46:41 AM
Can't get the staff these days.

BD we need a decent blog on the forums.

Have a look at the adk one and you will see what I mean  :)

(Other blog systems are available).
I stay away from mods that uses copyright on the footer. Unesseasry.
Title: Re: Syntax Error
Post by: TheListener on September 12, 2011, 12:23:38 PM
True.

There are only a few which I can put up with.
Title: Re: Syntax Error -- Custom Action
Post by: Angelina Belle on September 25, 2011, 12:19:18 PM
Is this issue related to a mod or customization, rather than to "out of the box" SMF 2.0?
Title: Re: Syntax Error -- Custom Action
Post by: TheListener on September 25, 2011, 04:53:00 PM
Bluedevils blog which makes use of 3 mods.

Title: Re: Syntax Error -- Custom Action
Post by: Angelina Belle on September 26, 2011, 04:18:56 AM
You found out from Bluedevil that these are the results of applying a customization he posted.

I'm thinking that we could mark this one "SOLVED" (as you have narrowed it down to a customization)
Or else move it to a custom coding board.
Title: Re: Syntax Error -- Custom Action
Post by: TheListener on September 26, 2011, 09:32:20 AM
Gonna mark it solved as I have since given up on this.

Looking at alternative ways to blog.
Title: Re: Syntax Error -- Custom Action
Post by: Angelina Belle on September 26, 2011, 11:45:39 AM
OK.  BD will get a chance to work on this one day ... or you could take it to an SMF coding board. Someone will spot the problem, I bet.

Good luck with the blog!