Again, this is code that has always worked 100% with 4.5 and 5. The error
given is:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You have attempted to dereference a scalar variable of type class
[Ljava.lang.String; as a structure with members.
The Error Occurred in [filepath deleted!]: line 52
50 : <cfset request.msgString="&msg=DBError">
51 : <cfif NOT IsDefined("dumpInfo")>
52 : <cfset dumpInfo=Duplicate(CFCATCH)>
53 : </cfif>
54 : </cfcatch>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This is a TRY / CATCH loop around an INSERT query, and dumpInfo is passed
through to a mailing tag to email the error info to me.
I can't find anything about Duplicate() in the MX documentation, and nothing
that seems relevant about CFCATCH. WTF does the error mean?! :-\
Setup: WinXP Pro, IIS 5.1, CFMX Developer.
cheers,
- Gyrus
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [EMAIL PROTECTED]
work: http://www.tengai.co.uk
play: http://www.norlonto.net
- PGP key available
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists