similar to: Missing text/html content in production (but not development)

Displaying 20 results from an estimated 5000 matches similar to: "Missing text/html content in production (but not development)"

2006 Jul 19
4
Rails crashes my fcgid/fastcgi/scgi on apache2/lighttpd :<
Or maybe I crash it and don''t know why. Here is the setup: I have an action that will crash my debian sarge development box using fcgid, fastcgi and scgi running with Apache2, as well as fastcgi running with lighttpd, every time. Here is the action from the controller: ------------------- def crashme @orders = Order.find(:all, :order => "`id` ASC", :offset
2005 Dec 19
0
Re: Rails Digest, Vol 15, Issue 392
Peter Bohm wrote: > which way do you send the email? Using the raw TMail object as described > in the HowToSendMimeMultipartEmailsWithActionMailer? Can you post some code? I''ll describe the problem in a bit more detail, and then will describe what I did to solve it. The site I''m working on wanted to send an acknowledgment to people using our e-commerce site. The message
2006 May 17
8
Html Email Problem
Dear Rubyians, I am facing problems to send Html Email scnce one month. I changed the content type is text/html and charecter set "utf-8" I worte the html code in the confirm.heml in the action mailer folder. but mail is going with html code Exapmle: <html border="2"> <tr><td></td></tr></html> code in the confirm .html In the
2006 May 09
1
Email -Content type is not set to html
Hi to ROR! I could not change the email content type to text/html What is the problem! order1= Order.find_get_details(params[:ses_value]) #render_text order1.size order=order1[0] email = OrderMailer.create_confirm(order) email.set_content_type("text/html") email = OrderMailer.deliver_confirm(order) email.set_content_type("text/html") Alwas it shows only plain format
2006 May 09
1
Emailcontewnt problem
I ma facing problems regarding the email-set-contentent I am writing the total code for order1= Order.find_get_details(params[:ses_value]) #render_text order1.size order=order1[0] email.set_content_type("text/html") email = OrderMailer.create_confirm(order) email.set_content_type("text/html") email = OrderMailer.deliver_confirm(order) #email =
2008 Nov 30
4
ActionMailer weirdness: bad html '=3d' for all '='
I am getting html output in my email body with spurious characters that cannot be rendered, so that my links are not handled properly. What am I not getting here? My email body contains: -----------------clip------------- <A href=mailto:&quot;<%=h(''support-t1rxLZ7CIXjQT0dZR+AlfA@public.gmane.org'')%>? Support&quot;>Support</A><br/> with any
2006 Feb 16
1
Relative paths in Webrick vs. lighttpd
Hi, everyone. I''ve got a development server running Webrick, and a production server running under lighttpd. The following two lines of code work just fine in the development server, but bombs out on the production server with a "file not found" error: label_base_jpeg = "app/views/price_books/label.jpg" canvas = Magick::ImageList.new(label_base_jpeg)
2005 Dec 16
1
Composing HTML e-mail with a PDF attachment
Hi, everyone. I''ve been using Rails for a little while now, and am really, really enjoying the experience. I''m having the darndest time trying to send e-mail whose contents are in HTML, and which includes a PDF attachment. Following various instructions (in the Pragmatic book, as well as at <http://wiki.rubyonrails.com/rails/pages/HowToSendEmailsWithActionMailer>),
2006 Feb 06
4
fcgi to run cgi scripts
Dear experts, I have rail site that is running lighttpd and fcgi. I want the default domain to serve the rails application, and I also want to have a virtualhost (bugs.mysite) to resolve to a bugzilla instance. Bugzilla is basically Perl application called through CGI. I tried to find pointers on how to set fcgi to run both rails dispatcher and other cgi scripts in a different virtualhost, and
2005 Nov 22
4
multiple rails apps on one lighttpd
Good evening (or afternoon or whatever it is where you are), Before I start setting it all up, I have a question about lighttpd and multiple rails apps. From what I have read, it is at the minute only possible to do multiple rails apps using subdomains: typo.mysite.com hieraki.mysite.com rforum.mysite.com etc, etc and not currently possible to do this: mysite.com/typo mysite.com/rforums
2006 Aug 16
3
Validate your forms with a table-less model
Ive followed this example of how to validate a form with a tableless model: http://rails.techno-weenie.net/tip/2005/11/19/validate_your_forms_with_a_table_less_model Ive got this example working but when validation fails the failed boxes are not highlighted in red. At the moment i have a contact details form and want to validate the information entered by the user but this will just result
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]$
2005 May 10
1
Some Rails-Lighttpd questions
I followed the instructions from the ~/RailsOnDebian tutorial to set up Rails on a FreeBSD. (That tutorial is down, can it be hosted somewhere else?). Now I have some questions regarding the configuration of Lighttpd for Rails. If there are FAQs in my questions don''t hesitate to point me to the right resource... Probably a trivial one: where do I access a Rails site when it is
2006 Jan 28
3
App running fine on Webrick, ActiveRecord::ConnectionNotEstablished in lighttpd
My app runs fine on webrick, but I get a ActiveRecord::ConnectionNotEstablished when I try to run it on lighttpd. Here''s the app''s lighttpd config: $HTTP["host"] =~ "(www\.)?mysite\.com" { server.document-root = "/home/pergesuteore/public/" server.error-handler-404 = "/dispatch.fcgi" fastcgi.server = ( ".fcgi" => (
2006 Aug 15
0
ActionMailer
Im trying to send an email see the code below: Model: order_mailer.rb class OrderMailer < ActionMailer::Base def send_an_email() @recipients = "myadress@isp.co.uk" @from = "myaddress@isp.co.uk" @subject = "Ruby Test" @body = "The Body" end end View: send_an_email.rhtml <p>Email was sent!.</p> Controller: Admin.rb def
2006 Feb 15
5
Lighttpd now works for production. Development is broken?
I''ve finally gotten lighttpd working for my production instance (SUSE 10.0 with SSL). (Had to install the fcgi dev toolkit, the SUSE 10 ruby-fcgi rpm, and the fcgi gem. I''m not positive all 3 were required, but that is what I did.) Now the devel instance of my app is broken. I''m not sure how to fix it. Previously I was using WEBrick for both devel and production.
2005 Sep 22
2
production environment
So I''m getting ready to setup a production environment on my boxen (running Fedora Core 3), what are my options? I''ve seen a number of posts about FastCGI, SCGI, etc. and am completely lost as to what I should be setting up on my box (that I hopefully won''t have to touch for a while). I need to run Collaboa, Typo and probably 3 or 4 other apps on this, so
2006 Jun 26
4
Missing Content-Length header with lighttpd
We have our rails application running using lighttpd and everything seems fine with Firefox, but when the client is Explorer some media doesn''t get transferred from the server correctly. With Webrick, Content-Length is set when a request is made for an mp3 file. Using Firefox with lighttpd, Transfer-Encoding is set to chunked, so the Content-Length field isn''t required.
2006 Jun 19
10
Lighttpd works fine in development. Production not happening
Hello, I''ve checked out my rails tree from svn into the location I intend to run in production mode. However, I am unclear on what exactly needs to change for it to work in production mode. Yes I have: "bin-environment" => ("RAILS_ENV" => "production") When I switch to the externally routed IP address instead of 0.0.0.0:3000 and try running: %
2006 Apr 15
9
Mongrel in Production ?
Hi Everyone, I was setting up Lighty+Fcgi on our server for last *couple* ( read zillion ) of hours. I had posted my problems in my previous email. But all in vain.. So, for time being, I switched to Mongrel. And the performance seemed quite good. This is the first time ever I''m using mongrel ( Awesome stuff ZedShaw..Thanks! ). I''m wondering if there are many people around