Two things. I presume there''s nothing being logged in the Rails log
directory, right? Okay. Good. First, try firing up the old
"script/console"
and see if/what errors you get from that. Second, look at the Apache error
logs [usually found in ~/logs/YOUR_DOMAIN_NAME/http/ ] Sometimes [but
rarely!] there''s actually useful information in there. But usually the
console will reveal the nasties breaking your code. Hope that helps.
RSL
On 4/9/07, ssk <sam.s.kong-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:>
>
> Hi,
>
> I''m trying to set up Substruct (shopping cart engine) on
Dreamhost.
> I failed several times and tracked down to the problem area.
>
> I can reproduce the problem with these steps:
>
> 1. install rails
> 2. change public/.htaccess for fcgi
> 3. change public/dispatch.fcgi for RailsFCGIHandler
>
> At this step, I can execute public/dispatch.fcgi without error.
>
> 4. svn co http://dev.rubyonrails.org/svn/rails/tags/rel_1-1-6 vendor/
> rails
>
> Now...
> $public/dispatch.fcgi
> I get
>
> -----
> Status: 500 Internal Server Error
> Content-Type: text/html
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>
> <html xmlns="http://www.w3.org/1999/xhtml"
xml:lang="en" lang="en">
>
> <head>
> <meta http-equiv="content-type" content="text/html;
charset=UTF-8" /
> >
> <title>We''re sorry, but something went wrong</title>
> <style type="text/css">
> body { background-color: #fff; color: #666; text-
> align: center; font-family: arial, sans-serif; }
> div.dialog {
> width: 25em;
> padding: 0 4em;
> margin: 4em auto 0 auto;
> border: 1px solid #ccc;
> border-right-color: #999;
> border-bottom-color: #999;
> }
> h1 { font-size: 100%; color: #f00; line-height:
> 1.5em; }
> </style>
> </head>
>
> <body>
> <!-- This file lives in public/500.html -->
> <div class="dialog">
> <h1>We''re sorry, but something went wrong.</h1>
> <p>We''ve been notified about this issue and
we''ll take a look at
> it shortly.</p>
> </div>
> </body>
> </html>
> -------
>
> What''s wrong with that?
>
> Thanks.
>
> Sam
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---