Displaying 20 results from an estimated 1000 matches similar to: "Strange error"
2010 Jun 26
1
Ajax Form with Multipart File Upload in Rails 3.0
How would I achieve this? In Rails 2.x, I would use responds_to_parent,
but it seems quite unsupported now.
What plugins/gems do people use nowadays that would automate
1) targeting form to iframe
2) sending javascript to iframe
3) having the javascript execute another javascript on parent page
Thank you,
Sharkie
--
Posted via http://www.ruby-forum.com/.
--
You received this message because
2006 Jul 30
1
custom routing in simply_restful
Is there information on how I can define custom paths/actions other than
these:
/users/new GET new
/users/id;edit GET edit
so for example I can have my own:
/users/log_in GET log_in
/users/id;process_log_in GET process_log_in
So far I cannot find any documentations on these at all.
--
Posted via http://www.ruby-forum.com/.
2006 Jan 19
3
lighttpd config on os x
I finally got around to installing lighttpd on my mac for dev work,
followed the instructions at
http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger
When I go into my rails app and type "./script/server" I get the
following errors:
baggio:~/work/teore pergesu$ ./script/server
=> Booting lighttpd (use ''script/server webrick'' to force WEBrick)
2007 Oct 24
3
fastcgi
Hello
is there any fastcgi rpm available.
I downloaded fastcgi rpm from pbone.net, but it does not contain
mod_fastcgi.so
what about srpm ?
http://rpm.pbone.net/index.php3/stat/4/idpl/612033/com/mod_fastcgi-2.4.0-1.i386.rpm.html
thanks for help
2006 Apr 24
6
Error starting lighttpd
Hi, I''m getting the following error message when I try to start lighttpd:
BEGIN ERROR:
$ script/server
=> Booting lighttpd (use ''script/server webrick'' to force WEBrick)
=> Rails application started on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server (see config/lighttpd.conf for options)
2006-04-24 03:29:39: (mod_fastcgi.c.1022)
2005 Dec 19
4
Locomotive 500 - Internal Server Error
I''m getting this in my Lighttp.error.log file when trying to run typo
in Locomotive. What does this mean?
2005-12-19 16:56:57: (mod_fastcgi.c.1532) connect failed: 9
Connection refused 61 0 /tmp/ruby-fastcgi.A5364CB4-70E2-11DA-
AC3C-000A95BA28D0-5471-00000DCDBD6C54E6.socket-1
2005-12-19 16:57:01: (mod_fastcgi.c.2196) unexpected end-of-file
(perhaps the fastcgi process died): pid:
2006 Mar 25
4
Can''t quite get Rails working on Mac, help please :).
I''ve followed the install the install guide on
http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger
and it seemed to work. And I''ve been following the Instant Gratifiction
guide in Chapter four in Agile Web Development with Rails book. I''m in
terminal and I type -
cd work (everything works fine) then
rails demo (everything seems to work) then
cd
2006 Apr 23
3
Does AJAX form_remote_tag remove "\r\n"?
When I submit textarea with "\r\n" inside its content, all the "\r\n"
are gone at the receiving end? Is there a known behavior I should be
aware off? Or should I start looking some where else.
Thank you,
Sharkie
2005 Dec 19
1
Lighty External Fast CGI Process Load Balacing Note
I''ve just spent a while chasing a false bug in lighttpd and load
balancing among external fast cgi processes due to what I think is a
documentation bug. Following the info on the wiki page
<http://wiki.rubyonrails.com/rails/pages/LighttpdWithProcessScripts>,
one would think that something like this works:
fastcgi.debug = 1
fastcgi.server = ( ".fcgi" =>
(
2006 Jan 10
9
FastCGI cannot start; Rails doesn''t work
I have a problem deploying FastCGI for use with RoR.
OS: FreeBSD 5.4
Apache: 2.0.55
FastCGI: 2.4.2
######
I compiled a new mod_fastcgi.so and copied it to
/usr/lib/apache/mod_fastcgi.so
######
My httpd.conf looks like this:
LoadModule fastcgi_module /usr/lib/apache/mod_fastcgi.so
<IfModule mod_fastcgi.c>
AddHandler fastcgi-script .fcgi
</IfModule>
######
The testscript
2006 Feb 01
5
Apache 2.2 don''t work with fastcgi
I''m trying to install mod_fastcgi for my rails app.
I use Apache 2.2 and FastCGI 2.4.2 in windows xp.
I have modified the httpd.conf adding LoadModule fastcgi_module
modules/mod_fastcgi.dll (with mod_fastcgi.dll and mod_fastcgi.so in the
modules directory).
Whe i try to start Apache i have this error
----------------------------
apache: Syntax error on line 122 of
2006 Jun 15
6
Problem with lighttpd
I have a problem with lighttpd on OSX.
Everything builds fine (and webrick runs just fine) but lighttpd barfs:
edward-kenworthys-computer:~/Development/Ruby/pricematic/trunk edward$
script/server
=> Booting lighttpd (use ''script/server webrick'' to force WEBrick)
=> Rails application started on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown
2006 Mar 26
3
help with rails and apache
i just went through the tutorial on
http://wiki.rubyonrails.com/rails/pages/HowtoInstallAndRunRubyOnRailsOnCpanel
but i''m having some problems.
when i add:
<IfModule mod_fastcgi.c>
FastCgiIpcDir /tmp/fcgi_ipc/
AddHandler fastcgi-script .fcgi
</IfModule>
under the line that says:
LoadModule fastcgi_module libexec/mod_fastcgi.so
apache fails to restart.
i went on
2006 May 11
3
LightHTTPD FastCgi Error in Production Mode
I''ve been banging my head against the following for about 8 hours now,
and have exhausted my web research options:
/usr/home/matthew.feadler/rails/avclfc/public/dispatch.fcgi:21:in
`require'': no such file to load --
/usr/home/matthew.feadler/rails/avclfc/public/../config/environment
(LoadError)
from
/usr/home/matthew.feadler/rails/avclfc/public/dispatch.fcgi:21
2006 Feb 27
3
Rails via Lighttpd
I am trying to get Rails running through Lighttpd, on a Suse 10 box
running Rails 1.0.0 and Lighttpd 1.4.10
I followed the instructions in the wiki
(http://wiki.rubyonrails.com/rails/pages/Lighttpd) but keep getting the
same error:
linux:/etc/lighttpd # lighttpd -f lighttpd.conf
2006-02-27 12:32:17: (mod_fastcgi.c.997) execve failed for:
2006 Apr 15
19
Trouble with Lighty
I''m trying to setup my rails application with Light+fcgi.
This is the error I''m getting when I try to start Lighttpd :
============
[getcapture@alpha getcapture]$ ~/etc/rc.d/lighttpd.sh start
Starting Lighttpd
2006-04-15 11:27:24: (mod_fastcgi.c.1022) execve failed for:
/home/getcapture/application/public/dispatch.fcgi No such file or
directory
[getcapture@alpha getcapture]$
2006 Mar 24
3
Performance slow down with increasing log files size?
Dear all,
I have been noticing this.
Whenever I delete my log files and restart lighttpd, my rail site
runs very fast.
However when my log files become large, my rail site becomes slower.
Then I repeat the process of deleting log files again, and my site is
fast again.
Is this a normal behavior? Is there something I can do to make
performance scale better?
Thank you,
Sharkie
2006 Apr 09
8
Computer Name
How to get the name of the computer accessing the application? I mean
the computer the user use to access the application.
Thanks,
Lantis.
--
Posted via http://www.ruby-forum.com/.
2006 Jul 25
3
+ camping 1.4.140 -- apache+fastcgi, lighttpd+fastcgi
Okay, I have tested mounting several of my apps under Lighttpd and Apache,
both running FastCGI. I''m going to explain the configuration, but first:
update.
gem install camping --source code.whytheluckstiff.net
== Mounting Root for Lighttpd+FastCGI ==
server.port = 3045
server.bind = "192.168.0.103"
server.modules = (
2006 Jun 28
5
Production deployment
Gang-
We are getting ready to launch our ROR application; the last item
remaining is the deployment platform. For testing, we had used Apache +
MOD_FastCGI. I am not that impressed with it; sometimes it has strange
effects. For example, when we start the application, for about 5 minutes
or so, the app is very unstable and it gets better over time.
My questions is .. should I go with (1)