Hi All! I'm porting from CF2021 to Lucee and am ha...
# lucee
d
Hi All! I'm porting from CF2021 to Lucee and am having mapping issues. I have a mapping in the Lucee admin that resource maps
/sharedSettings
to
C:\projects\settings
. In CF2021 I can do
<cfinclude template="/sharedSettings/settings.cfm">
but in Lucee I'm getting:
Copy code
lucee.runtime.exp.MissingIncludeException: Page /sharedSettings/settings.cfm [C:\projects\myProject\sharedSettings\settings.cfm] not found
I'm also unable to map to
..\settings
. What am I missing?
b
@Dave Kopecek Please show how/where you've configured the mapping
My first assumption is the CFMapping simple hasn't been created correctly
You can also dump
Copy code
expandPath( '/sharedSettings' )
to see where it points
Check spelling and ensure the dir in the Lucee admin exists, or Lucee will just ignore it
z
also, invalid mapping paths show up in red in the admin
✅ 1