What I described below was apparently caused by the CF_MAIL and
CF_MAILPARAM custom tags provided by Coolfusion with IMS SE. Both tags
include a "common" library, which has the getVars() function.
So apparently, when CF_MAILPARAM is called, it includes the common
library file which was already included, and tries to redefine the
getVars() function.
I solved this by modifying the cf_mailparam custom tag:
<cfif not isDefined("getVars")>
<cfinclude ...>
</cfif>
Rick
Rick Root wrote:
> I've got a strange CFC error that is occuring right now. Basically, I'm
> testing the CFC via URL calls and it suddenly stopped working, producing
> the following error:
>
> ------------------------------------------------------------
> Routines cannot be declared more than once.
> The routine "getVars" has been declared twice in different templates.
>
> ColdFusion cannot determine the line of the template that caused this
> error. This is often caused by an error in the exception handling
> subsystem.
> ------------------------------------------------------------
>
> However, there is no getVars method defined in the CFC, nor in the
> applicable Application.cfm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tracking and documenting hours spent on a project or with a
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220576
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54