Displaying 9 results from an estimated 9 matches for "filescontroller".
2007 Mar 23
1
upload progress bar don''t work...please help
...s/upload'',
:frequency => 1,
:drb => ''druby://0.0.0.0:2999''),
:in_front => true
routes.rb :
map.connect ''/files/'',:controller=>"files"
files_controller : #####################
class FilesController < ApplicationController
session :off, :only => :progress
def index
end
def progress
render :update do |page|
@status = Mongrel::Uploads.check(params[:upload_id])
logger.info(params[:upload_id])
page.upload_progress.update(@status[:size], @status[:received]) i...
2011 Aug 21
1
dashboard 1.1.1 with filebucket doesn't show contents of the new file
...{md5}26a3112822d01f2ce6b3f052bf2809de'' to
''{md5}dd97364ab0559344d73231f517951595''
26a3112822d01f2ce6b3f052bf2809de ==> is displayed normally
dd97364ab0559344d73231f517951595 ==> We''re sorry, but something went
wrong.
puppet-dashboard log shows;
Processing FilesController#show (for 192.168.20.20 at 2011-08-21
17:37:49) [GET]
Parameters: {"action"=>"show", "controller"=>"files",
"file"=>"26a3112822d01f2ce6b3f052bf2809de"}
Completed in 22ms (View: 0, DB: 0) | 200 OK [http://192.168.20.100/
files/sh...
2006 Sep 04
3
Mongrel Upload Progress 0.2 -- With Instructions and Examples
Hi Folks,
I''m sure tons of people are gonna ruin a whole drawer of their best
panties over this one.
Rick Olson worked on the mongrel_upload_progress gem, documentation and
examples and has almost everything you need to do progress tracked file
uploads using just Mongrel to handle the upload. This means that Rails
(or any other framework) isn''t blocked while the upload
2007 Sep 18
1
Mongrel Upload Progress progress method returns Content-Length: 0
...r, sitting in front of a simple mongrel.
The bug appears on an old Xserve (mac OS X 10.3.9 powerpc), but not on
my macbook pro, or even a generic 686 linux box.
http://pastie.textmate.org/98341
The gist of the pastie above shows that attempts through the browser
and curl are actually hitting the filesController, as evidenced in the
log, but the content returned is nothing - 0 length.
I''ve turned on mongrel debugging, and nothing jumps out at me, only
difference I''ve found in the logs is the HTTP_ACCEPT variable.
I''m guessing it''s some kind of incompatiability with Zli...
2010 Apr 24
2
problem using attachment_fu with S3
Hi,
My S3 bucket is located in the US
I have attachment_fu working when using file system storage
I have sw-swf upload plugin working with my S3 account
but I can not get attachment_fu to work with S3 storage.
the error I get is :
AWS::S3::RequestTimeout in Upload filesController#create
Your socket connection to the server was not read from or written to
within the timeout period. Idle connections will be closed.
hope someone can help out or pint me to an application that works.
i have attached my db file.
in my model I have
has_attachment :content_type => :image,...
2008 May 05
0
mongrel_upload_progress_bar - where are my files?
...999''),
> :in_front => true
>
>
> Everything seems to work fine, progress bar, form, logfile ...
>
> But I could not find my uploaded files in the path...I only recognize
> some files in /var/folders/...bla ... bla ...
>
> development.log:
>
> Processing FilesController#upload (for 127.0.0.1 at 2008-05-05
> 01:50:19) [POST]
> Session ID:
> BAh7BzoMY3NyZl9pZCIlNGZjYzE3M2I1M2VhZjA4NzU3NWRhODAwODY3MWQ1
> %0ANGUiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh
> %0Ac2h7AAY6CkB1c2VkewA%3D--56884b6ccd656497d776379fa23d7909bc5afb83
> Parameter...
2008 May 05
0
mongrel_upload_progess_bar - where are my files?
...999''),
> :in_front => true
>
>
> Everything seems to work fine, progress bar, form, logfile ...
>
> But I could not find my uploaded files in the path...I only recognize
> some files in /var/folders/...bla ... bla ...
>
> development.log:
>
> Processing FilesController#upload (for 127.0.0.1 at 2008-05-05
> 01:50:19) [POST]
> Session ID:
> BAh7BzoMY3NyZl9pZCIlNGZjYzE3M2I1M2VhZjA4NzU3NWRhODAwODY3MWQ1
> %0ANGUiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh
> %0Ac2h7AAY6CkB1c2VkewA%3D--56884b6ccd656497d776379fa23d7909bc5afb83
> Parameter...
2012 Sep 17
0
puppet-dashboad fileviewer
...p the filebucket/viewer as per
http://docs.puppetlabs.com/dashboard/manual/1.2/configuring.html#enabling-the-filebucket-viewer.
The md5sums are now clickable links, but when I click them I just get a
screen that says "input/output error" and in the logs for dashboard I see:
Processing FilesController#show (for 172.16.36.71 at 2012-09-17 14:50:28)
[GET]
Parameters: {"action"=>"show", "controller"=>"files",
"file"=>"86aaee758e9f530be2ba5cc7a3a7d147"}
Completed in 1ms (View: 0, DB: 0) | 500 Internal Server Error
[http://XXXX...
2012 Sep 20
0
dashboard md5 diff
...y dashboard, for everynode on the ''event'' tab I am able to click on the
''content changed'' (the md5 sum seems to be a link) but when I do I get a
window with ''getaddrinfo: Name or service not known''
Here is the error on the dahsboard:
Processing FilesController#show (for 10.63.1.64 at 2012-09-20 12:47:02)
[GET]
Parameters: {"action"=>"show", "controller"=>"files",
"file"=>"b7336e9648dd5373bc8a506e85ba67a6"}
Completed in 6ms (View: 1, DB: 0) | 500 Internal Server Error [
http://dashboar...