> I started to break the problem down to the most-simple
> pieces.
> In the root of the web site, I created test.cfm and
> test.cfc as shown
> here:
> test.cfm
> --------
> <cfoutput><p>#now()#</p></cfoutput>
> <cfset result = createObject("component", "test")>
> test.cfc
> --------
> <cfcomponent displayname="Test" output="no">
> <cffunction name="myFun" output="false"
> returntype="string">
> <cfreturn now>
> </cffunction>
> </cfcomponent>
Not sure if it's just in this email or if it's in your code, but "now"
in the cfreturn tag doesn't have the parenthesis. Don't know if that's
at all related...
> I received the Null Pointer error when running the
> test.cfm page. Note,
> that both of these files are in the same directory. Also,
> the CFC does
> not accept any arguments. There is no constructor code,
> either.
> I then added a root "/" mapping in CF to point to:
> "D:\WebSites\Departments\ots.evansville.edu\WebSite"
> This did not work.
> I then added a custom tag path to:
> D:\WebSites\Departments\ots.evansville.edu\WebSite
> This did not work, either.
> Should I restart the CF services for some reason? I have
> not done that
> since I can "force" an expected error by mis-typing the
> CFC name in my
> code.
Well I certainly don't think it would hurt anything at this point. But
with it having been as broken down as you have here, if restarting the
server doesn't cure it I think you're looking at a tech support call
at this point.
s. isaac dealey 434.293.6201
new epoch : isn't it time for a change?
add features without fixtures with
the onTap open source framework
http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234703
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54