Hi everyone,
I'm trying to solve two small errors in community_engine_groups - both
deal with photo handling.
If anyone has a quick idea about one (or both!) of these small errors,
please let me know!!
PS - thanks to Bruno and Levi R. for the work on this plugin - I'm
hoping to add a few more views, etc.
Error 1: "interpolation argument name missing in "{{name}}'s photos"
(when I'm on a group page and click on a previous group photo, this
error pops up - this is an excerpt from my production.log)
[[LOG]]
Processing GroupPhotosController#show (for ip.address at year-month-
day TIME) [GET]
Parameters: {"id"=>"13", "group_id"=>"7"}
Rendering template within layouts/application
Rendering group_photos/show
ActionView::TemplateError (interpolation argument name missing in
"{{name}}'s photos") on line #7 of vendor/plugins/community_engine/app/
views/layouts/application.html.haml:
4: %link{:rel=>"shortcut icon", :href=>"#{application_url}
favicon.ico"}
5: %meta{"http-equiv"=>"Content-Type", :content=>"text/
html;charset=utf-8"}
6:
7: %title= page_title
8: -if @meta
9: [email protected] do |key|
10: %meta{:name=>key[0], :content=>key[1]}
[[END LOG]]
Error 2: (EASIER) "undefined method `nil_class_path' for
#<ActionView::Base:0xccc6378>) on line #2 of vendor/plugins/
community_engine_groups/app/views/group_photos/new.html.haml:"
(this error comes up when I click on the "Add New Photo" link on a
group page - this is an excerpt from my production.log)
[[LOG]]
Processing GroupPhotosController#new (for ip.address at year-month-day
TIME) [GET]
Parameters: {"group_id"=>"7"}
Rendering template within layouts/application
Rendering group_photos/new
ActionView::TemplateError (undefined method `nil_class_path' for
#<ActionView::Base:0xccc6378>) on line #2 of vendor/plugins/
community_engine_groups/app/views/group_photos/new.html.haml:
1: -box do
2: - semantic_form_for @group_photo, :html => {:class =>
"MainForm", :multipart => true} do |form|
3:
4: -form.inputs do
5: = form.input :uploaded_data, :as => :file, :label
=> :choose_a_photo_to_upload.l, :hint =>
"#{AppConfig.photo['attachment_fu_options']['max_size']}
#{:megabyte_upload_limit.l}"
[[END LOG]]
Okay! Two slightly different problems - anyone have a clue what's
going on with these? This is driving me crazy!
Best - JScott
--
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.