Error in Core ModuleService.cfc

I just downloaded the coldbox 3.0 standalone from the main site, but
when i fire up my application, I get this error but I haven't even
modified any files in the core coldbox code. Any idea why I might be
getting this?

Invalid CFML construct found on line 153 at column 35.
ColdFusion was looking at the following text:

{

The CFML compiler was processing:

    A script statement beginning with mConfig on line 153, column 25.
    A cfscript tag beginning on line 145, column 26.
    A cfscript tag beginning on line 145, column 26.

The error occurred in C:\Inetpub\wwwroot\coldbox\system\web\services
\ModuleService.cfc: line 153
Called from C:\Inetpub\wwwroot\coldbox\system\web\Controller.cfc: line
48
Called from C:\Inetpub\wwwroot\coldbox\system\Coldbox.cfc: line 69
Called from C:\Inetpub\wwwroot\webdirect\Application.cfc: line 36

151 :
152 : // Setup Vanilla Config information for module
153 : mConfig = {
154 : // Module MetaData and Directives
155 : title = "",

Stack Trace
at cfController2ecfc1454261474$funcINIT.runFunction(C:\Inetpub\wwwroot
\coldbox\system\web\Controller.cfc:48) at
cfColdbox2ecfc255186317$funcLOADCOLDBOX.runFunction(C:\Inetpub\wwwroot
\coldbox\system\Coldbox.cfc:69) at
cfApplication2ecfc146518278$funcONAPPLICATIONSTART.runFunction(C:
\Inetpub\wwwroot\customapp\Application.cfc:36)

West,

Are you using ColdFusion 9? The ColdBox.cfc configuration file is using implicit struct/array notation. Older versions of CF must use the XML Configuration format.

Does that help?

Thanks and welcome to the ColdBox community.

Aaron Greenlee
http://aarongreenlee.com/

Ahhh yes... This app is running on CF8. Makes sense now.

Thanks!!

You could also still use the script based just place <cfscript> tags around
the block of code.

Regards,
Andrew Scott
http://www.andyscott.id.au/

I didn't want to modify the core code. What version of Coldbox works
with CF 8? The core code I have uses implicit struct/array notation
as Aaron said.

After looking at the file it appears to be normal.

Can you try a couple of things, like restart the server (ColdFusion) and try
it again. If that fails can you try to download ColdBox again and make sure
you delete the old one first, and replace with the new download. I am trying
to take these out of the equation, because I am thinking maybe a corrupt
file, or that there is something in that struct dec that ColdFusion 8 seems
to not like.

Regards,
Andrew Scott
http://www.andyscott.id.au/

From: coldbox@googlegroups.com [mailto:coldbox@googlegroups.com] On
Behalf Of West
Sent: Monday, 4 April 2011 10:08 AM
To: ColdBox Platform
Subject: [coldbox:9162] Re: Error in Core ModuleService.cfc

I didn't want to modify the core code. What version of Coldbox works with
CF 8? The core code I have uses implicit struct/array notation as Aaron

said.

Do you have updater 1 installed for ColdFusion 8? That has some enhancements to the cfscript syntax for implicit arrays and structs.

Thanks!

~Brad

Yes you need update 1 for cf8

Ok, thanks. I will try that.