The NEWSID argument passed to the retrieveOneNews function is not of type numeric.
|
If the component name is specified as a type of this argument, it is possible that either a definition file for the component cannot be found or is not accessible.
|
|
The error occurred in C:/ColdFusion2018/cfusion/CustomTags/Plus_Intranet_G2/News_G2.cfc: line 14
Called from C:/home/bluemountainsreview.ca/wwwroot/rti-template.cfm: line 93
Called from C:/home/bluemountainsreview.ca/wwwroot/rti-template.cfm: line 89
Called from C:/home/bluemountainsreview.ca/wwwroot/rti-template.cfm: line 1
Called from C:/home/bluemountainsreview.ca/wwwroot/the-review.cfm: line 66
|
12 : <!--- This function retrieves an news from the database --->
13 : <cffunction name="retrieveOneNews" hint="Retrieves an news from the database based on id" output="no" returntype="query">
14 : <cfargument name="newsid" type="numeric" default="0" />
15 : <cfargument name="accesstype" type="string" default="public" />
16 : <cfquery name="getNews" datasource="#application.dsn#" dbtype="ODBC">
|
|
Resources:
|
Browser |
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
Remote Address |
18.118.146.169 |
Referrer |
|
Date/Time |
26-Jul-24 10:53 PM |
|