seancorfield/fw1 — Issue #113: Fresh download of 2.0 raises error
Author: commadelimited
Created: 2011-12-21 04:56:08+00:00
State: open

I just downloaded 2.0 and set it up on my local dev machine in a subfolder (/code/fw1/).

When I loaded it up into my browser (http://local/code/fw1) I received the following error:

Invalid CFML construct found on line 46 at column 81.

The error occurred in /Users/andy/Sites/code/fw1/org/corfield/framework.cfc: line 46
44 :	}
45 :
46 :	public void function addRoute( any routes, string target, any methods = [ ], string statusCode = '' ) {
47 :	if ( !isArray( routes ) ) routes = [ routes ];
48 :	if ( !isArray( methods ) ) methods = [ methods ];

I figured it might have something to do with being in a subdirectory so I set up an Apache vhost for it and tried again. Same directory location, but the URL is now http://local.fw1.com. I get the same error in both cases.

I'm running ColdFusion 9,0,0,251028.

Am I doing something wrong? Is there a legit bug? Seems like this one would be really easy to catch so I'm guessing there's something wrong on my end. Problem is that other users are likely going to run into the same problem I have.