Skip to main content
New Participant
January 20, 2010
Question

ColdFusion4.5 to ColdFusion9.0

  • January 20, 2010
  • 4 replies
  • 4097 views

Hi,

Does someone has information on migrating ColdFusion4.5 to ColdFusion9.0.

If then please let me know is there any considerable issues while doing this migration.

Thanks,

Shekar

    This topic has been closed for replies.

    4 replies

    Participating Frequently
    January 21, 2010

    A few other notes:

    CF has a code analyzer to help identify issues.  It is in the CF Administrator (under debugging if I remember right).  Load up CF 9 on your local machine (its free for dev use) copy over the code and point the analyzer to the folder to see what it comes up with.

    Many new functions have been added to CF such as fileCopy()  Lots of people wrote their own functions or UDFs.  Now with new functions or vars with same name it can cause conflicts.

    If you use verity read through some forums or posts about upgrading.  I think verity uses different memory now and even if the collections were empty they took 8mb of ram or so.  So if you happened to decide to upgrade a machine instead of starting fresh, and that machine had a bunch of junk verity collections in it, it could suck up a lot of RAM.

    New Participant
    January 21, 2010

    Thanks to all for suggestions,

    So full install CF9.0 would be a better option instead of upgrading from 4.5 to 9.0. (due to some memory and misc problems in the server)

    Owainnorth
    Inspiring
    January 21, 2010

    A fresh install is *always* the better option, it's cleaner and it means you haven't knadgered your old install - I've seen too many people try and be clever and end up wishing they'd never tried.

    Not only that but hardware has moved on in however many years, and likely a desktop PC can now outpower the machine you're currently running CF4.5 on.

    It is *all* in the testing.

    O.

    BKBK
    Adobe Expert
    January 21, 2010
    ColdFusion4.5 to ColdFusion9.0

    Don't.

    Inspiring
    January 23, 2010
    ColdFusion4.5 to ColdFusion9.0

    Don't.

    Bold (and unhelpful) words...

    --

    Adam

    BKBK
    Adobe Expert
    January 24, 2010

    Hey! The analogy war was just getting started. lol

    And I do believe somewhere in this mess I DID say to just put it on a CF9 server and see what happens. It might work just fine.

    It seems the consensus is that he should NOT just upgrade the production server and hope for the best. Matter-of-fact, I don't think it is even possible to go straight from 4.5 to 9 and thus to go to 5 and then 6 and then 7 and then 8 and finally 9 would not be the right way to go. If he could even get all the inbetweens.

    Best bet is to get a clean install of 9 and put the application on there and see how it works.


    Best bet is to get a clean install of 9 and put the application on there and see how it works.

    I agree.

    Inspiring
    January 21, 2010

    Expect things to either stop working or to not work as well.  Earlier versions of CF were more forgiving of less than perfect code.

    Inspiring
    January 21, 2010

    I tried to reply to this via the web UI using Safari ony phone. The

    "rich text" editor doesn't work because the browser doesn't see it as

    a form control so I cannot click it and get a cursor. So that sux. I'm

    just replying via email now, but I've had mixed results doing that

    too, so goodness knows if this'll get through. Stupid, amateurish

    forum software.

    Things to look out for:

    • DB drivers. CF9 uses JDBC rather than OLEDB or ODBC. People have

    experienced some "unexpected" results with their queries.

    • All scopes are now structs. If you've got variables with the same

    name as a scope, you could experience weirdness there too.

    • you're migrating up five CF versions. There will be lots of stuff

    that works slightly differently.

    • Do NOT try to do an online upgrade (even if poss). Install a new

    instance of CF9 (on a new box), and set your site up again. Do this is

    a lab. Test test test test.

    --

    Adam

    Owainnorth
    Inspiring
    January 21, 2010

    Yes - install CF9 on a brand new install on a brand new server and don't try and upgrade whatever you do.

    Spend about a week thrashing out the site and making any necessary changes.

    Go live.

    With versions that different firstly you'll preferably be needing a newer more powerful server, and I doubt very much ColdFusion would even upgrade.

    O.

    Inspiring
    January 21, 2010

    I doubt very much ColdFusion would even upgrade.

    I would be flat out amazed if it did.

    (Though I think I actually have a copy of 4.5 somewhere and am almost tempted to try it ...