Displaying 20 results from an estimated 200000 matches similar to: "DBI / FCGI not working"
2007 Dec 14
1
does gem fcgi require fcgi to be installed?
Does anyone know if the gem fcgi needs fcgi to be installed on my
machine? I''m trying to install the gem fcgi and I''m getting the
following message:
-bash-3.00# gem install fcgi
Updating metadata for 9 gems from http://gems.rubyforge.org
.........
complete
Building native extensions. This could take a while...
ERROR: Error installing fcgi:
ERROR: Failed to build gem
2008 Dec 01
1
Getting at DBI connection via ActiveRecord connection
I have a standalone batch program that is going to move data between two
databases.
I am taking advantage of the AR connection semantics in database.yml to
get connections to these two DBs. But I want to do all of my DB access
at the DBI/DBD level for performance reasons.
I am having trouble getting access to the underlying DBI handle so that
I can prepare SQL statements, execute them etc.
2006 Aug 30
1
Rails + Apache FCGI Client Auth BUG
Hi, I''m having a strange problem, my application is not passing the
parameters to the form''s action after a POST under SSL with client auth
on Apache + FCGI, but if I issue the same request over regular http
everything works nice.
On regular HTTP I stop the app and open a breakpoint console and type:
> params[:person]
it shows me the contents of my request.
But when on
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
2008 Jul 23
3
Premature end of script headers: dispatch.fcgi
Hey people,
I''m working on this issue for more than 4 hours now and I have no idea
what''s wrong so I ask you kindly to have a look at my stuff.
When I try to access my website I get this error:
Application error
Rails application failed to start properly
error.log says:
[Wed Jul 23 17:51:22 2008] [error] Premature end of script headers:
dispatch.fcgi
I tried to run
2006 Oct 31
3
Forcing FCGI at dreamhost
Greetings all,
I''ve got an app in production at dreamhost, but I can''t seem to force
FCGI on it. I have it enabled for the domain in the admin panel, have
checked the file permissions in my public folder, and tried firing the
scripts from the command line.
When firing either dispatch.cgi, or dispatch.fcgi from the command line,
I get a 500 internal server error on BOTH.
2009 Apr 14
6
SQL Server via DBI/ODBC configuration
I have followed the cookbook on http://wiki.rubyonrails.org/database-support/ms-sql
but am having problems with the rails part. I can connect to the
database using sqsh so I think all the freetds plumbing is good. When
I try to connect to the db with a rake db:migrate or just using script/
console I get this error:
>> Client.find(:first)
DBI::InterfaceError: Unable to load driver
2007 Jun 20
0
gnarly permission issue using fcgi
deploying a Rails app for the first time on a mediatemple (dv) server
using capistrano and fcgi
everything looks OK but when I go to access the app, I get 500 errors
with things like
/usr/lib/ruby/1.8/fileutils.rb:1246:in `initialize'': Permission
denied - /var/www/vhosts/xxxxxxx.com/app/current/public/../config/../public/stylesheets/dhtml_calendar/demo.css
(Errno::EACCES)
these
2007 Aug 15
0
Does anybody know why activeRecord is not built on top of ruby-dbi?
Does anybody know why activeRecord is not built on top of ruby-dbi?
I am curious about the reasoning behind the decision.
Was it performance? Complexity? Databases support, ease of
installation or something else.
Let me know if anybody knows why.
Thanks
Diego
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
2009 Apr 02
2
Ruby 1.9, Rails 2.3.2, and MSSQL issue
I am having a strange issue. I have upgraded to ruby 1.9.1 to do some
testing on one of my machines. My app accesses a MSSQL database to
pull in some information. Everything worked fine with ruby 1.8.6, but
now if I try to navigate to a page that accesses that database I get
this error:
DBI::InterfaceError in PagesController#company
Unable to load driver ''ODBC'' (underlying
2007 May 26
1
Application working with CGI but not with FastCGI
Hi,
I have started rails some week ago. I have deployed my application to
production sever which is a shared host with FastCGI enabled. This
application is actually Radiant CMS and working fine if I am using
dispatch.cgi. But whenever I use dispatch.fcgi the browser takes a lot
of time and finally it stoped with blank screen - no error. I have
created a simple test application but the same problem
2007 Sep 04
0
RoR on windows with MS SQL Server DBI:ADO driver Memory Leak
i''m running ruby 1.8.5 and rails 1.2.3 on windows with a bunch of
mongrels that are proxybalanced via apache 2.2.4
the db adapter i''m using is the sqlserver one in ADO mode. so it''s using
win32ole.
when a mongrel service is freshly started it consumes about 40 megs of
ram. but about each and every request is leaking memory. about 20 megs
per hour(!!!).
so after half a
2008 Feb 07
2
FAILSAFE error with uploads
I''ve just upgraded a production web site with some new code to handle
file uploads, using both the standard post technique and swfupload.
This code was working perfectly in my development environment, and I''m
not sure what I should ever start to look for. Here''s the stack dump:
/!\ FAILSAFE /!\ Wed Feb 06 19:13:41 -0700 2008
Status: 500 Internal Server Error
2008 Feb 02
1
attachment_fu stopped uploading files to S3
Hey everyone,
I''ve been using attachment_fu to upload large media files to S3 with
great success in my rails application. However, it has recently
stopped uploading.
My app appears to be uploading to somewhere, as my browser is
displaying a ''sending request to..." status message for about the
right length of time. The records are also created in my application
database.
2007 Dec 23
7
Help with error "undefined method `downcase' for nil:NilClass" after migration
Hi all,
I have a rails 1.5.2 application. I''ve frozen the application via the
"rake rails:freeze:gems" command. This application worked well on a server
I previously had it installed on. My server was getting really slow, and I
requested that I be moved to a new server. When I perform a "gem list
rails" command on my new host, I receive only version 1.2.6. Since
2007 Dec 17
1
script/console connection works, but Rails app fails with SQL Server
Greetings,
I have an application that connects to a remote SQL Server database
using DBI/ODBC. If I run the application via the Rails console, I am
able to retrieve data and work with the database just fine. If,
however I try to access it via the Web application itself, I get the
following error:
DBI::DatabaseError (S1000 (0) [unixODBC][FreeTDS][SQL Server]Unable to
connect to data source):
2006 Mar 07
6
fcgi dispatcher crashing
I''m trying to set deploy an app on apache2 with the fcgid module, but can''t
seem to get anywhere.
Things work fine with cgi, but when i switch to fcgi, i''m stuck with a ''503:
Service Temporarily Unavailable''. There''s no error being logged anywhere,
afaik.
Trying to run dispatch.fcgi from the shell doesn''t work either. It bombs
out,
2007 Apr 09
1
Problem on Dreamhost: engine for rails 1.1.6
Hi,
I''m trying to set up Substruct (shopping cart engine) on Dreamhost.
I failed several times and tracked down to the problem area.
I can reproduce the problem with these steps:
1. install rails
2. change public/.htaccess for fcgi
3. change public/dispatch.fcgi for RailsFCGIHandler
At this step, I can execute public/dispatch.fcgi without error.
4. svn co
2010 Mar 24
6
dispatch.cgi, dispatch.fcgi, dispatch.rb not present in Public folder
I''m doing a series of ruby on rails tutorials and it got to a part
where i need to edit the following files that should be automatically
inside the public folder: dispatch.cgi,dispatch.fcgi,dispatch.rb but I
have none of these inside my public folder. Is there a reason for
this? And how can i change it so they are back
The only files in my public folder at present are
404.html 500.html
2007 Mar 15
0
Rails on Win2k/IIS 5.0
I''ve got Rails running pretty well, but with a catch that is kind of
specific to our environment, maybe someone can help.
Basically we have a Win2k/IIS5.0 server (this is the c: drive) that
only has the site configuration and the perl, php, .net and ruby stuff
on it. All the data files are supposed to be on our netApps filer
(call this filer1). This is our written IT Security Policy and