The line number is misleading. You apparently are either a) missing a
required function, or b) missing the `function` keyword in an existing
function (as the error message says).

By the way, all of the event handler functions are required, even if
they're empty.


On Thu, Dec 29, 2011 at 10:50 AM, Tom Small <[email protected]> wrote:

>
> Hi I am attempting to run a global event handler although get getting
> error:
>
> function keyword is missing in FUNCTION declaration.
> The CFML compiler was processing:
> A script statement beginning with component on line 7, column 2.
> A cfscript tag beginning on line 2, column 2.
>
> The error occurred in
> C:\ColdFusion9\wwwroot\orm\model\aop\GlobalEventHandler.cfc: line 7
> 5 : */
> 6 :
> 7 :  component implements="CFIDE.orm.IEventHandler"
> 8 :  {
> 9 :
>
> Thanks, Tom
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349250
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to