Please report this as a bug on Lighthouse: http://communityengine.lighthouseapp.com/projects/11808-communityengine
Thanks, Bruno On Mon, May 10, 2010 at 10:32 AM, S T <[email protected]> wrote: > Hello, > > I added new contest. > I started and ended at the same time. I was able to see it from > contests page. > Later I added new contest that lasted 1 day and after I saved it I > decided to go to home page – and I got error 500. I looked at log and > found this > > > ----------begin------------ > > Processing ContestsController#show (for 77.243.125.74 at 2010-05-10 > 08:03:30) [GET] > Parameters: {"id"=>"1"} > Rendering template within layouts/application > Rendering contests/show > Completed in 208ms (View: 21, DB: 185) | 200 OK [http://localhost:3000/ > contests/1] > > > Processing BaseController#site_index (for 77.243.125.74 at 2010-05-10 > 08:03:43) [GET] > > NoMethodError (undefined method `find_features' for #<Class: > 0xd53b774>): > searchlogic (2.4.19) lib/searchlogic/named_scopes/conditions.rb: > 81:in `method_missing' > searchlogic (2.4.19) lib/searchlogic/named_scopes/ > association_conditions.rb:19:in `method_missing' > searchlogic (2.4.19) lib/searchlogic/named_scopes/ > association_ordering.rb:27:in `method_missing' > searchlogic (2.4.19) lib/searchlogic/named_scopes/ordering.rb:30:in > `method_missing' > searchlogic (2.4.19) lib/searchlogic/named_scopes/or_conditions.rb: > 28:in `method_missing' > vendor/plugins/community_engine/app/controllers/base_controller.rb: > 126:in `get_additional_homepage_data' > vendor/plugins/community_engine/app/controllers/base_controller.rb: > 41 > vendor/plugins/community_engine/app/controllers/base_controller.rb: > 40:in `site_index' > haml (2.2.23) lib/sass/plugin/rails.rb:20:in `process' > passenger (2.2.10) lib/phusion_passenger/rack/request_handler.rb: > 92:in `process_request' > passenger (2.2.10) lib/phusion_passenger/abstract_request_handler.rb: > 207:in `main_loop' > passenger (2.2.10) lib/phusion_passenger/railz/ > application_spawner.rb:418:in `start_request_handler' > passenger (2.2.10) lib/phusion_passenger/railz/ > application_spawner.rb:358:in `handle_spawn_application' > passenger (2.2.10) lib/phusion_passenger/utils.rb:184:in `safe_fork' > passenger (2.2.10) lib/phusion_passenger/railz/ > application_spawner.rb:354:in `handle_spawn_application' > passenger (2.2.10) lib/phusion_passenger/abstract_server.rb:352:in > `__send__' > passenger (2.2.10) lib/phusion_passenger/abstract_server.rb:352:in > `main_loop' > passenger (2.2.10) lib/phusion_passenger/abstract_server.rb:196:in > `start_synchronously' > passenger (2.2.10) lib/phusion_passenger/abstract_server.rb:163:in > `start' > passenger (2.2.10) lib/phusion_passenger/railz/ > application_spawner.rb:213:in `start' > passenger (2.2.10) lib/phusion_passenger/spawn_manager.rb:262:in > `spawn_rails_application' > passenger (2.2.10) lib/phusion_passenger/ > abstract_server_collection.rb:126:in `lookup_or_add' > passenger (2.2.10) lib/phusion_passenger/spawn_manager.rb:256:in > `spawn_rails_application' > passenger (2.2.10) lib/phusion_passenger/ > abstract_server_collection.rb:80:in `synchronize' > passenger (2.2.10) lib/phusion_passenger/ > abstract_server_collection.rb:79:in `synchronize' > passenger (2.2.10) lib/phusion_passenger/spawn_manager.rb:255:in > `spawn_rails_application' > passenger (2.2.10) lib/phusion_passenger/spawn_manager.rb:154:in > `spawn_application' > passenger (2.2.10) lib/phusion_passenger/spawn_manager.rb:287:in > `handle_spawn_application' > passenger (2.2.10) lib/phusion_passenger/abstract_server.rb:352:in > `__send__' > passenger (2.2.10) lib/phusion_passenger/abstract_server.rb:352:in > `main_loop' > passenger (2.2.10) lib/phusion_passenger/abstract_server.rb:196:in > `start_synchronously' > > Rendering /home/codarail/coda_ce/public/500.html (500 Internal Server > Error) > > ----------end------------ > > > I also added home page feature via dashboard and additional errors > appeared in log: > > > > --------begin--------- > Processing HomepageFeaturesController#show (for 77.243.125.74 at > 2010-05-10 08:08:49) [GET] > Parameters: {"id"=>"7"} > Rendering template within layouts/application > Rendering homepage_features/show > > ActionView::TemplateError (private method `gsub' called for > nil:NilClass) on line #28 of vendor/plugins/community_engine/app/views/ > homepage_features/show.html.erb: > 25: </p> > 26: > 27: <p> > 28: <%= image_tag @homepage_feature.public_filename(:large) %> > 29: </p> > 30: > 31: > > vendor/plugins/community_engine/plugins/attachment_fu/lib/ > technoweenie/attachment_fu.rb:274:in `thumbnail_name_for' > vendor/plugins/community_engine/plugins/attachment_fu_hacks/lib/ > attachment_fu_hacks.rb:69:in `full_filename' > vendor/plugins/community_engine/plugins/attachment_fu/lib/ > technoweenie/attachment_fu/backends/file_system_backend.rb:72:in > `public_filename' > vendor/plugins/community_engine/app/views/homepage_features/ > show.html.erb:28 > haml (2.2.23) lib/haml/helpers/action_view_mods.rb:13:in `render' > haml (2.2.23) lib/haml/helpers/action_view_mods.rb:13:in `render' > vendor/plugins/community_engine/app/controllers/ > homepage_features_controller.rb:23:in `show' > haml (2.2.23) lib/sass/plugin/rails.rb:20:in `process' > passenger (2.2.10) lib/phusion_passenger/rack/request_handler.rb: > 92:in `process_request' > passenger (2.2.10) lib/phusion_passenger/ > abstract_request_handler.rb:207:in `main_loop' > passenger (2.2.10) lib/phusion_passenger/railz/ > application_spawner.rb:418:in `start_request_handler' > passenger (2.2.10) lib/phusion_passenger/railz/ > application_spawner.rb:358:in `handle_spawn_application' > passenger (2.2.10) lib/phusion_passenger/utils.rb:184:in > `safe_fork' > passenger (2.2.10) lib/phusion_passenger/railz/ > application_spawner.rb:354:in `handle_spawn_application' > passenger (2.2.10) lib/phusion_passenger/abstract_server.rb:352:in > `__send__' > passenger (2.2.10) lib/phusion_passenger/abstract_server.rb:352:in > `main_loop' > passenger (2.2.10) lib/phusion_passenger/abstract_server.rb:196:in > `start_synchronously' > passenger (2.2.10) lib/phusion_passenger/abstract_server.rb:163:in > `start' > passenger (2.2.10) lib/phusion_passenger/railz/ > application_spawner.rb:213:in `start' > passenger (2.2.10) lib/phusion_passenger/spawn_manager.rb:262:in > `spawn_rails_application' > passenger (2.2.10) lib/phusion_passenger/ > abstract_server_collection.rb:126:in `lookup_or_add' > passenger (2.2.10) lib/phusion_passenger/spawn_manager.rb:256:in > `spawn_rails_application' > passenger (2.2.10) lib/phusion_passenger/ > abstract_server_collection.rb:80:in `synchronize' > passenger (2.2.10) lib/phusion_passenger/ > abstract_server_collection.rb:79:in `synchronize' > passenger (2.2.10) lib/phusion_passenger/spawn_manager.rb:255:in > `spawn_rails_application' > passenger (2.2.10) lib/phusion_passenger/spawn_manager.rb:154:in > `spawn_application' > passenger (2.2.10) lib/phusion_passenger/spawn_manager.rb:287:in > `handle_spawn_application' > passenger (2.2.10) lib/phusion_passenger/abstract_server.rb:352:in > `__send__' > passenger (2.2.10) lib/phusion_passenger/abstract_server.rb:352:in > `main_loop' > passenger (2.2.10) lib/phusion_passenger/abstract_server.rb:196:in > `start_synchronously' > > Rendering /home/codarail/coda_ce/public/500.html (500 Internal Server > Error) > > ----------end--------- > > > I can edit my profile, I can view contests, but homepage is not > rendering. > Any insights please? > > Sam > > -- > You received this message because you are subscribed to the Google Groups > "CommunityEngine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<communityengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/communityengine?hl=en. > > -- You received this message because you are subscribed to the Google Groups "CommunityEngine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/communityengine?hl=en.
