cfc vs cfm files
Hi,
I am new to coldfusion, never saw it before this month. The person that developed our application has moved on and I am now supporting it. So far it seems fairly straight forward programming wise. We have no test environment so when I need to update the application, it is fairly complicated with copying files to a test directory, renaming them Test_, using sed to change the paths in my cfm files..... So I have done that, and started making updates to my application. Things seem to be working as far as my changes go but then when I move along through this app (to things I have not changed), I get errors, always that it cannot find the coldfusion component ReportShared. Now it just so happens that ReportShared is the one file that is a .cfc (besides application.cfc) file as opposed to a .cfm file. The exact error is
10:55:16.016 - Application Exception - in /usr/local/apache/htdocs/Testing/Test_Re
portShared.cfc : line 148
Line 148 is pointing to a cfinvokeargument tag. I did not modify .cfc files except to rename. Is there something special about the .cfc file? This file is certainly a lot different from the Application.cfc defining many functions and used in many of the files. Do I need some sort of directory path in the Test_ReportShard.cfc maybe? LIne 147 is <cfinvoke component="ReportShared"....> Maybe that should be component="Test_ReportShared"???
Thanks!
