• Migrating Coldfusion to Open Bluedragon – form.FIELDNAMES

    This is a note for my future self, because something tells me I’ll come across the same problem again….

    The old server ran Colfusion MX 6.01, the new server is running Open Bluedragon, the near equivalent to Coldfusion 7 or 8. (Colfusion MX6.01 doesn’t work properly with Apache 2, or more recent linux operating systems and I couldn’t justify the upgrade cost to the latest version of coldfusion. My next big project will be to rewrite the Roots web site into an open source language though as Open Bluedragon runs coldfusion code and is open source, I might be able to develop rather than re-write from scratch, anyway, enough of that background).

    Things change between program versions and to my horror I found the shopping cart wasn’t working yesterday. The blame lies with me, I didn’t properly test and I should have spotted it before the server move. Hey ho, 3 hours to debug and fix, and the problem was with

    <cfset this = val(evaluate(listgetat(
       form.FIELDNAMES, listcontains(
          form.FIELDNAMES,"_ID_"))))>
    

    The Fieldnames are coming out as all lowercase, and the original code was written to handle the form.FIELDNAMES returning all uppercase.

    If i’ve a bottle of white wine at home, I’ll open it and have a glass to celebrate my satisfaction ๐Ÿ™‚


  • Googlemail down ๐Ÿ™

    277-googlemail-down-thumb-300x142-276.jpg Googlemail is down ๐Ÿ™ Looks like they think they’ll be an hour. At times like this I think ‘if only there wasn’t so much spam I’d still have my email on my own server, that’s working fine”. Then I remember, I’m pretty sure the googlemail server uptime is higher than my server, and seeing as I haven’t had to spend any time updating this, that and t’other software to make gmail work, I should be patient and wait for my gmail to return to service.


  • Moving the blog to a new server

    I’ve just moved the blog to the new server. More on that later. I’ve been very slow on posting things lately, perhaps once this task is off the to do list I’ll make a little more time.


Search this site


Free apps

  • birthday.sroot.eu – Your birthday or other celebration date based on [years on other planets] / [how many seconds/days] / [how far you’ve travelled around the sun]
  • stampulator.sroot.eu – Calculates the combination and how many 1st, 2nd, large 1st and large 2nd class Royal Mail stamps you need on large envelopes and packets

Recent posts


Archives


Categories