Reply to topic
Need help with cfmenuitem URL Error
LyndonOHRC


Joined: 24 Sep 2007
Posts: 4
Reply with quote
I just moved from shared server to a dedicated server and I just moved all of my code and some menu items do not work.

This tag worked fine on the shared server:
<cfmenuitem name="ReportsInspectionsStallions" href="\Reports\InspectionsStallionsMenu.cfm" display="Stallions" />

On the dedicated server a login dialog box pops up and if I login a blank page is rendered.

However this tag works fine on both servers:
<cfmenuitem name="Home" href="\Index.cfm" display="Home" />

It seems to have somethint to to do with navigation to a sub-directory off of the web root.

I'm not sure if this matters but the domain name is still pointing to the shared server as I'm still testing..

Any help is appreciated.
LyndonOHRC


Joined: 24 Sep 2007
Posts: 4
Reply with quote
OK, I fixed it. CF must consider a folder named Reports reserved or something, or maybe it's mapped somewhere outside of wwwroot.

I changed the folder name to HDReports and the error went away.

i.e.
This works:
<cfmenuitem name="ReportsInspectionsMares" href="\HDReports\InspectionsMaresMenu.cfm" display="Mares" />

This does not:
<cfmenuitem name="ReportsInspectionsMares" href="\Reports\InspectionsMaresMenu.cfm" display="Mares" />

Lyndon
Need help with cfmenuitem URL Error
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic