Cette page n'existe plus.
Retour sur le site
ActionView::TemplateError (Mysql2::Error: Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'sustainatwork_fr.categories.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by: SELECT * FROM `categories` GROUP BY id_categorie) on line #152 of app/views/users/show.html.erb: 149: <% if !@user.followers.empty? %>
150:

<%= t 'users.suivre.the_followers' %>

151: <% for follower in @user.followers %> 152: <%= link_image follower %> 153: <% end %> 154: <% end %> 155: /usr/local/rvm/gems/ruby-1.8.7-head/gems/mysql2-0.2.24/lib/active_record/connection_adapters/mysql2_adapter.rb:265:in `execute' /usr/local/rvm/gems/ruby-1.8.7-head/gems/mysql2-0.2.24/lib/active_record/connection_adapters/mysql2_adapter.rb:616:in `select' app/models/user.rb:147:in `points' app/models/user.rb:157:in `points_totaux' app/models/user.rb:191:in `total_points' app/helpers/users_helper.rb:111:in `link_image' app/views/users/show.html.erb:152 app/views/users/show.html.erb:151 /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/thread_handler_extension.rb:107:in `process_request' /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:149:in `accept_and_process_next_request' /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:110:in `main_loop' /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:415:in `start_threads' /usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:113:in `create_thread_and_abort_on_exception' /usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:110:in `initialize' /usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:110:in `new' /usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:110:in `create_thread_and_abort_on_exception' /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:410:in `start_threads' /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:409:in `times' /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:409:in `start_threads' /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:408:in `synchronize' /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:408:in `start_threads' /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:201:in `main_loop' /usr/share/passenger/helper-scripts/rack-preloader.rb:212