Displaying 20 results from an estimated 20000 matches similar to: "File Upload Truncated"
2006 Aug 08
1
File upload into Mysql (using lighttpd) problem
Hello All,
I''ve run into a snag. (I apologize in advance. I''m not very good at
system administration.)
I''m building an app that allows users to upload files. Up until now I
have been storing the files on the file system, but tonight I decided to
change the app so the files are stored in the database as a longblob.
I thought everything was working great, until I
2006 Jun 07
1
Upload to DB hang mentioned in wiki
I''m uploading files to a mysql database, using a mediumblob size.
Following the wiki here:
http://wiki.rubyonrails.org/rails/pages/HowtoUploadFiles ,
I got past the first mysql 500kb limitation with the max_allowed_packet = xM
trick, setting it to 1000M.
However, as the person at the very bottom of the wiki notes, I too cannot
upload more than around 10mb.
I also tried the suggested
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 Sep 19
1
File upload problem
Ok, I''ve got a problem with uploading files larger than 65999 bytes
(exactly - took me a pretty a long time to determine this limit ;
dichotomy isn''t a very fast method you know).
Above this size, my file isn''t event sent to the server since the
connection is reset before the upload actually begins. At least, so it
is in Firefox and IE ; in Safari, the page loading
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:
2006 Jun 15
0
lighttpd and upload progress
Hi, I''m currently running my rails app on lighttpd. I want to have an upload
progress bar for uploading large files. But I have read that lighttpd has
removed that functionallity right now. Should I switch over to apache 2.0
if I want this feature? Is there another way around it?
Also, I tried installing Apache 2.0 on my mac with fastcgi, but once I tried
to start the server, I get
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 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 Jul 06
0
big size file uploading problem w/IE
Hi,
I''m now trying to develop application for big files exchanges by
Webserver and Browser with rails.
There is a browser dependent file uploading problem with Rails.
Uploading file is issued from .rhtml like this.
<%= form_tag({:action => "upload_file"}, {:multipart => "true"}) %>
With IE ( 6.02900 ) a 5 meg file was sent but slowly and it took more
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 Jun 15
0
upload progress bar
Hi, I''m currently running my rails app on lighttpd. I want to have an upload
progress bar for uploading large files. But I have read that lighttpd has
removed that functionallity right now. Should I switch over to apache 2.0
if I want this feature? Is there another way around it?
Also, I tried installing Apache 2.0 on my mac with fastcgi, but once I tried
to start the server, I get
2006 May 04
0
File upload directly to DB
I''ve created file upload functionality based on the wiki
HowtoUploadFiles. I''m in development mode running the newest version
of rails and ruby. I''m using the development WEBRICK web server. The
database is MySQL 4.1. I''ve updated the max_allowed_packet
setting=32M.
The problem is that file uploads get stuck at sizes of 8mb or greater.
Sizes below 8mb work
2006 Jan 25
0
Shovel Switchtower deployment
Hello,
Iam trying to use Shovel deployment as explained here
http://nubyonrails.com/pages/shovel. Iam currently using windows as my
development environment and *nix to deploy the application. I have changed
all the dispatch.* files to be executable. but when I run
rake remote_exec ACTION=setup_lighty
it asks for my password and installs lighttpd and other stuff, but
fails on task update_code.
2006 Jun 15
1
Problem with deployment on TextDrive using shovel script
Hi,
I try to deploy rails application to textdrive account.
I use Geoffrey Grosenbach''s script
http://nubyonrails.com/pages/shovel
Unfortunatly I receive error message :-(
Can you help me with this problem? I have no clue where exactly problem
is :-(
Please see log below
----
LOG
----
c:\Projekty\truck\trunk>rake --trace remote:exec ACTION=setup_lighty
(in
2006 Jun 07
3
Check version of RubyGems, FastCGI, PCRE / uninstall
I followed hivelogic article on how to install Ror and Lighttpd on Mac
OS.
http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger
But I''m not sure I got Lighttpd in the right place.
If I do "which lighttpd" and "lighttpd -v" I get answers from the
terminal:
/usr/local/sbin/lighttpd
lighttpd-1.4.11 - a light and fast webserver
But I
2007 May 13
0
dispatch.fcgi + lighttpd upload files
Hi,
as i''m aware that there are not too many out there still using
dispatch.fcgi && lighttpd (rather moving to mongrels && nginx ) , i''ll
try to make this simple:
how do i limit a file upload size in lighttpd? am i supposed to do this
via the app? i''ve racked the internet for a while now, and my mind is
heavy and stumped.
i''m running
2006 Mar 09
0
Lighttpd-1.4.11 prerelease available for testing with Rails
If you use Lighttpd to run Rails, please help test this pre-release to
make sure it works great with Rails:
http://www.lighttpd.net/download/lighttpd-1.4.11-20060309-0117.tar.gz
--
Posted via http://www.ruby-forum.com/.
2006 Mar 15
0
FCGI hanging w/ LightTPD in about 24-48 hours
I started an earlier thread about this ... Someone suggested a different
version of LightTPD, since the version I was using had some known issues
with FCGI. Well, we''ve upgraded to LightTPD 1.4.11 and the problem is
still happening.
We have Rails running under fcgi (one process) under LightTPD. This, in
turn, is proxied to by Apache. This is on a test IP, so only a few
people should
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 Aug 07
0
lighttpd path error
Hello list,
I''ve been developing a rails app using webrick as my server. I''m trying
to change my server over to lighttpd as I am now attempting to deploy on
a host that uses lighttpd. I had an older version of lighttpd installed
and could never get it running correctly with my app. Preparing for
deployment I decided to get lighty working and after poking around a bit
I