I get weird errors that usually happen when the server crashes (the errors occur as a result of - they do not cause the error). Maybe that is happening and it just freaks out??
Do you have any sort of onREquestEnd processing that for some crazy reason might include the parent page?? Not that that would happen randomly or anything. ....................... Ben Nadel Web Developer Nylon Technology 350 7th Avenue Floor 10 New York, NY 10001 212.691.1134 212.691.3477 fax www.nylontechnology.com "You know, like nunchuck skills, bowhunting skills, computer hacking skills... Girls only want boyfriends who have great skills." - Napoleon Dynamite -----Original Message----- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Friday, May 26, 2006 7:08 PM To: CF-Talk Subject: Function defined twice Hi, How come I can get this error (under CF5): "Routines cannot be declared more than once. The routine *removeMark* has been declared twice in different templates. The error occurred while processing an element with a general identifier of (), occupying document position (1:1) to (1:1) in the template file C:\...\AUTONOUVCONFIRM.CFM 1º The function is declared in autonouvconfirm.cfm like this: <CFSCRIPT> function removeMark(text) { return REreplace (text, '</?SPAN[^>]*>', "", "all"); } </CFSCRIPT> 2º it is called twice in the same file like this: <TEXTAREA STYLE="display:none" NAME="nouvTitle">#removeMark(nouvTitle)#</TEXTAREA> <TEXTAREA STYLE="display:none" NAME="nouvSummary">#removeMark(nouvSummary)#</TEXTAREA> 3º There are no other occurrence of "removeMark" in the whole project 4º the template autonouvconfirm.cfm is called only once in the whole project like this: <A HREF="autoNouvConfirm.cfm?adr=#URLencodedFormat(nouvUrl)#&org=#url.org#" TARGET="_blank">#title#</A> (I mean not as a custom tag) Of course, this never happens when I try the templates, only once every 1000 times, I get this in my error log. -- _______________________________________ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241657 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

