Latest Forum Messages plugins

Added by Victor Dulepov about 11 years ago

Shows the latest forum messages on Home and on project's Overview in a box similar to Latest News. The box is also available in the Personalize list on My Page.

For details and the plugin itself see PluginLatestForumMessages.

Replies (7)

RE: Latest Forum Messages plugins - Added by Aaron Johnson about 11 years ago

I am having a problem with plugin combined with the blocks plugin.

I am using the latest dev version of redmine (trunk 3750) and when I enable 'Forum Messages' on the My Page block I instantly receive this error:

redMine 500 error

Internal error

An error occurred on the page you were trying to access.
If you continue to experience problems please contact your redMine administrator for assistance.

Any ideas?

RE: Latest Forum Messages plugins - Added by Aaron Johnson over 10 years ago

Hey thanks for the response on this.

Actually I just tried the new versions of both plugins and it still gave me the same error when I try to add the Forum Messages block to My Page (just like before).

Then I thought, something must be wrong with my redmine install so I decided to upgrade to the latest svn code but it still does the exact same thing. The only file modified in my redmine installation is /app/views/layouts/base.rhtml (which I have changed simply to add a logo to the banner).

For the upgrade I followed the steps here: (and thinking that I should have an entirely new folder structure, I followed the Option 1 upgrade steps which basically uses nothing but the new code and you just copy over a couple of config files)

http://www.redmine.org/projects/redmine/wiki/RedmineUpgrade

Also I am using the Squeejee theme but I have tried changing to the Default theme and had the same results. I am using Firefox for my web browser.

Here are the plugins that I have installed on my redmine:

Blocks Layout plugin
Redmine last forum messages plugin
Redmine Polls plugin

Either I am doing something very obviously wrong (permissions, missing a plugin installation step, etc) or I must have something in my database that is messing it up.

I really need to try these plugins on a clean installation but I haven't had time to try that yet.

Let me know what you think.

RE: Latest Forum Messages plugins - Added by Aaron Johnson over 10 years ago

Update:

I just tried this on the latest redmine trunk on an entirely different server and it does the exact same thing!

Must be a bug, or I'm still missing something, is there somewhere else I should post?

RE: Latest Forum Messages plugins - Added by Terence Mill over 10 years ago

Bug Report:

Altough i run "rake db:migrate_plugins RAILS_ENV=production"

(in /usr/local/lib/redmine-git)
Migrating engines...
Migrating acts_as_activity_provider...
Migrating acts_as_attachable...
Migrating acts_as_customizable...
Migrating acts_as_event...
Migrating acts_as_list...
Migrating acts_as_searchable...
Migrating acts_as_tree...
Migrating acts_as_versioned...
Migrating acts_as_watchable...
Migrating awesome_nested_set...
Migrating classic_pagination...
Migrating gravatar...
Migrating open_id_authentication...
Migrating prepend_engine_views...
Migrating projects_tree_view...
Migrating redmine-graphs-plugin...
Migrating redmine-system-notification-plugin...
Migrating redmine_bbb...
Migrating redmine_blocks...
Migrating redmine_boards_watchers...
Migrating redmine_checkout...
Migrating redmine_code_review...
Migrating redmine_contacts...
Migrating redmine_doodles...
Migrating redmine_embedded_video...
Migrating redmine_goyello_stuff_to_do...
Migrating redmine_http_auth...
Migrating redmine_hudson...
Migrating redmine_icalendar_export...
Migrating redmine_importer...
Migrating redmine_issue_history...
Migrating redmine_last_messages...
Migrating redmine_loader...
Migrating redmine_local_avatars...
Migrating redmine_logs...
Migrating redmine_my_widgets...
Migrating redmine_mylyn_connector...
Migrating redmine_opensearch...
Migrating redmine_screenshot_paste...
Migrating redmine_show_descriptions...
Migrating redmine_vote...
Migrating redmine_webdav...
Migrating redmine_wiki_extensions...
Migrating redmine_wikicreole_formatter...
Migrating redmine_workflow_viz...
Migrating redmine_xapian...
Migrating redmine_xls_export...
Migrating rfpdf...
Migrating ruby-net-ldap-0.0.4...

the table "home_blocks" is not created. That why i get following error message when starting redmine:

ActionView::TemplateError (Mysql::Error: Table 'redmine.home_blocks' doesn't exist: SHOW FIELDS FROM `home_blocks`) on line #12 of vendor/plugins/redmine_blocks/app/views/welcome/index.rhtml:
9: <div class="splitcontentleft">
10:   <%= textilizable Setting.welcome_text %>
11: 
12:   <%= call_hook(:view_welcome_index_left, :projects => @projects) %>
13: </div>
14: 
15: <div class="splitcontentright">

    /usr/local/lib/ruby/gems/1.8/gems/i18n-0.4.2/lib/i18n/backend/base.rb:42:in `all?'
    lib/redmine/hook.rb:63:in `send'
    lib/redmine/hook.rb:63:in `call_hook'
    lib/redmine/hook.rb:63:in `each'
    lib/redmine/hook.rb:63:in `call_hook'
    lib/redmine/hook.rb:60:in `tap'
    lib/redmine/hook.rb:60:in `call_hook'
    lib/redmine/hook.rb:144:in `call_hook'
    vendor/plugins/redmine_blocks/app/views/welcome/index.rhtml:12:in `_run_rhtml_vendor47plugins47redmine_blocks47app47views47welcome47index46rhtml'
    passenger (2.2.14) lib/phusion_passenger/rack/request_handler.rb:92:in `process_request'
    passenger (2.2.14) lib/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
    passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:441:in `start_request_handler'
    passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:381:in `handle_spawn_application'
    passenger (2.2.14) lib/phusion_passenger/utils.rb:252:in `safe_fork'
    passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:377:in `handle_spawn_application'
    passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `__send__'
    passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
    passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
    passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:163:in `start'
    passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:222:in `start'
    passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'
    passenger (2.2.14) lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
    passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'
    passenger (2.2.14) lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
    passenger (2.2.14) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
    passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
    passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:154:in `spawn_application'
    passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
    passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `__send__'
    passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
    passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
<pre>

Please help!

RE: Latest Forum Messages plugins - Added by Joshua Villagomez about 10 years ago

I tried myself on latest stable version and got the same thing. Blocks Layout and Latest Forum Messages plugins both fail with:

Internal error

An error occurred on the page you were trying to access.
If you continue to experience problems please contact your redMine administrator for assistance.

RE: Latest Forum Messages plugins - Added by Laurent CORROCHANO about 10 years ago

Hi,
i've translated the 2 messages in French, so if you want to put it in the archive i attach it.

Thanks for your work.

fr.yml Magnifier - French localization (97 Bytes)

(1-7/7)