Solved

Error in ColdFusion (Open BlueDragon) CFScript  Badly formatted tag

Posted on 2011-09-10
4
491 Views
Last Modified: 2012-05-12
I have a hosting site that has added 'ColdFusion' support to my site.  I found out that it is not the Adobe CF but Open BlueDragon.  I put together a simple page to see how well BD works as I've not used it before.  I get an error on this code and the hosting service has not been responsive to see if they have a bad install or is it just something bad on my part.  I can run this page on other true Adobe CF sites and it works.  
Am I missing something obvious?

Any thoughts?

Here is the error:
Bad File Exception
Request	/junk/cfScriptTest.cfm

Type	Template
Message	Badly formatted tag
Position	Line=4; Column=16
Detail	Problem occurred while parsing: Syntax error at line 2, column 16. Encountered: "=" after : "<"
Source	

1: <html>
2: <title>CfScriptTest</title>
3: <cfscript>
4:   for ( x=1; x <= 5; x++ ){
5:       WriteOutput( x );

^ Snippet from underlying CFML source

BlueDragon Time @ Server: 08:23:03.790 Saturday, 10 September 2011 

Open in new window

<html>
<title>CfScriptTest</title>
<cfscript>
	for ( x=1; x <= 5; x++ ){
  		WriteOutput( x );
	}
</cfscript>
<body>
CFSCRIPT test

<br />
</body>
</html>

Open in new window

E43509-498938.flv
0
Comment
Question by:E43509
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 6

Accepted Solution

by:
cfEngineers earned 500 total points
ID: 36516317
replace <= with LTE and replace x++ with x=x+1
0
 

Author Comment

by:E43509
ID: 36516786
Wow that worked!  I don't understand why as the BD manualOpenBdManual show this as its example
// Looping Simple
for ( x=1; x <= 5; x++ ){
  WriteOutput( x );
}

Open in new window


Using your LTE and x=x+1 also worked on my Adobe CF servers.
Thanks.  Just curous ... do you think it is a version of Blue Dragon issue?
0
 
LVL 6

Expert Comment

by:cfEngineers
ID: 36516878
It could be.

Which version of BD are you using?
0
 
LVL 52

Expert Comment

by:_agx_
ID: 36516924
> do you think it is a version of Blue Dragon issue?
>> It could be.

That'd make sense as even ACF didn't support the <= and ++ syntax until version 8 I think.  With 7 and earlier you still have to use the LTE and x = x + 1 syntax.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is an updated version of a post made on my blog over 3 years ago. It is unfortunately, still very relevant as we continue to see both SQLi (SQL injection) and XSS (cross site scripting) attacks hitting some of the most recognizable website and …
Hi. There are several upload tutorials using jquery and coldfusion. I found a very interesting one here Upload Your Files using Jquery & ColdFusion and Preview them (http://www.randhawaworld.com/) . I did keep the main js functions but made sever…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question