Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

500 Error -- hey guys

#97

this is lauren...I noticed on the fan page the guy who posted this building said it doesn't work anymore...thought I would check it out...not workin...

it was working earlier though, I was on here...

Reported by greenbuildingbrain · July 29th, 2009 @ 06:51 PM

State: resolved
Milestone: none
Assigned to: nobody

Activity

  1. Kalin Harvey
    Kalin Harvey

    error

    Processing ItemsController#show (for 64.85.44.141 at 2009-08-02 20:05:42) [GET]
    Parameters: {"id"=>"The_Roosevelt"} Rendering template within layouts/application
    Rendering items/show

    ActionView::TemplateError (tag_url failed to generate from {:action=>"show", :controller=>"tags", :id=>"web 2.0"}, expected: {:action=>"show", :controller=>"tags"}, diff: {:id=>"web 2.0"}) on line #4 fragment caching on news items doesn't expire of app/views/items/_tags.html.erb:
    1:


    2:
    tags

    3: <% @item.tags.each do |tag| %>
    4: <%= link_to tag.name, tag_url(tag.name), :class => "tag"%>
    5: <% end -%>

    6: <%#= facebox_link_to "edit tags", :url => edit_item_path(@item, :element => 'tags'), :method => 'get', :html => {:class => 'edit'} %>
    7: <% if logged_in?%>
    (eval):16:in `tag_url'
    app/views/items/_tags.html.erb:4
    vendor/gems/mislav-will_paginate-2.3.8/lib/will_paginate/finder.rb:168:in `method_missing'
    vendor/gems/mislav-will_paginate-2.3.8/lib/will_paginate/finder.rb:168:in `method_missing'
    app/views/items/_tags.html.erb:3
    app/helpers/items_helper.rb:7:in `element'
    app/views/items/show.html.erb:32
    app/controllers/items_controller.rb:66:in `show'
    app/controllers/items_controller.rb:65:in `show'
    passenger (2.2.2) lib/phusion_passenger/rack/request_handler.rb:81:in `process_request'
    passenger (2.2.2) lib/phusion_passenger/abstract_request_handler.rb:203:in `main_loop'
    passenger (2.2.2) lib/phusion_passenger/railz/application_spawner.rb:340:in `start_request_handler'
    passenger (2.2.2) lib/phusion_passenger/railz/application_spawner.rb:298:in `handle_spawn_application'
    passenger (2.2.2) lib/phusion_passenger/utils.rb:181:in `safe_fork'
    passenger (2.2.2) lib/phusion_passenger/railz/application_spawner.rb:296:in `handle_spawn_application'
    passenger (2.2.2) lib/phusion_passenger/abstract_server.rb:337:in `__send__'
    passenger (2.2.2) lib/phusion_passenger/abstract_server.rb:337:in `main_loop'
    passenger (2.2.2) lib/phusion_passenger/abstract_server.rb:187:in `start_synchronously'
    passenger (2.2.2) lib/phusion_passenger/abstract_server.rb:154:in `start'
    passenger (2.2.2) lib/phusion_passenger/railz/application_spawner.rb:192:in `start'
    passenger (2.2.2) lib/phusion_passenger/spawn_manager.rb:257:in `spawn_rails_application'
    passenger (2.2.2) lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
    passenger (2.2.2) lib/phusion_passenger/spawn_manager.rb:251:in `spawn_rails_application'
    passenger (2.2.2) lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
    passenger (2.2.2) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
    passenger (2.2.2) lib/phusion_passenger/spawn_manager.rb:250:in `spawn_rails_application'
    passenger (2.2.2) lib/phusion_passenger/spawn_manager.rb:153:in `spawn_application'
    passenger (2.2.2) lib/phusion_passenger/spawn_manager.rb:282:in `handle_spawn_application'
    passenger (2.2.2) lib/phusion_passenger/abstract_server.rb:337:in `__send__'
    passenger (2.2.2) lib/phusion_passenger/abstract_server.rb:337:in `main_loop'
    passenger (2.2.2) lib/phusion_passenger/abstract_server.rb:187:in `start_synchronously'
    

    Rendering /var/www/beta.greenbuildingbrain.org/releases/20090627004914/public/500.html (500 Internal Server Error)

    August 2nd, 2009 @ 08:15 PM

  2. Kalin Harvey
    Kalin Harvey

    fixed the specific page that was having trouble by removing tag 'web 2.0' will write test for this and see what was causing it

    August 2nd, 2009 @ 08:29 PM

  3. greenbuildingbrain
    greenbuildingbrain
    • State changed from new to resolved

    Graeme has fixed this bug.

    August 12th, 2009 @ 07:39 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.