#97 ✓resolved
greenbuildingbrain

500 Error -- hey guys

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

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...

Comments and changes to this ticket

  • Kalin Harvey

    Kalin Harvey August 2nd, 2009 @ 08:15 PM

    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 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)

  • Kalin Harvey

    Kalin Harvey August 2nd, 2009 @ 08:29 PM

    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

  • greenbuildingbrain

    greenbuildingbrain August 12th, 2009 @ 07:39 PM

    • State changed from “new” to “resolved”

    Graeme has fixed this bug.

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Green Building Brain is an open source and open content tool for collaboration and resource sharing between green building professionals and amateurs.

People watching this ticket

Referenced by

Pages