Displaying 20 results from an estimated 3000 matches similar to: "Uploadify authentication problem"
2010 Sep 09
1
406 Not Acceptable with swfupload
---------flash_session_cookie_middleware.rb
require ''rack/utils''
class FlashSessionCookieMiddleware
def initialize(app, session_key = ''_session_id'')
@app = app
@session_key = session_key
end
def call(env)
if env[''HTTP_USER_AGENT''] =~ /^(Adobe|Shockwave) Flash/
req = Rack::Request.new(env)
params =
2007 May 29
1
Headers munged into RAW_POST_DATA
Hi,
we''re seeing a really weird problem in our production environment.
"Connection: Keep-Alive\r\n" is being pre-pended to the
RAW_POST_DATA, which makes requests error out. This bug is seen
infrequently and *seems* to be browser-related, although I can''t
reproduce it using the browser reported in HTTP_USER_AGENT.
Set up is a hardware load balancer (NetScaler)
2007 May 30
0
Headers munged into RAW_POST_DATA
Hi,
we''re seeing a really weird problem in our production environment.
"Connection: Keep-Alive\r\n" is being pre-pended to the RAW_POST_DATA,
which makes requests error out. This bug is seen infrequently and
*seems* to be browser-related, although I can''t reproduce it using the
browser reported in HTTP_USER_AGENT.
Set up is a apache 2.2 -> hardware load balancer
2011 Jul 07
0
Question of uploading large file using carrierwave, uploadify and nginx upload module
Hey ROR users,
I have a small experimental web app which is for uploading files. The
web app uses carrierwave, uploadify. It works fine on small size
files. However, it can not handle large size files (>1G) efficiently.
Then I decided using nginx upload module, it worked well on small size
files after modification of codes,. But It fails on uploading large
files (>1G) because of http error
2010 Sep 21
0
Upload form with uploadify jquery plugin
I would like to integrate the uploadify plugin with a standard rails
form. However I can''t figure out how to add a new field and have it get
submitted with the file upload. I added a name field into the form, but
the valued does not get submitted.
<%
dialog_file_description = ''Photos''
allowed_extensions = [:jpg, :jpeg, :gif, :png]
max_size = 20.megabyte
2006 Jul 10
4
Test Mongrel 0.3.13.4 Please
Hey Folks,
There''s a nasty little bug in 0.3.13.3 when running in development mode
which could cause all sorts of problems.
Please grab the pre-release of 0.3.13.4 and tell me if it works for you:
gem install mongrel --source=http://mongrel.rubyforge.org/releases/
Thanks!
--
Zed A. Shaw
http://www.zedshaw.com/
http://mongrel.rubyforge.org/
http://www.railsmachine.com/ -- Need
2008 Feb 09
1
how to check the config.action_controller.session options ?
when setting it in my environment.rb
config.action_controller.session = {
:session_key => ''_myapp_session'',
:secret => ''3a64394bb895f1f05e0c07f71127d93d''
}
I cannot get it back in the script/console ..
:session_key=>"_session_id" !!!
why ?
>> ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS
=>
2008 Oct 10
17
authenticity_token sent, still InvalidAuthenticityToken
Hi!
To send the authenticity token from flex back to the server, I followed
this:
http://blog.dt.org/index.php/2008/06/rails-2-flex-3-and-form-authenticity-tokens/
I have two controllers in my rails app. The method described in the link
above works with the actions in one controller, but does not work with
the other.
The controller which does not work has just one action which performs a
file
2010 Feb 09
4
Rails3 pre and protect_from_forgery
I''ve almost entirely converted a rails 2.3.5 app to 3pre. I''m having
some trouble with protect_from_forgery. I had protect_from_forgery set
in application_controller.rb, but run some uploadify ajax stuff in one
of my controllers, where I had protect_from_forgery, :except
=> :add_file set.
In rails 3 I''m getting ActionController::InvalidAuthenticityToken on
the ajax
2012 Feb 08
0
uploadify 401 unauthorized error with rails 3
Installed uploadify_rails3 gem, while submiting the form all params
are correct but I am getting error
"Completed 401 Unauthorized in 0ms" which prevents me from doing any
further steps.
If any of you has faced such situation please send me any solution to
get rid of it.
Thanks in advance
--
You received this message because you are subscribed to the Google Groups "Ruby on
2007 Jan 26
0
Problems with assert_select in integration tests
I''ve been battling with assert_select in my integration tests for
several evenings now. I''m testing a multi-step form, and after
submitting the first step, my assert_selects fail on the attempts to
find the form on the next page. However if I print out the response
object, it has the exact text of what I''m trying to match.
Here is the complete integration test. The
2012 Mar 22
0
problems configuring cluster to lucci and virtual machines resource
I have Centos 6.1 and i'm configuring cluster with conga, lucci and ricci
these services are installed and running without problem. I need this type
configuration for a high availability of virtual machines which is run on
kvm. My problem is at the time of configuring "service group", when i click
to add appears the new windows wich say "add service to cluster" and i fill
2004 Aug 06
0
winbindd PANIC: smb_xmalloc: malloc fail
Windows 2003 native mode
AIX 5.1 gcc 2.9
MIT kerberos 1.3.4 pre-compiled binary for AIX
openldap 2.1.30
samba 3.0.5
The nmbd, smbd daemons appear to be running without issue.
winbindd will abort every time with:
smb_xmalloc() failed to allocate 2534319874 bytes
PANIC: smb_xmalloc: malloc fail.
===============================================================
INTERNAL ERROR: Signal 6 in pid 32470
2006 Apr 07
1
[FYI] issues with integration testing
I was working on an integration test to test login/logout functionality and
came across an issue that took me a bit to figure out.
In one of my controllers, I have to test the request.env["HTTP_USER_AGENT"]
value as a portion of the app will be access by Windows CE hand-helds. in
the controllers index action i had the lines
logger.info "user agent: " +
2007 Mar 13
0
Retrieve session_key
The unobtrusive javascript plugin stores its generate javascript files
in the session.
But it has some issues currently putting things into the wrong session
(because it doesn''t check to see what session key is being set in the
application controller). As such, it doesn''t work unless you
explicitly set the session key.
Currently I just added a line to my application controller
2000 Sep 28
1
[PATCH] Next cleanup part 4 or 5 by now.=)
Changes:
* Removed utimes() posix hack since scp.c moved to utimes()
* Fixed waitpid() to be more proper. It was driving me nuts.
* Made setsid() a #define in next-posix.h
* Removed WCOREDUMP() from next-posix.h since we really don't support
it and now #ifdef .. #else .. #endif around the single place it was
used.
* Fixed typecasting issue in sshd.c with sizeof() returning "long
2006 Dec 11
2
Does mongrel look at the Rails page cache?
Hi all. I''m trying to skip the Rails page cache if the user is logged
in:
---
# Rewrite index to check for static
RewriteCond %{HTTP_COOKIE} !^.*logged_in=yes.*$
RewriteRule ^/$ /index.html [QSA]
# Rewrite to check for Rails cached page
RewriteCond %{HTTP_COOKIE} !^.*logged_in=yes.*$
RewriteRule ^([^.]+)$ $1.html [QSA]
# Redirect all non-static requests to cluster
RewriteCond
2008 Oct 06
1
How to tell whether Shockwave is installed?
I'm trying to get the Windows/Mac application Lexialearning to run under mint linux (elyssa). I installed Wine 1.0, installed Lexia, tried to run it. It wanted Shockwave. Adobe won't let me have shockwave because I don't have a browser they support, but I got the installer (for shockwave 11) from download.com. I ran the installation program, it asked what language I want to use
2005 Sep 13
0
Shockware + firefox sound issues
I have firefox installed under wine (v1.5 on 20050830) and running
fairly well. I have installed Shockwave + flash, both of which seem to
work as good as their native counterparts (Native Windows in the case of
shockwave) except that sound in shockwave is jumpy and seems to be
suffering from an underrun issue. This is the output in the terminal:
fixme:dsound:DSOUND_MixOne problem with
2008 Apr 02
2
Problems on recent versions of Wine - MS Office 2000 and Shockwave
I don't make that much use of Wine but do sometimes need real MS Word,
and sometimes like to play some of the games on the shockwave.com site.
However, there have been a number of upgrades recently to Wine and these
have now stopped working with the following symptoms:
Office:
Running applications from an existing install says "This application must
be installed to run. Please run Setup