Issue #1 open

500 Internal Server Error

Anonymous created an issue

Hi,

After installing this plugin I receive a 500 error when accessing any page that would typically display an avatar. Below is the log response from accessing the users my account page. Is this an easy fix?

ActionView::TemplateError (wrong number of arguments (0 for 3)) on line #8 of app/views/users/_mail_notifications.html.erb: 5: </p> 6: <% content_tag 'div', :id => 'notified-projects', :style => (@user.mail_notification == 'selected' ? '' : 'display:none;') do %> 7: <p><% @user.projects.each do |project| %> 8: <label><%= check_box_tag 'notified_project_ids[]', project.id, @user.notified_projects_ids.include?(project.id) %> <%=h project.name %></label><br /> 9: <% end %></p> 10: <p><em class="info"><%= l(:text_user_mail_option) %></em></p> 11: <% end %>

app/models/user.rb:303:in `select'
app/models/user.rb:303:in `notified_projects_ids'
app/views/users/_mail_notifications.html.erb:8
app/views/users/_mail_notifications.html.erb:7
app/views/users/_mail_notifications.html.erb:6
app/views/my/account.html.erb:36
app/helpers/application_helper.rb:934:in `labelled_form_for'
app/views/my/account.html.erb:9
config/initializers/mongrel_cluster_with_rails_211_fix.rb:62:in `dispatch_cgi'

Rendering C:/Program Files/BitNami Redmine Stack/apps/redmine/public/500.html (500 Internal Server Error)

Thanks Dan

Comments (1)

  1. Antoni Segura Puimedon repo owner

    Hi Dan,

    I have to admit I never tried the plugin on a Windows OS. Could you please tell me which OS and redmine version you use so I can try to check it up on the evening?

    It would be really useful as well if you could provide me with the log resulting of visiting: gemavatar/show/:user_id

    where user_id is the id of some user with a jpegphoto in LDAP.

  2. Log in to comment