Solved

Error in ColdFusion (Open BlueDragon) CFScript  Badly formatted tag

Posted on 2011-09-10
4
471 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
  • 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Hi, Even though I have created this Tutorial on My personal Blog, Some people might not able to find my website, So here i am posting it again Today, from the topic it is very clear that i will be showing you here the very basic usage of how we …
Recently while working on a project I got a very annoying cfdocument has no body error message. I had never seen this error before. So I checked the code. The code was pretty simple; it was Just showing me the cfdocumnt tag and inside that tag a …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

863 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now