AdobeStock_455007340

When Includes Go Missing

is a very important and useful tag, and is a fundamental element of code reuse in ColdFusion. That is, until a file is moved or renamed or deleted – and then all calls fail. This is a real problem, because there is no ease way to determine where files are being included. The solution is to use / to trap exceptions of TYPE=”missinginclude” – this way you’ll know of the problem, and may be able to rectify it too. (Applies to: ColdFusion 4 or later)

Leave a Reply