Displaying 20 results from an estimated 9000 matches similar to: "file_column and 500 errors"
2006 Jul 19
0
File Uploads And 500 Errors
Rails community,
I have been trying to diagnose some sporadic "Rails application failed to
start properly" errors, and this is what I have been able to determine. I
am running on a shared server on site5, apache w/ FastCGI. When my
application is running, it is only using 1 dispatch.fcgi process until I
upload a picture. At that point, between 3-4 more dispatch.fcgi processes
are
2006 Jul 20
0
Tracking 500 Errors
I have been trying to diagnose some sporadic "Rails application failed to
start properly" errors, and this is what I have been able to determine. I
am running on a shared server on site5, apache w/ FastCGI. When my
application is running, it is only using 1 dispatch.fcgi process until I
upload a picture. At that point, between 3-4 more dispatch.fcgi processes
are spawned and the 500
2006 Jun 05
1
file_column & RMagick
Hi,
I have a site where I wish to upload a resize a picture, and store it in
the file system. The best solution that I have found for this so far is
using file_column. This was working great, for about an hour, but all of
the sudden I began to get the following error (only when i attempt to
resize).
NameError (undefined method `assoc'' for class `Magick::ImageList''):
2006 Jul 28
7
Uploading 2+ files simultaneously
I''m having trouble uploading 2+ files simultaneously (from different
client machines)...
the upload page just hangs...
I''m running...
- ruby 1.8.4 (2005-12-24) [i686-linux]
- rails 1.1.4
- red hat el 4
- apache
- fcgi (0.8.7, 0.8.6.1)
- firefox 1.5.0.5
- httpd.conf
<IfModule mod_fastcgi.c>
FastCgiIpcDir /tmp/fcgi_ipc/
AddHandler fastcgi-script .fcgi
FastCGIConfig
2006 Mar 13
2
Excessive Errno::EBADF with dispatch.fcgi
I''m running Ruby on Rails via FastCGI in an Apache environment, and I
get the following error, a lot.
(from log/fastcgi.crash.log)
[13/Mar/2006:15:52:51 :: 94704] Dispatcher failed to catch: Bad file
descriptor (Errno::EBADF)
/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:38:in `close''
/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:38:in `each''
2007 Sep 27
3
FastCGI in Shared Hosting - What To Do?
Hello Campers!
I am working on Site5, trying to get a working Camping application
running. Unfortunately, my sole option in terms of deployment is FastCGI.
I have no access to sudo so I cannot create ScriptAliases.
I''ve taken the Camping Short Short Example and uploaded it, along with a
dispatch.fcgi and an .htaccess file.
My question is - given the state of Camping development right
2006 Jul 19
0
Web Service (server) and file_column issues
Hi there,
I''m having some issues with using SOAP and file_column. The Web service I
created is pretty straight forward. It gets the 5 most recently updated
members from the database. Nothing too spectacular. However, the Members
class uses file_column and when I try to connect to my web service I get
this error:
TypeError in Connect to serviceController#display_recent_updates
Do
2006 Apr 12
5
File upload doesn''t work in production mode
Can anyone understand what the production.log file is telling me. I''ve
tried playing with the permissions for the folders and it makes no
difference. Every time I submit the form to upload the file I get
"Application error (Rails)" which doesn''t really help.
Processing DocsController#create (for 82.152.151.194 at 2006-04-12
12:44:13) [POST]
Session ID:
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 04
4
"can''t convert Magick::GravityType into Integer"
Am having trouble with file_column -- on certain crop operations, it
says:
A TypeError occurred in [controller]#[action]:
can''t convert Magick::GravityType into Integer
[RAILS_ROOT]/vendor/plugins/trunk/lib/magick_file_column.rb:90:in
`crop''
Any advice? Here''s the backtrace:
[RAILS_ROOT]/vendor/plugins/trunk/lib/magick_file_column.rb:90:in
`crop''
2006 May 14
0
RJS Template not getting called
I have a shared account on Site5.com running Rails v1.0. I installed
the RJS template plugin within my project.
My controller function gets called, but my corresponding RJS template
does not get called. The following is output (any thoughts?):
ActionController::MissingTemplate (Missing template
./../config/../app/views//workout/addjournalentry.rhtml):
2006 Jun 05
1
file_column permissions
this is getting frustrating...
i installed file_column without a hitch for the first time to just play
around with. using the exact same steps as before, i try to use it with
one of my actual applications, and i get "permission denied" errors. i
figure there might be some conflict with my application so just for
kicks i do the exact same thing i did the first time to test
2006 May 07
1
file_column problem - uninitialized constant Magick
Hi,
I''m on Windows and getting the following error while trying to use
file_column with RMagick,
uninitialized constant Magick
C:/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:123:in
`const_missing''
#{RAILS_ROOT}/vendor/plugins/file_column/branches/kyle/lib/file_column.rb:621:in
`file_column''
I installed file_column by
2006 Jul 20
1
file_column - assigning with an actual file rather than a multipart
Hi there,
I''m using the wonderful file_column and have struck an issue that
someone might have seen before.
My images already sit on the server. So, instead of passing a
multipart message I''m sending a file object.
Something like...
f = File.new("public/gallery_images/builder.png")
p = Product.find_first
p.image = f
p.save
On the save I recieve an error which
2006 Feb 13
3
file_column: uninitialized constant Magick
I am getting this following error when using file_column with RMagick:
uninitialized constant Magick
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/
active_support/dependencies.rb:200:in `const_missing''
./script/../config/../vendor/plugins/rails_file_column/plugins/
file_column/branches/kyle/lib/file_column.rb:621:in `file_column''
2006 Jul 27
0
Separating file_column upload directory by account
I''m working on an app right now that uses
http://www.kanthak.net/opensource/file_column/index.html Sebastian Kanthak''s
file_column plugin for file uploads. The usual directory structure it saves
to is:
model/attr/id/filename
For my current project, I''d like to separate uploads by account so that it''s
easier to monitor an account''s resource usage.
2006 Jun 20
0
file_column Trying to Create Thumbnails of Non-Image Files??
Howdy.
We use the handy file_column plug-in in some of our apps.
We have a model with a file field and we upload both images and non-images
into this field.
It is specified as follows:
file_column :file_uri, :magick => {:versions => {:thumbnail => {:size =>
''200x''}}}
Well, it works great for images but for non-images, the save fails. The root
cause is an
2006 Mar 16
0
problem with file_column storing images and other files
I have a model called ProductFiles which associates an arbitrary
amount of image and documents with a product. I am using the
file_column plugin to manage the upload and storage of the images,
like so:
class ProductFile < ActiveRecord::Base
# Accepted MIME types, mime types that are not part of this list are rejected
MIME_EXTENSIONS = {
"image/gif" => "gif",
2006 Mar 16
2
Questions about file_column plugin
Hi!
I''ve got 2 models - let''s call them User and Image. User has_many
images. (Thanks to Mark Reginal James :) ) I have a single form where i
can create a user and add to him any number of images, which are
uploaded using file_column plugin.
Now 3 questions:
1. How to change the default path where file_column plugin saves images,
so it will save them in a directory, which
2006 Feb 16
1
file_column problem
I cannot get the file_column plugin to work. Probably something stupid
I am doing wrong as I am pretty much a newbie...
1. I added a varchar column to my table called "image"
2. This is my class:
class User < ActiveRecord::Base
file_column :image, :magick => { :geometry => "80x80>" }
attr_accessor :new_password
... rest of class
3. In my controller I