Forum: Radiant CMS Forms Extension

Posted by Marshal Linfoot (Guest)
on 2010-11-07 14:13
(Received via mailing list)
Greetings.

I'm using the forms and forms-mailer extensions to create a form to be
emailed. Most of it is working well except for attachments. I've used 
the
<r:file> tag to get a file chooser button/dialog and that appears to 
work.
In the "content" page of the form, what gets emailed, I've used <r:read> 
to
get the uploaded file, but when the form is submitted, a 500 application
error is given "for exceptions thrown outside of an action".

What am I missing? Thanks for any suggestions.
Posted by Jim Gay (Guest)
on 2010-11-07 18:48
(Received via mailing list)
On Nov 7, 2010, at 8:12 AM, Marshal Linfoot wrote:

> Greetings.
>
> I'm using the forms and forms-mailer extensions to create a form to be emailed. 
Most of it is working well except for attachments. I've used the <r:file> tag to 
get a file chooser button/dialog and that appears to work. In the "content" page 
of the form, what gets emailed, I've used <r:read> to get the uploaded file, but 
when the form is submitted, a 500 application error is given "for exceptions 
thrown outside of an action".
>
> What am I missing? Thanks for any suggestions.
>
> --
> marshal

I don't really know those extensions at all, but you'll need to look at 
your log file.

From the root directory of your app, run "tail -500 log/production.log"
That will  show you the last 500 lines of your production log. Look 
there for details about the actual error. If you need more help, copy 
what you find into a pastie and reply back.

-Jim

Jim Gay
Saturn Flyer LLC
www.saturnflyer.com
571 - 403 - 0338
Posted by Marshal Linfoot (Guest)
on 2010-11-07 21:24
(Received via mailing list)
Thanks Jim. Here's the pastie: http://pastie.org/1279841

Is the "Yajl::ParseError" caused by the FormsController trying to parse 
the
file that was uploaded? If so, what to do about it?

 I'm totally lost here, so any suggestions for troubleshooting would be 
much
appreciated.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.