Hello, I built a web app using Ruby on Rails and it''s working perfectly on local host but once I move it to production I get this error message: Application error Rails application failed to start properly I tried to turn environment.rb RAILS_ENV to "development" but still didn''t get any useful log or error messages! The thing is that I know the shared host Fast CGI rails is working because I''m using Redmine (Ruby on Rail project management tool) on the shared host and it''s working perfectly. I''m doing the same for my application but I''m getting that error! I wish you can tell me how I can start debugging or where to start to get better error message so I can proceed. Thanks, Tam -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
> I wish you can tell me how I can start debugging or where to start to > get better error message so I can proceed.apache error log, rails log/* [error, production] -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Checkout the cpanel error logs. Ramon Tayag On Wed, Oct 1, 2008 at 1:35 PM, Tam Kbe <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > Hello, > > I built a web app using Ruby on Rails and it''s working perfectly on > local host but once I move it to production I get this error message: > Application error > Rails application failed to start properly > > I tried to turn environment.rb RAILS_ENV to "development" but still > didn''t get any useful log or error messages! > > The thing is that I know the shared host Fast CGI rails is working > because I''m using Redmine (Ruby on Rail project management tool) on the > shared host and it''s working perfectly. I''m doing the same for my > application but I''m getting that error! > > I wish you can tell me how I can start debugging or where to start to > get better error message so I can proceed. > > Thanks, > > Tam > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Ramon Tayag wrote:> apache error log, rails log/* [error, production] > Checkout the cpanel error logs.Thanks for you suggestions. Rails log is empty! production.log and development.log are empty! I also checked CPanel logs (AWStat, Error log, Raw Access log..etc) there wasn''t anything help there :( I couldn''t find Apache log. Do you know where to find it? is it same place as .htaccess file? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Try contacting your host as well :) This is often host specific. Ramon Tayag On Thu, Oct 2, 2008 at 7:24 AM, Tam Kbe <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > Ramon Tayag wrote: >> apache error log, rails log/* [error, production] >> Checkout the cpanel error logs. > > Thanks for you suggestions. Rails log is empty! production.log and > development.log are empty! > I also checked CPanel logs (AWStat, Error log, Raw Access log..etc) > there wasn''t anything help there :( > > I couldn''t find Apache log. Do you know where to find it? is it same > place as .htaccess file? > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Ramon Tayag wrote:> Try contacting your host as well :) This is often host specific. > Ramon Tayag >Thanks Ramon and Roger, I finally got that :) I made a bit of progress by making the HTML static contents work :D Ruby code doesn''t work for some reason. It''s currently using cgi (As per .htaccess file). I''m getting the same message as before when trying to access the Ruby on Rails content. Is there away to check dispatch.cgi error log?? Thanks, Tam -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
this is a painel error shows <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/ TR/html4/strict.dtd"> <HTML><HEAD><TITLE>You are not authorized to view this page</TITLE> <META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252"> <STYLE type="text/css"> BODY { font: 8pt/12pt verdana } H1 { font: 13pt/15pt verdana } H2 { font: 8pt/12pt verdana } A:link { color: red } A:visited { color: maroon } </STYLE> </HEAD><BODY><TABLE width=500 border=0 cellspacing=10><TR><TD> <h1>You are not authorized to view this page</h1> You do not have permission to view this directory or page using the credentials that you supplied because your Web browser is sending a WWW-Authenticate header field that the Web server is not configured to accept. <hr> <p>Please try the following:</p> <ul> <li>Contact the Web site administrator if you believe you should be able to view this directory or page.</li> <li>Click the <a href="javascript:location.reload()">Refresh</a> button to try again with different credentials.</li> </ul> <h2>HTTP Error 401.2 - Unauthorized: Access is denied due to server configuration.<br>Internet Information Services (IIS)</h2> <hr> <p>Technical Information (for support personnel)</p> <ul> <li>Go to <a href="http://go.microsoft.com/fwlink/? linkid=8180">Microsoft Product Support Services</a> and perform a title search for the words <b>HTTP</b> and <b>401</b>.</li> <li>Open <b>IIS Help</b>, which is accessible in IIS Manager (inetmgr), and search for topics titled <b>About Security</b>, <b>Authentication</b>, and <b>About Custom Error Messages</b>.</li> </ul> </TD></TR></TABLE></BODY></HTML> On 1 out, 19:37, "Ramon Miguel M. Tayag" <ramon.ta...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Checkout the cpanel error logs. > > Ramon Tayag > > On Wed, Oct 1, 2008 at 1:35 PM, Tam Kbe > > <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote: > > > Hello, > > > I built a web app using Ruby on Rails and it''s working perfectly on > > local host but once I move it to production I get this error message: > > Application error > > Rails application failed to start properly > > > I tried to turn environment.rb RAILS_ENV to "development" but still > > didn''t get any useful log or error messages! > > > The thing is that I know the shared host Fast CGI rails is working > > because I''m using Redmine (Ruby on Rail project management tool) on the > > shared host and it''s working perfectly. I''m doing the same for my > > application but I''m getting that error! > > > I wish you can tell me how I can start debugging or where to start to > > get better error message so I can proceed. > > > Thanks, > > > Tam > > -- > > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
this message error occurs in both cases , apache and ruby console On 1 out, 20:24, Tam Kbe <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Ramon Tayag wrote: > > apache error log, rails log/* [error, production] > > Checkout the cpanel error logs. > > Thanks for you suggestions. Rails log is empty! production.log and > development.log are empty! > I also checked CPanel logs (AWStat, Error log, Raw Access log..etc) > there wasn''t anything help there :( > > I couldn''t find Apache log. Do you know where to find it? is it same > place as .htaccess file? > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
sorry this 2 last messages i post in topic wrong ^^ On 1 out, 02:35, Tam Kbe <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Hello, > > I built a web app using Ruby on Rails and it''s working perfectly on > local host but once I move it to production I get this error message: > Application error > Rails application failed to start properly > > I tried to turn environment.rb RAILS_ENV to "development" but still > didn''t get any useful log or error messages! > > The thing is that I know the shared host Fast CGI rails is working > because I''m using Redmine (Ruby on Rail project management tool) on the > shared host and it''s working perfectly. I''m doing the same for my > application but I''m getting that error! > > I wish you can tell me how I can start debugging or where to start to > get better error message so I can proceed. > > Thanks, > > Tam > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---