The deadly 500

Hey guys,

I am very new to typo, let alone rails. But I just set up a Typo Blog
yesterday.
Everything was running smoothly until I started to get random 500 errors
when I clicked on a single post. It would ultimately print out
“Application
error (Rails)”.
Now every time I access my web site ( http://evilmac.org ) It gives me
the
same error. I had this problem this morning, so I uninstalled the blog
and
reinstalled it. Worked fine for an hour, the did the same thing.
I have posted a ticket under the name of
painkilerhttp://typosphere.org/trac/ticket/942
.

Any help would be greatly appreciated.

Thanks

Levi McCallum

On 16 Jun 2006, at 12:03, levi mccallum wrote:

I am very new to typo, let alone rails. But I just set up a Typo
Blog yesterday.
Everything was running smoothly until I started to get random 500
errors when I clicked on a single post. It would ultimately print
out “Application error (Rails)”.
Now every time I access my web site ( http://evilmac.org ) It gives
me the same error. I had this problem this morning, so I
uninstalled the blog and reinstalled it. Worked fine for an hour,
the did the same thing.
I have posted a ticket under the name of painkiler.

I’ve no idea about Rails errors. Are you sure you (or your host) has
everything set-up correctly? The good old “Is it plugged in” first
step. What version of Rails are you using with 1055? Are you using
fcgi or cgi? Are you using the default template (Azure)?

G

Same thing!

On 6/16/06, levi mccallum [email protected] wrote:

I have posted a ticket under the name of painkiler.
http://rubyforge.org/mailman/listinfo/typo-list


Nikanorov A. [email protected]
http://blogru.nikanorov.com
This email is: [ ] blogable [ x ] ask first [ ] private

On 16 Jun 2006, at 14:27, Timothy F. wrote:

What shows up in ./log/production.log when you hit the site and get
the
Application error message?

It’s included in the Trac ticket:

http://www.typosphere.org/trac/ticket/942

G

Ok guys, I was a little vague in my explanation.

I am on dreamhost, running 1055 svn.

It seems that I only get those error messages when I go strait to the
domain, e.g. http://evilmac.org.
but if I go http://evilmac.org/admin it logs in.

The site seemed to work for a few hours last night, then I get the same
error this morning.

I am running fastcgi. And I am really stuck in the mud here…

Followed up to the ticket, but noting it here too. The error is coming
from the connect routines in the MySQL adapter. It’s appears to be
angry about an argument it is receiving to connect with. (“Database
adapter mad! Database adapter smash! Rar! crunch 500.”)

What shows up in ./log/production.log when you hit the site and get the
Application error message?

Thanks,

Tim

Andrey Nikanorov wrote:

error (Rails)".


Typo-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/typo-list


Timothy F.
http://digital-achievement.com
http://edodyssey.com

Lol, Andy your funny.

Anyway, What kind of things can I do to stop it?

Freak!!! This is getting so annoying…

The page works for a while, then when I update my sidebar, it
doesn’t!!!

I want to break something!

---------- Forwarded message ----------
From: levi mccallum [email protected]
Date: Jun 16, 2006 9:41 PM
Subject: Re: [typo] The deadly 500…
To: [email protected]

Lol, Andy your funny.

Anyway, What kind of things can I do to stop it?

? really?

Wow, I would of never guessed…

Nope, It’s not, I removed it… I’ll try other sidebar items…

Nope, none of them are effecting the page… I removed them all, and
nothing
changed.

Sorry to send so many emails, I am sort of treating this like a chat.
But
anyway.
I looked through the latest printed log. And you are right it is getting
stuck on the side bar.

It’s having trouble displaying plugins. I am puzzled about this.

Log below:

54:


#{RAILS_ROOT}/vendor/rails/activesupport/lib/active_support/inflector.rb:161:in constantize' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:314:insend’
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:381:in send' #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:23:inprocess!’
dispatch.fcgi:24

It seems to be flickr sidebar problem.

On 6/17/06, levi mccallum [email protected] wrote:

Subject: Re: [typo] The deadly 500…

angry about an argument it is receiving to connect with. ("Database

the
http://rubyforge.org/mailman/listinfo/typo-list
Typo-list mailing list


Nikanorov A. [email protected]
http://blogru.nikanorov.com
This email is: [ ] blogable [ x ] ask first [ ] private

Well, that did something…

I first did svn up but that gave me this.

svn up
svn: Working copy ‘tmp/cache’ is missing or not locked

So then I moved on to rake migrate

But that did something. I don’t know what. But The site works now.

Thanks.

Levi

Well they are back agian, I do not know what it is doing this time.

Checking the log

yep it is the same error as before… I really want to break something
now!

ActionView::TemplateError (uninitialized constant
Sidebars::SidebarController) on line #57 of
themes/lucid/layouts/default.rhtml:

54:


55:

56:

57: <%= render_component(:controller => ‘sidebars/sidebar’, :action => ‘display_plugins’) %>
58: <%= link_to image_tag(“powered.gif”), “http://typo.leetsoft.com/”, {:class => “powered” } %>
59:

60:

Sorry I fixed it. I got off my lazy butt and changed the line <%=
render_component (:controller => ‘sidebars/sidebar’, :action =>
‘display_plugins’) %> to <%= render_sidebars %>

It really helps when you read the wiki.

On Fri, 16 Jun 2006 22:13:55 +0000, “levi mccallum” [email protected]
wrote:

Freak!!! This is getting so annoying…

The page works for a while, then when I update my sidebar, it doesn’t!!!

I want to break something!

obligitory:

svn up; rake migrate

that should break something (works for me at least ;))

P

I am running fastcgi. And I am really stuck in the mud here…

It’s included in the Trac ticket:


This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


http://fak3r.com - you don’t have to kick it


This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.