January 30th, 2004, 06:30 PM
I got the following error on my page:
Error Occurred While Processing Request
The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code.
Null Pointers are another name for undefined values.
Stack Trace (click to expand)
it definitly has something to do with CFMAIL - When I code it like
<cfmail to="#session.email#" from="email@example.com" server="mail.mysite.com" subject="#session.first_name#, Thank You For Your Order" type="html">
I got the error above.
I tried to add <cfoutput> tags around session variables and then I got this:
Attribute validation error for tag CFMAIL.
The value of the attribute to, which is currently "firstname.lastname@example.org", is invalid.
Can somebody help me with this, I am looking at my CFMAIL tag and I cant see anything wrong there, especialy cant see how can <CFMAIL to="email@example.com" ... > (second error) be invalid?
January 30th, 2004, 06:49 PM
ok, I managed to fix it It was all about one unwanted <cfoutput> inside the <cfmail></cfmail> tags, but I was completly confused with those two errors CF reported, they pointed me to the definition of <cfmail> parametars all the time but problem was in body of function
January 30th, 2004, 08:36 PM
Do you have "enable robust exception information" turned on in the CF Administrator under "debugging options"?
January 30th, 2004, 09:02 PM
I don't know... do you? We both host at CT, so it should be the same I guess...
January 31st, 2004, 09:26 AM
They may not, for security reasons. I'd recommend using the free single-user version of CFMX locally to test things before uploading to CT. This way you can debug more easily.