# The Strange Case of the Disappearing Website

**URL:** <https://www.ruby-forum.com/t/the-strange-case-of-the-disappearing-website/84120>\
**Category:** Rails\
**Created:** [February 1, 2007, 5:16pm UTC](https://www.ruby-forum.com/t/the-strange-case-of-the-disappearing-website/84120 "2007-02-01T17:16:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomx](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/97f17d/32.png) [@tomx](https://www.ruby-forum.com/u/tomx)\
**Post date:** [February 1, 2007, 5:16pm UTC](https://www.ruby-forum.com/t/the-strange-case-of-the-disappearing-website/84120/1 "2007-02-01T17:16:07Z")

</div>

Hi there ROR folks.

We’ve been running our web site [http://www.notts50plus.co.uk](http://www.notts50plus.co.uk) at  
textdrive for a while and have managed to get over most of the initial  
configuation hurdles that cropped up. So the thing is running fairly  
quickly and well, then all of a sudden the site disappears.

I’ve looked in the FCGI-error-log and can’t see anything interesting.  
I’ve not found anything in the Crash log either. The only thing I can  
find is this error in the production log, but I don’t know what to make  
of it. Can anyone explain it our what it might mean.

Processing Base#index (for 195.11.99.225 at 2007-01-29 11:23:49) [GET]  
Session ID: 6457a9ddbae7313629a36839aefed6b7  
Parameters: {}

ActionController::RoutingError (Recognition failed for  
“/stylesheets/none”):  
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action\_controller/routing.rb:522:in  
`recognition_failed' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/routing.rb:512:in `recognize!’  
/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/dispatcher.rb:38:in  
`dispatch' /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:150:in `process\_request’  
/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi\_handler.rb:54:in  
`process!' /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:600:in `each\_cgi’  
/usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in  
`each_cgi' /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:53:in `process!’  
/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi\_handler.rb:23:in  
`process!’  
/users/home/nottsopi/web/public/dispatch.fcgi:24

Don’t normally like posting error messages but this one has me beaten.

Any help is appreciated.

Cheers  
Tom

Nottingham UK

---

<div class="post-metadata">

**Author:** ![tomx](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/97f17d/32.png) [@tomx](https://www.ruby-forum.com/u/tomx)\
**Post date:** [February 1, 2007, 9:43pm UTC](https://www.ruby-forum.com/t/the-strange-case-of-the-disappearing-website/84120/2 "2007-02-01T21:43:06Z")

</div>

That error looks like the url ‘/stylesheets/none’ is called but it  
doesn’t exist. With a standard set up, any files that don’t  
physically exist on the file system are passed on to rails to handle.  
As such you’ll get this kind of error if there are links to files that  
don’t exist.

This is unlikely to be the cause of your website disappearances, but  
it’s worth finding out where those erroneous links are coming from.

As for the disappearances, what actually happens? Do you get a blank  
screen or an error page?

Steve

---

<div class="post-metadata">

**Author:** ![tomx](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/97f17d/32.png) [@tomx](https://www.ruby-forum.com/u/tomx)\
**Post date:** [February 1, 2007, 10:31pm UTC](https://www.ruby-forum.com/t/the-strange-case-of-the-disappearing-website/84120/3 "2007-02-01T22:31:58Z")

</div>

Tom S. wrote:

> Hi there ROR folks.
> 
> We’ve been running our web site [http://www.notts50plus.co.uk](http://www.notts50plus.co.uk) at  
> textdrive for a while and have managed to get over most of the initial  
> configuation hurdles that cropped up. So the thing is running fairly  
> quickly and well, then all of a sudden the site disappears.
> 
> I’ve looked in the FCGI-error-log and can’t see anything interesting.  
> I’ve not found anything in the Crash log either. The only thing I can  
> find is this error in the production log, but I don’t know what to make  
> of it. Can anyone explain it our what it might mean.
> 
> Processing Base#index (for 195.11.99.225 at 2007-01-29 11:23:49) [GET]  
> Session ID: 6457a9ddbae7313629a36839aefed6b7  
> Parameters: {}
> 
> ActionController::RoutingError (Recognition failed for  
> “/stylesheets/none”):  
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action\_controller/routing.rb:522:in  
> `recognition_failed' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/routing.rb:512:in `recognize!’  
> /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/dispatcher.rb:38:in  
> `dispatch' /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:150:in `process\_request’  
> /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi\_handler.rb:54:in  
> `process!' /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:600:in `each\_cgi’  
> /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in  
> `each_cgi' /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:53:in `process!’  
> /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi\_handler.rb:23:in  
> `process!’  
> /users/home/nottsopi/web/public/dispatch.fcgi:24
> 
> Don’t normally like posting error messages but this one has me beaten.
> 
> Any help is appreciated.
> 
> Cheers  
> Tom
> 
> Nottingham UK

Does the log entry not also give you a hint about the actual URL that  
was requested, together with the referrer? If not, then maybe a code  
change is called for?

I looked through the site and found no problems.

Stephan

---

<div class="post-metadata">

**Author:** ![tomx](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/97f17d/32.png) [@tomx](https://www.ruby-forum.com/u/tomx)\
**Post date:** [February 9, 2007, 6:28pm UTC](https://www.ruby-forum.com/t/the-strange-case-of-the-disappearing-website/84120/4 "2007-02-09T18:28:26Z")

</div>

Stephan W. wrote:

> > ActionController::RoutingError (Recognition failed for  
> > “/stylesheets/none”):
> 
> Does the log entry not also give you a hint about the actual URL that  
> was requested, together with the referrer? If not, then maybe a code  
> change is called for?
> 
> I looked through the site and found no problems.
> 
> Stephan

Stephan, I’ve finally found the problem it wasn’t with my app at all it  
was with my style sheet which contained a background:url(none); rather  
than background:none; Small difference but big problem.

Thanks for you input, though I agree with you that it’s unlikely that  
this error would result in the site coming down on a regular basis, it  
can’t hurt to fix it and see if it makes a difference.

Cheers  
Tom

---

<div class="post-metadata">

**Author:** ![tomx](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/97f17d/32.png) [@tomx](https://www.ruby-forum.com/u/tomx)\
**Post date:** [February 9, 2007, 6:48pm UTC](https://www.ruby-forum.com/t/the-strange-case-of-the-disappearing-website/84120/5 "2007-02-09T18:48:13Z")

</div>

> Stephan, I’ve finally found the problem it wasn’t with my app at all it  
> was with my style sheet which contained a background:url(none); rather  
> than background:none; Small difference but big problem.

I guess that error message could be improved to something like “Page not  
found: stylesheets/none”, instead of “Recognition failed …” In  
particular that stacktrace looks pretty redundant and distracting.

Cheers to perseverance.

See you,

Stephan
