Forum: Ruby on Rails file_column issue: file upload fails without error

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
6b7c871c2036a41f0253580074b406cc?d=identicon&s=25 Nick C. (n1c)
on 2006-01-12 12:03
environment:
Locomotive + Rails 1.0 Max
Lighttpd 1.4.8, FastCGI 2.4.0
Ruby 1.8.2
File_column version: 0.3.1
Path to file_column: /vendor/plugins/file-column/

symptom:
Uploading a file using file_column fails; no file is uploaded and the
"filename" column remains blank. No error messages are produced - a new
record is created with blank filename.

code and log here: http://www.rafb.net/paste/results/Mj7wIn54.html

Any ideas on what I might have overlooked?
C204883ecbdf04c9a5bc9b024f5ed575?d=identicon&s=25 Bill Pennington (Guest)
on 2006-01-12 19:02
(Received via mailing list)
Just a WAG Nic but does your filename have any spaces or special
characters in it? My second guess would be a rights issue but I think
Locomotive setups that up correctly by default.

On Jan 12, 2006, at 3:03 AM, Nick C. wrote:

> new
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>



- Bill
6b7c871c2036a41f0253580074b406cc?d=identicon&s=25 Nick C. (n1c)
on 2006-01-13 09:46
Bill Pennington wrote:
> Just a WAG Nic but does your filename have any spaces or special
> characters in it? My second guess would be a rights issue but I think
> Locomotive setups that up correctly by default.

Many thanks for your reply Bill - I tried all sorts of filenames with no
joy, but in the end tracked it down to a problem with Safari and
lighttpd - adding the following to the lighttpd.conf file fixes it.

$HTTP["useragent"] =~ "^(.*MSIE.*)|(.*AppleWebKit.*)$" {
    server.max-keep-alive-requests = 0
  }

Thanks for the reply nevertheless.
This topic is locked and can not be replied to.