similar to: File upload problem

Displaying 20 results from an estimated 30000 matches similar to: "File upload problem"

2006 Jan 12
3
File Upload Problems With Apache and Lighttpd But Not Webrick...
I am having trouble uploading files through a form when using Apache (production) or Lighttpd (development). The odd thing is that when I force script/server to load Webrick, the upload works just fine on the same code-base. When it fails, the upload just sits there forever. Some browsers eventually return an error code, others spin for a long time... Anyway, it never recovers. The file is a
2006 May 11
0
File upload works with webrick, but fails in lighttpd 1.4.11
I''ve been trying to add a basic file upload feature (just based on the Rails Recipes example), but I find that it only works with the webrick server and not my lighttpd 1.4.11 server. I''m running Rails 1.1.2 on OSX. The upload silently fails with both firefox and Safari, even with the useragent hack and with any size of file/image. My lighttpd config is pretty standard as
2006 Aug 09
2
Problem with IE forms over SSL: rails + lighttpd
If I submit a form with lots of checkboxes using IE, rails, lighttpd (server on OSX Server, client on XP), then I get a "This page cannot be displayed" message from IE after some delay and nothing shows up in the rails or lighttpd logs. Cutting the number of checkboxes fixes the problem. Safari works fine. I''ve googled for anwers and apparently there is an upload problem
2007 Jul 08
1
streaming upload progress plug-in
I''m working on new methods of doing Ajax calls through streaming responses. I''ve created a little javascript library (which depends on prototype.js) that can interpret a stream of JSON objects separated by semicolons. As an application of this, this Mongrel plug-in streams upload status when given a qualified upload_id. It looks like this:
2006 Feb 25
1
Safari File upload problem
Hello! I found your post to the rubyonrails.org about Safari File upload problem Did you able to solve this issue? > Has anyone else had problems uploading files with safari? > > Excerpt from my .rhtml: > > <form action="/photo/create?item_id=<%= @item.id %>" > method="post" enctype="multipart/form-data"> >
2006 Jan 12
2
file_column issue: file upload fails without error
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:
2006 Feb 01
5
lighttpd not starting on os X (intel)
Hi all, I''m followed the instructions written here to prepare my new iMac for Ruby / Rails developement: http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger When I run script/server I get the following output: harm-de-laats-computer:~/rails/test harmdelaat$ script/server => Booting lighttpd (use ''script/server webrick'' to force WEBrick) =>
2006 Aug 18
3
Lighttpd Conf Help - Multiple Domains Multiple Apps
Hi Guys, I hope someone can help me out. I am trying to configure two applications to run on lighttpd and each app will have its own domain. My machine is running on Fedora. When I run my lighttpd with the following conf file, I get no error but when I check out my app, it dishes out a 404 error- the 404 being served isn''t the 404 inside the railsapp/public folder. Do hope someone
2005 Nov 19
3
file uploads with lighttpd-1.4.7 broken??
Hi guys, Im doing fileuploads and it works great with webrick...I just installed lighttpd 1.4.7 and ran ruby script/server suecessfully picking up my lighty and fcgi install... however...when I try to upload a file the proces either stalls (no evidence of the hit in any logs) or returns 503.... any suggestions?? thanks in advance... Mikkel -- Posted via http://www.ruby-forum.com/.
2006 Jan 22
12
Problems with File_column
Hi, Rails - newbie here.. I''m setting up an app and am trying to use file_column to upload a picture with an item and I''m running into several problems. (Background: I''m running Locomotive Rails under OS X 10.4.4, and using Safari) I followed the directions to add the necessary items, then found out that I had to add the item to make the form tag be a multipart
2006 Jun 15
6
Problem with lighttpd
I have a problem with lighttpd on OSX. Everything builds fine (and webrick runs just fine) but lighttpd barfs: edward-kenworthys-computer:~/Development/Ruby/pricematic/trunk edward$ script/server => Booting lighttpd (use ''script/server webrick'' to force WEBrick) => Rails application started on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown
2006 Jun 26
4
Missing Content-Length header with lighttpd
We have our rails application running using lighttpd and everything seems fine with Firefox, but when the client is Explorer some media doesn''t get transferred from the server correctly. With Webrick, Content-Length is set when a request is made for an mp3 file. Using Firefox with lighttpd, Transfer-Encoding is set to chunked, so the Content-Length field isn''t required.
2006 Jul 05
5
ok, lightTPD is installed... how do i use it.
i used the hivelogic article to install ruby on rails to my mac: http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger everything works great using the script/server command, but isn''t that still using WEBrick? how do i server my apps with lightTPD? i tried following the instructions given here: http://duncandavidson.com/essay/2005/12/railsonlighty but have had no
2006 May 30
2
Wrong Content-type in RJS with Gettext
Hello, I am developing an application using Rails and doing l10n with ruby-gettext. When I deploy the app on lighttpd, every rjs template is rendered with Content-type: text/html; charset: UTF-8. I believe it comes from 85th line of rails.rb script in ruby-gettext lib. RJS templates are not executed in this situation. Hovewer, when I run the app with Webrick, rjs templates are rendered with:
2006 May 20
0
File upload - first works fine, subsequent fail
Hi, I''m runing locomotive 2.0.7 with the RMagick bundle and file_column to handle file uploads and resizes. The first upload works perfectly, and the rest of the app continues to operate fine. If I go and try to add another file (i.e. a new product), Safari just sits there. No log messages anywhere, nothing. Hit stop, restart the app with Locomotive and refresh to repost the data -
2006 Mar 01
1
upload file above /public, authenticate before serving?
I have file uploads to the database and stored in a longblob working on our client extranet, except that it kills mysql/activeRecord on files bigger than about 200kb. (is there a reason for this - running mysql 5.0.18, lighttpd or webrick on winxp??) So I''m now thinking about whether its possible to do either: 1) upload a file into #rails_root/some_folder/ instead of
2006 Jan 27
8
ror/lighttpd - HTML files via port 80 become application/octet-stream?
Hi everybody I am trying to get RoR to work with lighttpd. Nearly there, but I am stuck with a strange phenomenon. If I configure lighttpd to serve pages on say port 2000, I can get at my testapp fine and see the "Welcome aboard" page. However, if I configure lighttpd to use port 80, I get a download prompt from my browser. If I access my URI like
2006 Jun 14
0
upload progress bar wih lighttpd 1.4.11?
I''m trying to implement the upload progress bar with lighttpd 1.4.11, and i''m seeing various posts (linked below) indicating that lighty doesn''t support it. sounds like they''re working on it, though. anyone have any idea what the current status of this is? or if there''s a workaround in the meanwhile? those posts:
2005 Dec 14
3
image upload (apache2.0+ lighttpd)
Hello all, I use lighttpd 1.4.8 and I have a problem with image uploads. I tried file_upload plugin, but it is strangely working sometimes and refuse to work sometimes. Function in the controller is (@user is loaded in before_filter) def update_watermark @user.watermark = params[:user][:watermark] @user.save redirect_to :action => "index" end Model is
2006 Apr 26
8
script/server lighttpd on Windows
Has anyone been able to get script/server to successfully use lighttpd on a Windows box? When I try to start the server I get: PROBLEM: Lighttpd is not available on your system (or not in your path) So then I add "C:\lighttpd\sbin" to the path for the console session, and it still fails with the same error. If anyone has some success with this I sure would like to know. Webrick