Displaying 20 results from an estimated 2000 matches similar to: "problems with fastcgi, apache2 and debian sarge"
2007 Mar 01
1
ActiveRecord::StatementInvalid error
When I try to run my webserver in the production environment I just
get an application error message. This is all I can find in the log:
ActiveRecord::StatementInvalid
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.1/lib/active_record/
connection_adapters/sqlite_adapter.rb:274:in `table_structure''
/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/
2006 May 17
12
Help with Apache config
I have been attempting for days to configure Apache for Rails. I have
read forums, followed How-To''s all in vain. I am hoping someone can help
me out. I am getting the Rails Welcome screen, but when trying to go to
any other url, I get the 500.html message. Take a look for yourself at
http://66.139.78.237 and click on "about your application''s
environment".
2007 Dec 29
2
needs to have method `_load'
I''m getting an exception that I''m fairless clueless about. It occurs
when I run a "create" action but neither my action or before filters
are hit before this exception. I''m hoping someone can give me a clue.
I suspect it has to do with marshalling objects in the session - maybe
TzTime is not capable of being stored in the session. I hope that''s
not the
2006 Feb 01
3
Configure Apache 2.0.55 and FastCGI
I''m installing a Rails App under Apache 2.0.55 with FastCGI.
I have this config under httpd.conf
------------------------
LoadModule fastcgi_module modules/mod_fastcgi.dll
...
Alias /fatturails/ "C:/Programmi/Apache
Group/Apache2/htdocs/fatturails/public/"
<Directory "C:/Programmi/Apache Group/Apache2/htdocs/fatturails/public">
AddHandler fastcgi-script .fcgi
2006 Nov 04
0
Marshal Data Too Short Error
I am using Ruby 1.8.2 on WinXP and am receiving a "Marshal Data Too Short"
error. I havent been able to repeat the error as it seems to happen randomly
in my rails program. However, the version of Ruby I''m using already has the
file.binmode lines outlined in:
http://wiki.rubyonrails.com/rails/pages/MarshalDataTooShort.
If possible I''d like to avoid switching to active
2006 Aug 26
1
Marshal Data Too Short Error
I am using Ruby 1.8.2 on WinXP and am receiving a "Marshal Data Too
Short" error. I havent been able to repeat the error as it seems to
happen randomly in my rails program. However, the version of Ruby I''m
using already has the file.binmode lines outlined in:
http://wiki.rubyonrails.com/rails/pages/MarshalDataTooShort.
If possible I''d like to avoid switching to
2006 Apr 05
0
problem upgrading app to RoR1.1
Hi,
I need some help when upgrading one aplication made on rails1.0 to
rails1.1
I have the application on a debian sarge i upgrade ruby gems to 1.1 and
ruby to 1.84 and make an freeze on proyect folder, but when i try to run
the application in production mode gave me these errors:
[Wed Apr 05 13:49:09 2006] [error] [client 99.5.0.45]
file
2006 Oct 11
0
storing typo sessions in memcache
I was trying to use memcache for session storage in Typo. And i got
following error, when user logs into the system.
Session ID:
Cookie set: is_admin=yes; path=/
Redirected to http://foobar.com:8002/admin/content
Completed in 0.02042 (48 reqs/sec) | DB: 0.00236 (11%) | 302 Found
[http://foobar.com/accounts/login]
undefined class/module User
2006 Apr 01
3
permission denied creating ruby sessions
My code was working, and I upgraded to Rails 1.1, and it seemed to be
working after that, but then I suddenly started seeing the following
error:
Permission denied -
/home/will/office/public/../config/../tmp/sessions//ruby_sess.c7da2e7df8df77df
/usr/lib/ruby/1.8/pstore.rb:289:in `initialize''
/usr/lib/ruby/1.8/pstore.rb:289:in `transaction''
2006 Jan 06
3
fastcgi on apache
Running on Fedora Core
I have been playing with some of the tutorials and one of them had me
install lighttpd and lighttpd-fastcgi and that was much faster than
apache seems to be.
How do I get fastcgi stuff to work on apache...
I have this setup for my tutorial environment in httpd.conf
<VirtualHost *>
DocumentRoot /home/craig/cookbook/public
ServerName cookbook
<Directory
2006 Feb 01
3
apache2 / fcgi / RoR - no connection
Hi,
I''ve generated a new Rails app and dummy controller "foo" with method
"hello". I am trying to run it under Apache/2.0.53 with fastcgi, and
getting the index.html page when I hit http://localhost/foo/hello, or
for any other request (http://localhost/kdjfslkfjs). Also, there is
nothing in the rails logs, and no errors in the apache logs.
Relevant bit of
2006 Nov 04
0
Weird exception
Hiall,
I''m currently experiencing with javascript a lot, and I have some pretty
messy code trying to handle some realtime validation issues. Although
everything pretty much "works alright", i.e. does the right thing but all
the time shows "A script on these page seems to be slow ..." dialogue. So my
suspicion is that the trouble definitely starts in my code, however,
2006 Jan 19
5
RoR still not working on SuSE 9.0 - incomplete headers received
Hi,
I''ve already posted my problem a few weeks ago on several forums, or
lists. I still have the same problem:
I have a SuSE 9.0 machine, Apache 2.x, ruby 1.8.4 I wanna get RoR
working with fastCGI.
I have installed different versions of fastCGI, have checked the
permissions of the fcgi-ipc directory, reinstalled everything and it
still doesn''t work.
In the browser window I
2006 Aug 04
0
How to make prefix_sessions recognizable?
Hello,
i must use prefix to each of my tables for my project right now. Now i''m
facing this session stored in table problem.
i don''t use rake db:sessions:create, but i use script/generate migration
create_myproject_sessions
then
create_table :myproject_sessions do |t|
t.column :myproject_session_id, :string
t.column :data, :text
t.column updated_at, :datetime
end
then
2006 Jan 02
5
Can''t get fcgi working with Apache2 on Mac OS X
I have an application that works fine in development mode under plain
old CGI and I''m trying to get it running under FCGI with multiple hours
of frustration. Lately, I am running dispatch.fcgi standalone from the
command line. It gives me a not very helpful one line error message;
Status: 500 Internal Server Error
The log file produces a not very helpful 2 line message;
2006 May 18
1
Unnecessary Gem modules loaded under Rails 1.1.2
All,
Rails 1.1.2
Win XP Pro
Rubyful Soup 1.0.4
htmltools 1.0.9
I am terribly confused as to what pulling in a gem does with respect to
how many modules get loaded at runtime.
I am using two gems in my app, Rubyful Soup and htmltools.
RubyfulSoup requires one module from the htmltools gem
(html/sgml-parser).
My app requires the RubyfulSoup gem.
When I started my app, something was causing
2009 Feb 28
0
activerecord-odbc-adapter 2.0 failed to allocate memory
I''m currently trying to connect rails to a legacy SqlServer database. System
is windows XP and my attempts to connect with activerecord sql adapter and
ADO.rb file failed miserably (I wrote a mail about it before)
So it seems like odbc adapter is more recent compared to sql adapter and
probably more used. I''m using active_record_store as session store, and
probably the first
2006 Apr 14
3
Rails deployment
Hi all,
I''ve greated a rails application and i want to deploy it right now.
I have to use a windows 2003 server.. So i installed
i''ve used the following tutorial:
http://wiki.rubyonrails.com/rails/pages/RailsOnWindows
My application is running at : http://loc.iwsweb.nl
But everytime i connect it opens a ruby process but at the end it won''t
kill it.
As you can see
2006 Aug 16
0
Rails with Apache and FastCGI under Windows and strange errors
Hi,
I''m deploying a rails application under Windows (not my choice) using
Apache 2.0.59 (I''m stuck with Apache 2.0 since the customer wants a
single-signon solution)and FastCGI.
The rails application talks with an MS SQL Server (again, not my choice)
on a different machine.
And now, enter stage left: Strange Errors. Infrequently I get
"Rails Application Errors"
2006 Jun 24
6
apache2 on red hat linux need help anyone
I''ve poured over many docs online and thought it would be wonderful to
get RoR running in 15 minutes. Well after 15 hours, I''m completely
stuck and ready to give up on RoR. I''m hoping somebody can give me
some guidance. I''ve pulled out my hair and am bald like others who
have tried to get RoR running without any luck.
When I run