-2
를 찾을 수 없습니다. CF 관리 매핑을 사용해야하지만 다른 파일에 이러한 오류가 많이 있습니다. 문제를 쉽게 해결할 수있는 방법이 있습니까?오류 "가 포함 된 템플릿을 찾을 수 없습니다"가 포함 된 템플릿
Full error message:
Could not find the included template spiderBlock.cfm.
Note: If you wish to use an absolute template path (for example, template="/mypath/index.cfm") with CFINCLUDE, you must create a mapping for the path using the ColdFusion Administrator. Or, you can use per-application settings to specify mappings specific to this application by specifying a mappings struct to THIS.mappings in Application.cfc.
Using relative paths (for example, template="index.cfm" or template="../index.cfm") does not require the creation of any special mappings. It is therefore recommended that you use relative paths with CFINCLUDE whenever possible.
이것은 매우 불길한 질문입니다. 다른 사람의 코드로 작업하고 로컬 작업 복사본을 설정하려고합니까? 그런 다음 응용 프로그램을 실행할 때 이러한 일련의 오류가 계속 발생합니까? 그렇다면 대답은 응용 프로그램에서 사용 된 매핑을 확인하고 응용 프로그램의 매핑과 일치하도록 CFAdmin의 구성을 미러링하는 것입니다. 당신이 새로운 응용 프로그램을 구축하고 바로 게이트에서 이러한 오류를 받고하는 경우 , 당신은 각을 참조하는 방법을 어떻게보고 싶을거야; 작업 공간의 각 cfm에 대한 적절한 상대 경로를 참조해야합니다. –
네, 다른 사람 코드로 일하고 있어요 – Wolandello
@ user978707 질문에 자세한 정보를 제공하기 위해 시도하십시오. 지금 앉기 때문에 품질이 좋지 않아 닫힐 위험이 있습니다. – Sampson