Link to home
Start Free TrialLog in
Avatar of Member_2_6473502
Member_2_6473502

asked on

Coldfusion Bind works in 2010 but not in 2016

Coldfusion 2016

Why do binds not work?

I have 2 Select boxes, and I'm trying bind the contents of 1 input to the value to another input and it will not work in CF 2016.

It used to do this asynchronously in CF 2010.

Can anyone assist
Avatar of Charlie Arehart
Charlie Arehart

I have a guess, that your browser is trying to talk back to cf asking for a folder which it finds does not exist. This link is not in YOUR html/cfml code but in code CF generates FOR you, when working with such bindings and other js-based UI elements.

Do you have access to your cf admin? If so, what is the value for the default script src in the first settings page of the admin. Is it cf_scripts, or something else?

Next, are you using an external web server in front of CF, like IIS or Apache? if so, is a virtual directory defined for this failing site, naming that value above and pointing it to the cf_scripts folder in CF's cfusion/wwwroot folder?

If not, you can get errors like this, because of the mismatch.

It could be that someone imported either one of your cf admin or web server settings, but not both, resulting in this situation. Or the web server virtual directory may point to cf's cfusion/wwwroot/CFIDE/scripts folder. That was where it was in cf11 and before. The folder was moved out of the CFIDE folder in cf2016.

And someone needs to reconcile things, changing one or the other above--as suited to all CF apps on your server, of course.

There are ways to diagnose this in your browser, harder to explain succinctly. Let's see if this above may be your root cause and solution.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.