Skip to main content
November 9, 2009
Question

cfmenu and cfide

  • November 9, 2009
  • 1 reply
  • 2730 views

I'm receiving the following error with only cfmenu on the page.  This exact code works fine on my server, but I get the error below on Godaddy's ColdFusion servers.  I suggested that they make sure there is a virtual directory to CFIDE, but they haven't confirmed that there is a virtual CFIDE directory.  Instead, they suggested I use set cflocale (US) which I have.  When I output their locale and my new locale, they're the same.  English (US)

Any clues?

Security: The requested template has been denied access to D:\ColdFusion\CFIDE\scripts\ajax\messages\cfmessage_en_US_.js.

The following is the internal exception message: access denied (java.io.FilePermission D:\ColdFusion\CFIDE\scripts\ajax\messages\cfmessage_en_US_.js read)

    This topic has been closed for replies.

    1 reply

    Inspiring
    November 9, 2009

    The easiest way to test if it's configured properly is to browse to the .js file.  It has to be web-browseable for the client browser to load it...

    However you might want to circumvent godaddy's "support" and simply specify your own path to the files with <cfajaximport>:

    http://livedocs.adobe.com/coldfusion/8/htmldocs/Tags_a-b_2.html#3980738

    That way you can set up a dir within your site with the script files and what not, and don't have to rely on godaddy doing their job properly.

    --

    Adam

    November 10, 2009

    Thanks, Adam.  I did just as you suggested.  I copied the CFIDE directory from my working server to Godaddy's server.  I then used <cfajaximport> to point to the CFIDE directory.  It sees it now without the error message, but it isn't finding the CSS even though I have tried mapping it and using the default.  It's putting the menu in a vertical outline rather than the horizontal dynamic format.  This problem is exactly what happened on my server when I didn't have CFIDE mapped.  The odd thing is that I can browse to all of the files in the new CFIDE folder.  I don't see why the cfmenu format is not working.  I wonder if there is a patch to CF8 that they need to install.

    Inspiring
    November 10, 2009

    Can YOU browse to the CSS file(s) it's trying to load?

    --

    Adam