Wheels.QueryParamValue
The value for cfqueryparam cannot be determined
Suggested action
This is usually caused by a syntax error in the WHERE statement, such as forgetting to quote strings for example.
Error location
Line 11 in controllers\EmergencyManagement.cfc
9: function index() {
10: getSite();
11: navigations = model("navigations").findAll(where="siteid = #site.siteid# AND navtypeid = 1 AND statuscode = 1", order="menuweight");
12: content = model("contents").findAll(where="siteid = #site.siteid# AND isPublished = 1 AND permalink = 'HOME'");
13: news = model("news").findAll(where="isPublished=1 AND siteid = #site.siteid# AND newsend > getDate()", order="newsstart DESC", include="newsstatuses", maxrows="6");
Tag context
Error thrown on line 18 in wheels\model\adapters\cfquery.cfm
- called from line 422 in wheels\model\adapters\Base.cfc
- called from line 176 in wheels\model\adapters\SQLServer.cfc
- called from line 229 in wheels\model\read.cfm
- called from line 11 in controllers\EmergencyManagement.cfc
- called from line 157 in wheels\global\cfml.cfm
- called from line 125 in wheels\controller\processing.cfm
- called from line 91 in wheels\controller\processing.cfm
- called from line 184 in wheels\dispatch\functions.cfm
- called from line 5 in wheels\index.cfm
- called from line 2 in rewrite.cfm
- called from line 5 in wheels\events\onrequest.cfm