As a suggestion for things to check...
I recall there was a CFML issue / bug where you HAVE TO have text starting on the same line - otherwise it would fail.
(My memory isn't perfect sorry - so it might not be ormexecutequery...
But there was certainly an issue where the premise of my example was a pain-point for me for a little while....
you HAVE TO have the actual select statement / arguments / whatever starting on the same line; like
ormExecuteQuery("SELECT .....
Because if you had
ormExecuteQuery(
"SELECT...
It would fail.