Problems uploading files

1 view
Skip to first unread message

PenguinJr

unread,
Nov 23, 2009, 12:15:56 PM11/23/09
to Ruby on Rails: Talk
Hello, i have problem when i upload files to the website, i can't
understand it. I use Apache 2 + Ubuntu, and Apache returns Error 500
(captured by the application)

I use attachment and shared-mime-info and i don't understand why don't
work, temp files are written with 600, and not 644 :S

Sometimes use /tmp/CGI* other times use /rails_dir/tmp/
attachment_fu :S

I use Apache 2.2 + mod_rails + attachment_fu + shared-mime-info +
rails 2.2.2



the production.log is this: http://gist.github.com/241194

Mehmet Davut

unread,
Nov 23, 2009, 4:43:28 PM11/23/09
to rubyonra...@googlegroups.com
When i programming something with uploading, problem is with form. I
forget to add multipart tag to form. Are you ok with that?
> --
>
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=.
>
>


Reply all
Reply to author
Forward
0 new messages