I know the datasource is there, in the root directory. So why can't the
CFC find it ...??
Element DATASOURCE is undefined in APPLICATION.
The error occurred in /var/www/html/coda/datatrack/DataTrack.cfc: line
14
12 :cfargument name=getType default=ALL type=String
required=yes
Other than the obvious comment about how calling variables straight out of
the application from within a CFC breaks your object encapsulation (
http://en.wikipedia.org/wiki/Separation_of_concerns) -- I would suggest
dumping before your query.
cfdump var=#application# /cfabort /
if that doesn't
Colman, Richard wrote:
I know the datasource is there, in the root directory. So why can't the
CFC find it ...??
Most likely because the cfc is not in the root or a sub-directory under
the root. If so then it is not being associated with any
application.cfc|cfm file that may be in that root
3 matches
Mail list logo