I inherited an application a few years ago and up until today, a particular part of the code has worked flawlessly. It was supposed to upload a pdf file and attach it to a record in the database. Now, I receive a generic message and I have no clue what is wrong. I mostly am an Oracle DBA and can do enough CF to get by, until now. What can I add to this to help give me an idea of what is wrong? Thanx. In the below code piece, the cflocation line just goes on, but I can't do that here.
<cftry>
<cffile action = "upload"
fileField = "requiredFILENAME"
destination = #newDest#
accept = "application/pdf">
<cfcatch>
<CFLOCATION url="upload378.cfm?F378_ID=#FORM.F378_ID#&ERROR=We were unable to upload your file. Please try again..&FMBIC_DT=#FORM.FMBIC_DT#&IE_PMO_DT=#FORM.IE_PMO_DT#
&IE_PMOMILCON_DT=#form.IE_PMOMILCON_DT#">
</cfcatch>
</cftry>