Accessing Application Template

I keep getting this error.. I am only trying to navigate to the
simple application template. I made no changed whatsoever..

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

The CFML compiler was processing:

a script statement beginning with "coldbox" on line 42, column 9.
a script statement beginning with "function" on line 39, column 1.
a cfscript tag beginning on line 2, column 2.

The error occurred in D:\Inetpub\Wwwroot\coldboxframework
\ApplicationTemplates\Simple\config\Coldbox.cfc: line 42
Called from

I am using Coldfusion 7 as well. Coldbox supports Coldfusion 7

ColdBox 3 may or may not run on CF7; I’m not sure. But I can be definitive when I say that any code that uses implicit struct/array creation will not run on CF7. So…

foo = [1,2,3,4,5];
bar = {

… will not run on CF7.

I thought I saw in the readme that it wold run on ColdBox 7..

The cfc version of the config file uses implicit sturct/array, so it will not work on CF7, however, if you switch to using the xml configuration, the frameworks should still run on CF7

Note - I personally haven't tested this, but believe it is correct.

Curt Gratz
Computer Know How

It works.. I removed the implicit struct / array setups to old school
initializations.. That did the trick :slight_smile:

Yes, ColdBox 3 is the last version that will support cf7 (Yuck!! )

So some of the new things in coldbox 3 will not work on cf7 like cachebox, some logbox appenders, some wirebox features and modules.

Luis F. Majano
Ortus Solutions, Corp

ColdBox Platform:
Linked In:
IECFUG Manager: