Skip to main content
Known Participant
September 9, 2010
Question

CF Error Template is encrypted

  • September 9, 2010
  • 1 reply
  • 3250 views

I'm running CF9.01 on Win2k8R2 with IIS7.5.

I had multiple copies of the CFIDE and CFDOCS folders and deleted the wrong one (from an old install). 

So I copied the 2 folders over from another CF9 machine (same platform) in order to get the proper files in place.  Everything is working fine except for one thing.  When I get an error in a template, the detailed error page is coming through encrypted.  I've tried reinstalling CF9.01 over my current install, but that hasn't fixed the problem.

Any ideas on how I can fix this.  It's very annoying.

    This topic has been closed for replies.

    1 reply

    Charlie Arehart
    Community Expert
    Community Expert
    September 11, 2010

    What do you mean "encrypted"?

    And when you say you are installing 9.01 over the current, are you sure that you're telling it to put the CFIDE into the place that your web site (and the CF Admin) is configured to find it?

    When you start having multiple copies of CFIDE, this is a common problem (keeping them synced when you do a CF update). It's far better to not duplicate the files, but instead create a virtual directory (in the web server, in each site) that points to the one "real" location.

    Hope that helps.

    /charlie arehart

    Providing CF troubleshooting services at carehart.org/consulting

    charlie@carehart.org

    /Charlie (troubleshooter, carehart. org)
    seanpfordAuthor
    Known Participant
    September 11, 2010

    That is exactly how my server is configured. Unfortunately, when moving files from an older server I was replacing, I ended up with 2 copies, and I deleted the wrong one. Everything seems to be fine, except for the error template. So, I'm left with a very secure machine, since you can't get any information by forcing an error. ]nfortunately, neither can I.

    And when I do the reinstall (of the cf9.01 upgrade), I'm placing the files in the only CFIDE location I have (now). I'm guessing that the error template is not part of the upgrade and that is why the problem is not fixed. This makes me wonder what else might be messed up, but I just don't know it yet.

    Is there any way to fix this without a complete reinstall?

    Sent from my Samsung Epic™ 4G

    Charlie Arehart
    Community Expert
    Community Expert
    September 11, 2010

    But again, what do you mean by "encrypted"? And that you "can't get any information by forcing an error".

    If it's that you're not seeing details like the line number and template in error, that's enabled by turning on the "robust exception information" in the CF Admin Debugging Output page. Sorry if you new that, and it's not the problem. I'm grasping at straws.

    Let us know what you mean by encrypted, and maybe we can help better.

    As for you "placing the files in the only CFIDE location I have", I can't tell if you mean you're telling the installer to put them there, or you're putting them there after it's done.

    I'll say that you may think you "have only one location", but you could have more (such as the internal and external web server roots, depending on how you've configured things in the past).

    More important, what matters is where your CF configuration thinks the CFIDE should be. If you look in your CF Admin, on the Mappings page, it has a CFIDE mapping. That's where it's looking. But if you specified that during the install, then it would seem the installer should have placed the files it needs there. And it would place all the files it needs there.

    All this talk about "copying the CFIDE" files may be a red herring, though. Tell us more about the "encrypted" nature of the errors.

    One last thing: it's possible that the error page you're seeing isn't provided by CF's built-in error template, but instead that your errors are being handled by either a site-wide error handler (if one is specified in the main Settings page of the CF Admin), or an application-level error handler (onError in application.cfc or CFERROR in application.cfm or any file), or of course try/catch handling on a page.

    /charlie arehart

    charlie@carehart.org

    Providing CF and CFBuilder troubleshooting services

    at http://www.carehart.org/consulting

    /Charlie (troubleshooter, carehart. org)