close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Invalid CFML construct

Thread began 4/05/2009 10:06 am by Ty.Taylor116345 | Last modified 4/06/2009 2:59 pm by Danilo Celic | 3629 views | 2 replies |


Invalid CFML construct

I am receiving the following error when I try to use search. I ran the wizard and it returns this error when I search for anything.

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


The CFML compiler was processing:

* An expression beginning with URLEncodedFormat, on line 235, column 90.This message is usually caused by a problem in the expressions structure.
* The body of a cfoutput tag beginning on line 231, column 12.
* The body of a cfoutput tag beginning on line 231, column 12.

The error occurred in C:\websites\\RSR_Results.cfm: line 235

233 : <td></div>
234 : <div class="WADAResultInfoArea">
235 : <div class="WADAResultTitle"><a href="RSR_Detail.cfm?RSRStockNumber=#URLEncodedFormat(WADARSR.RSR Stock Number)#">#WADARSR.Full Manufacturer Name#</a></div>
236 : <div class="WADAResultDescription">#WADARSR.Product Description# <a href="RSR_Detail.cfm?RSRStockNumber=#URLEncodedFormat(WADARSR.RSR Stock Number)#">More...</a></div>
237 : <div class="WADAResultCommerceArea">

Sign in to reply to this post

Ray BorduinWebAssist

It doesn't like this line of code:


It is hard to say what might be wrong with it without actively debugging.

Sign in to reply to this post

Danilo Celic

The code you pasted appears to have spaces in the column names. Is that correct? If so, then once way around this might be use switch to using something like:
#URLEncodedFormat(WADARSR['RSR Stock Number'])#

Or better yet, remove the spaces from outputs and update your SQL so that it selects the column name(s) with spaces and creates aliases for the columns without spaces. How to do that would depend on the database that you're using, but it might look something like this for MySQL:

SELECT `RSR Stock Number` as RSRStockNumber, ....

In MySQL, the ` character is an escape character. Is that block of code generated by DataAssist, or did you create this block of code and then drag in the data bindings from the Bindings panel?

FYI: it's considered bad practice to have spaces and any other special character in column names as it will cause issues within SQL and output of values from a query without taking steps to workaround them. Best to not have the spaces to begin with.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...