This content has been marked as final. Show 6 replies
Instead of <cfif isdefined("form.submitArticle")>
try <cfif len(trim("form.article")) gt 0>
Still not working but this time it did have this at the bottom. (Not that it sheds any light on anything.)
HTTP 500 - Internal server error
> Still not working but this time it did have this at the bottom. (Not that it sheds any light on anything.)
> HTTP 500 - Internal server error
> Internet Explorer
Your ISP is NOT displaying ColdFusion errors, this is an CF
Administrator setting. Maybe you can ask them to turn this on to
provide you more details.
A quick glance at your code did not show any obvious problems. My first
guess would be file permission problems. That the location you are
trying to write the uploaded file is not letting you.
You might try putting <cftry><cfcatch></cfcatch><cftry> blocks around
your code and output the error with this so that you don't have to rely
on the ISP error handling.
This is a good general practice anyway.
Basic ISP accounts often disable <cffile ....> functionality. Are you
sure you are allowed to upload files with your hosting account?
1. The destination attribute requires the full physical path to the upload folder.
2. Make sure you have write permission on that folder.
3. What Ian said.
Thanks so much everyone.! It works!!!