Giter Site home page Giter Site logo

redmine_menu_links's People

Contributors

cipparello avatar shoorick avatar tide avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

redmine_menu_links's Issues

500 error when entering Menu links from Admin

I have run the migration successfully, but the system 500's when I click the Menu Link item under Administration. I am running 2.2.3.stable but am considering upgrading to latest.

Can you tell me if there's an easy fix for this, and/or if it's a version issue and upgrading will fix it? Thanks.

Error when entering on the menu_links config at Administration

Processing MenuLinksController#index (for 143.54.13.224 at 2010-04-12 14:07:36) [GET]
Parameters: {"action"=>"index", "controller"=>"menu_links"}
Rendering template within layouts/base
Rendering menu_links/index

ActionView::TemplateError (undefined method `checked_image' for #ActionView::Base:0xb6de0e98) on line #18 of vendor/plugins/redmine_menu_links/app/views/menu_links/index.html.erb:
15: <% for link in @menu_links %>
16: <tr class="<%= cycle("odd", "even") %>">
17: <%= link_to link.name, :action => 'edit', :id => link %>
18: <%= checked_image link.is_enabled %>
19: <%= reorder_links('menu_link', {:action => 'update', :id => link}) %>
20:
21: <%= link_to(l(:button_delete), { :action => 'destroy', :id => link },

vendor/plugins/redmine_menu_links/app/views/menu_links/index.html.erb:18
vendor/plugins/redmine_menu_links/app/views/menu_links/index.html.erb:15:in `each'
vendor/plugins/redmine_menu_links/app/views/menu_links/index.html.erb:15
passenger (2.2.5) lib/phusion_passenger/rack/request_handler.rb:95:in `process_request'
passenger (2.2.5) lib/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
passenger (2.2.5) lib/phusion_passenger/railz/application_spawner.rb:378:in `start_request_handler'
passenger (2.2.5) lib/phusion_passenger/railz/application_spawner.rb:336:in `handle_spawn_application'
passenger (2.2.5) lib/phusion_passenger/utils.rb:183:in `safe_fork'
passenger (2.2.5) lib/phusion_passenger/railz/application_spawner.rb:334:in `handle_spawn_application'
passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:352:in `__send__'
passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:163:in `start'
passenger (2.2.5) lib/phusion_passenger/railz/application_spawner.rb:213:in `start'
passenger (2.2.5) lib/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'
passenger (2.2.5) lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
passenger (2.2.5) lib/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'
passenger (2.2.5) lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
passenger (2.2.5) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
passenger (2.2.5) lib/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
passenger (2.2.5) lib/phusion_passenger/spawn_manager.rb:154:in `spawn_application'
passenger (2.2.5) lib/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:352:in `__send__'
passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'

Rendering /home/gneuro/public_html/labs/public/500.html (500 Internal Server Error)

Error when: rake db:migrate_plugins

Because of the following line on the init.rb of the plugin:

MenuLink.show

The following error appear when trying to migrate_plugins:
(in /home/gneuro/public_html/labs)
** Invoke db:migrate_plugins (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
Mysql::Error: Table 'gneuro_redmine.menu_links' doesn't exist: SELECT * FROM menu_links
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract_adapter.rb:219:in log' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/mysql_adapter.rb:323:inexecute'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/mysql_adapter.rb:608:in select' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/database_statements.rb:7:inselect_all_without_query_cache'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/query_cache.rb:62:in select_all' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/base.rb:661:infind_by_sql'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/base.rb:1548:in find_every' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/base.rb:615:infind'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/base.rb:635:in all' /home/gneuro/public_html/labs/vendor/plugins/redmine_menu_links/app/models/menu_link.rb:21:ineach_enabled_link'
/home/gneuro/public_html/labs/vendor/plugins/redmine_menu_links/app/models/menu_link.rb:33:in show' /home/gneuro/public_html/labs/vendor/plugins/redmine_menu_links/init.rb:15:inevaluate_init_rb'
/usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/plugin.rb:158:in evaluate_init_rb' /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/kernel/reporting.rb:11:insilence_warnings'
/usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/plugin.rb:154:in `evaluate_init_rb'

Commenting the line, i could migrate_plugins. But, i think that you must find a better way to do that.

Thanks

Error migrating using Redmine 2.3.1

Hello,
I tried to install this plugin for Redmine 2.3.1 and received the message below after using rake redmine:plugins:migrate RAIL_ENV=production

rake aborted!
uninitialized constant RAILS_DEFAULT_LOGGER

Could this be fixed so that the plugin works with Redmine 2.3.1?

Plugin doesn't work with redmine 2.4.x

I just tried to upgrade our redmine instance from 2.3.x to 2.4.x and noticed the plugin not working correctly anymore. I observed the following things:

  • Configuration Entry for the Plugin in Admin Panel is gone. Instead we have the configuration in the plugins section
  • Configuration allows to change the default google link but you can't add new links or remove the one link present

More links

Can I add more links? If yes, how? Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.