Skip to main content
Participant
June 4, 2012
Answered

Updating from Version 5 to 10

  • June 4, 2012
  • 1 reply
  • 479 views

Hello everyone,

     I am looking into upgrading from Coldfusion 5 to 10 and was wondering if anyone knows first off if this can be accomplished and if it can if there are any issues/bugs that I might need to be aware of. We have some code that is already there and working but wanted to get to the most current version so any help would be much appreciated.

Thanks in advance

This topic has been closed for replies.
Correct answer Adam Cameron.

There's a code analyser in CFAdmin which should help you troubleshoot incompatibles. It doesn't work back as far as CF5, but it'll be a start.

One thing to look out for is CF5 is quite forgiving of having variable names like "URL", which'll cause you problems as scope-names are reserved words now.

You should perhaps migrate your codebase onto CF9 and cfcompile the whole lot. That'll show up any compiler errors (eg: illegal syntax). I think cfcompile is missing from CF10 (can't check: am at the pub at the moment).

Also some old com+ and CFX tags are unlikely to work now. Check all those.

Oh: from CFMX6 onwards, DB connections are done via JDBC, not OLEDB or ODBC, and this caused me some compat issues too.

And the last thing I can think of is CFGRAPH no longer works reliably. But it was never any good anyhow, so more fool you for using it, if you are

--

Adam

1 reply

Adam Cameron.Correct answer
Inspiring
June 4, 2012

There's a code analyser in CFAdmin which should help you troubleshoot incompatibles. It doesn't work back as far as CF5, but it'll be a start.

One thing to look out for is CF5 is quite forgiving of having variable names like "URL", which'll cause you problems as scope-names are reserved words now.

You should perhaps migrate your codebase onto CF9 and cfcompile the whole lot. That'll show up any compiler errors (eg: illegal syntax). I think cfcompile is missing from CF10 (can't check: am at the pub at the moment).

Also some old com+ and CFX tags are unlikely to work now. Check all those.

Oh: from CFMX6 onwards, DB connections are done via JDBC, not OLEDB or ODBC, and this caused me some compat issues too.

And the last thing I can think of is CFGRAPH no longer works reliably. But it was never any good anyhow, so more fool you for using it, if you are

--

Adam

BSnow30Author
Participant
June 6, 2012

Thanks for the information!  I think we are gonig to do a new install of 10 and see what happens with the codebase as is and go from there.  I don't believe we were using CFGRAPH so that should be good and we might be changing DB backends so would have to look at that anyways.