Displaying 20 results from an estimated 1000 matches similar to: "dispatch.cgi Problem"
2006 Feb 03
3
My associations are coming out nil.
I''ve got a fairly simple system with a table for my Users that
includes a CountryId field which looks up to the CountryId field of my
Country table. What I would like to happen is for my Rails
application, which contains models for both User and Country, to be
able to draw the dropdown list of available countries on the edit
page, like it does in all the tutorials.
My model classes look
2006 Feb 25
2
ActionFaxer?
Hi,
I would like to use ActionMailer to send and email but I also want to
send a copy of the email as a Fax. Is this possible?
Thanks,
Peter
2005 Dec 30
2
rails running very slowly on apache (with fcgi or without)
Was wondering if there is anything obvious I may have missed in my
setup that would cause it to run so slowly. WEBrick runs blazingly
fast in comparison, in dev mode, so I''m sure there''s something off.
Even in production mode requests take about 4 or 5 secs.
Thanks!
Win XP
Apache 2
Rails 1.0
-rich
2006 Jan 15
7
Dreaded Internal 500 Error on DreamHost.
Hey guys,
I often get this problem the first time I try to deploy a rails app
on dreamhost and I''m not sure what the cause is. Basically, I have
an app that''s running fine on my local machine. I''ve uploaded the
app, configured and migrated to the latest version of the db, and set
all of the necessary directories to 755. But when I run dispatch.rb
in ssh or
2006 Feb 21
3
HABTM :insert_sql help
Hi all,
I''m working with a legacy sqlserver db and I''m trying to override the
insert sql in as defined in the HABTM method below(becasue the join
has three primary keys), but I''m getting the error: ''undefined local
variable or method `record'' for Project:Class''
has_and_belongs_to_many :people,
:class => ''Person'',
2005 Dec 22
3
help with unless
Hi,
I need a fresh set of eyes to look at this bit of controller code and tell
me why I might be getting an error message:
lookup = Profit.find(:all, :conditions => [ "user_id = ? AND
product_id = ?", uid, pid])
unless lookup.empty?
if (lookup.updated_on > 360.minutes.ago)
return
end
end
If lookup is empty, then I
2006 Jan 25
38
Rails app won''t run on Dreamhost - "incomplet headers" error
Can anyone provide some expert debugging help here? What''s the first
step to take to see what the issue is here?
I have no errors in the rails app''s log files. The only errors I have
are those provided by apache and they are:
''FastCGI: Incomplete headers (0) bytes received from server''
I''ve tried editing the shebang line, removing line feeds, but
2006 May 19
1
LoadError - no such file to load -- pathname (Dreamhost)
I''ve started getting the following error on Dreamhost when trying to run
any scripts or dispatch.*
[barry]$ ruby -d script/server
Exception `LoadError'' at ./script/../config/boot.rb:6 - no such file to
load -- pathname
./script/../config/boot.rb:6:in `require'': no such file to load --
pathname (LoadError)
from ./script/../config/boot.rb:6
from
2006 Apr 17
2
Email Multipart message
Hi,
I use the multipart functionality from the action mailer.
But when i send an html message, my outlook opens the mail and shows
this:
--mimepart_4443b76d12268_6f34..fdacc616831e6 Content-Type: text/html;
charset=iso-8859-1 Content-Transfer-Encoding: Quoted-printable
Content-Disposition: inline
<!!Message>
= = --mimepart_4443b76d12268_6f34..fdacc616831e6--
No html will appear. When
2009 Jan 17
4
Install older version of rails FAILED
Help! I need your help!!!
I have an old rail app which I made a few years ago. Never touched rails
since.
Now, I need to make it work again. I used the above command to install
rails, but I still get rails 2.1.1
[b]gem install rails --version 1.2.6[/b]
I tried twice, and fails twice, even the installation says
Successfully installed activesupport-1.4.4
Successfully installed
2008 Jan 05
7
Error! Ruby on Rails based on FastCGI, Hello world !
Hey,
I try to do my first steps in Ruby, and designed an "Hello World!"
Application. Now I want to install this Application on an Apache server.
I copied it to the "/public_html/" Directory here: (the application is
called "rubyapp")
http://sn00p.profusehost.net/rubyapp/
I ran http://sn00p.profusehost.net/rubyapp/public/dispatch.fcgi and get
an Error. So I looked
2006 Apr 26
0
active record adding odd chars to insert statement
I''ve got some code that creates a Company object and saves it:
c = Company.new(
:name => params[''company''],
:account_valid_until => mysql_date_format(14.days.from_now),
:account_type => ''standard''
)
c.save
but in the SQL generated by AR, I see (with ''name'' being what was entered):
''--- \n-
2006 Aug 30
3
Ruby+Apache2.2+ProxyLoadBalance ...... +PHP??
Hi,
I just realice that I can''t run php code anymore once I installed my dear
mongrels (under an Apache Proxy Balancer).
I''m just trying to run the clasic phpinfo() in the following file
/var/rubyapp/public/phpinfo.php ... but instead of being executed the code
is being displayed as plain text ... This is the ouput :))
<?PHP phpinfo(); ?>
anyone can give a
2017 Aug 29
2
Syncronize systemctl status with reality?
The particular issue is with puppetmaster (which admittedly takes 4 minutes to actually start, setting TimeoutStartSec=300 in it's unit file stopped the false timeout report) but I have seen it one other time (don't remember the details).
systemctl status puppetmaster
? puppetmaster.service - Puppet master
Loaded: loaded (/lib/systemd/system/puppetmaster.service; enabled; vendor
2019 Sep 24
4
File manager or browser for IMAP?
On 9/23/19 8:36 PM, Steve Litt via dovecot wrote:
> Thunderbird is an absolute pig, taking hours to load my Dovecot IMAP.
> Claws-mail is good, but I have some problems with it. Alpine appears
> not to be ready for prime time to act as a window into IMAP. Same with
> the rest I've tried.
Wha...? Alpine/Pine have implemented IMAP for decades; that was one
of the first IMAP
2006 Aug 10
2
Permission denied
Hi to all.
I''m a newbye, and this is my first contact with list.
I have installed ruby and rails.
My ruby local home page works, but development.log tell me
"Permission denied -
/var/www/html/rubyapp/../config/../tmp/sessions//ruby_sess.e2677250ed380e4c
"
what''s happen?
I think permission rights are ok
(simlink towards public are root|root with 777).
Someone can help
2006 Aug 03
0
Can''t set up rails: dispatch.cgi failed
Hi,
I''m trying to setup RoR on OpenBSD 3.9 with Ruby 1.8.4 and Apache 1.3.
I''ve setup Rails to run as a Virtual Host, and I can view the "Welcome
Aboard" page. When I try to access http://<server>/category/ though, I
get an "Application error...Rails application failed to start properly"
message. Apache.log has this error:
[error] (2)No such file or
2006 Aug 05
0
Rails requests return dispatch.cgi (or .fcgi) file contents
I''m running Apache2 with CGI and FastCGI alternatively. I''ve had a
problem that I haven''t been able to find more than a single reference to
online.
When my .htaccess file has the CGI rewrite rule in effect, my Rails app
works. When I change to FastCGI, all I get for Rails requests is the
contents of the dispatch.fcgi file.
Thinking I may have screwed something up
2006 Mar 07
0
dispatch.cgi errors
I''m trying to get my rails app running in regular cgi before moving to fcgi,
but i''m getting premature end of script headers errors in my server log.
I''m not sure how to debug this, and i would greatly appreciate some help.
Of course when i browse to my app, it says: Rails application failed to
start properly"
So far i''ve done:
I can run the console and
2006 Mar 30
2
Test output from dispatch.cgi --- Rails 1.1
Something weird started happening to me right after the 1.1 came out. I have an
app that has some ajax forms that I manipulate with RJS templates. Everything
was working fine on my deployment server until Rails 1.1. It still works fine
locally, but the ajax interaction just stopped working.
Last night, with the help of FireBug (on of the best Firefox plugins ever), I
noticed the problem. At