[ColdBox SEEK 4.3.0+188] Coldfusion 9 Compatibility

20 views
Skip to first unread message

Michael McKellip

unread,
Apr 14, 2017, 12:06:44 PM4/14/17
to ColdBox Platform
Greetings!

I have been away from Coldbox for a bit. Recently, I have been tasked with moving a site to Coldbox from another framework. Unfortunately, they are on CF 9 and are not in a position to change at the moment.

I used commandbox to generate the app skeleton. It comes up just fine under Lucee but it will not run under CF 9. It encounters an error with the Bootstrap on a for loop. I don't see the issue with the code but have not worked on CF9 in quite awhile. Amy insight to get past this error is greatly appreciated

Here is the stack trace:

Invalid CFML construct found on line 541 at column 17.

ColdFusion was looking at the following text:

for

The CFML compiler was processing:

  • A script statement beginning with for on line 541, column 17.
  • A script statement beginning with private on line 539, column 9.
 
The error occurred in /Volumes/Projects/demos/myapp/coldbox/system/Bootstrap.cfc: line 541
539 : 	private function processStackTrace( str ){
540 : 		var aMatches = REMatchNoCase( "\(([^\)]+)\)", arguments.str );
541 : 		for( var aString in aMatches ){
542 : 			arguments.str = replacenocase( arguments.str, aString, "<span class='highlight'>#aString#</span>", "all" );
543 : 		}

Regards,
Michael McKellip

Sana Ullah

unread,
Apr 14, 2017, 12:14:31 PM4/14/17
to col...@googlegroups.com
Hi Michael,

Couple of things 

1:CF-9 should have last update-patch from Adobe.
2: Coldbox Version 4.3.0

The error above is CF9 issue, try Coldbox 4.3.0 or older version Coldbox 3.8.1 (this works with CF9 without any problem)



Warm Regards
Sana

--
--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
For Bug Reports, visit https://ortussolutions.atlassian.net/browse/COLDBOX
---
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coldbox+unsubscribe@googlegroups.com.
To post to this group, send email to col...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/c5fea60b-398a-4e02-bcb6-b1de734825d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

br...@bradwood.com

unread,
Apr 14, 2017, 1:25:15 PM4/14/17
to col...@googlegroups.com
To be honest, I haven't done any regular dev in CF9 in so long I don't even remember what it supports. CF9 fell out of support from Adobe looooong ago, and CF10 is being EOL'd next month!!
 
You need to have a heart-to-heart with your customer about their priorities.  They aren't going to be able to do anything modern, especially with any framework, unless they get on the ball.  If cost is an issue, just switch to Lucee.  It's free, professionally supported, and very compatible.
 
Your only real option is to switch to an older version of ColdBox in the 3.x series as that should probably work, but I'll warn we only support 2 minor versions of ColdBox, so the 3.x series is already unsupported.  In fact, Coldbox 5 is in beta, and we're dropping even more compatibility to keep up with the latest features of the engines like closure's.
 
Thanks!

~Brad

ColdBox/CommandBox Developer Advocate
Ortus Solutions, Corp

E-mail: br...@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com 
 
 
--------- Original Message ---------
--
--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
For Bug Reports, visit https://ortussolutions.atlassian.net/browse/COLDBOX
---
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coldbox+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages