Giter Site home page Giter Site logo

500 Internal Error about due_date_reminder HOT 13 CLOSED

haddung avatar haddung commented on September 27, 2024
500 Internal Error

from due_date_reminder.

Comments (13)

f0y avatar f0y commented on September 27, 2024

Hi!

Do you have any other plugins installed? What is an output of a command
git branch (perform it in due_date_reminder directory)?

On Fri, Oct 5, 2012 at 2:17 AM, haddung [email protected] wrote:

Hi!

I've installed the Due Date Reminder Plugin on my 2.1. Redmine. Accroding
to http://www.redmine.org/plugins/due_date_reminder it should be
compatible with 2.1.

But after installing, migrate and restarting I get a 500 Error after Login.

The log states :

Started GET "/redmine/my/page" for 84.00.00.172 at Wed Oct 03 13:45:01
+0200 2012
Processing by MyController#page as HTML
Current user: admin (id=1)
Rendered issues/_list_simple.html.erb (10.0ms)
Rendered my/blocks/_issuesassignedtome.html.erb (227.0ms)
Rendered issues/_list_simple.html.erb (30.0ms)
Rendered my/blocks/_issuesreportedbyme.html.erb (156.0ms)
Rendered my/page.html.erb within layouts/base (1151.1ms)
Completed 500 Internal Server Error in 1624ms

ActionView::Template::Error (undefined method association_class' for
nil:NilClass):
33 <%= hidden_field_tag(controller.default_search_scope, 1, :id => nil) if
controller.default_search_scope %>
34:
35: <%= link_to l(:label_search), {:controller => 'search', :action =>
'index', :id => @project https://github.com/project}, :accesskey =>
accesskey(:search) %>:
36:
37: <%= text_field_tag 'q', @question https://github.com/question,
:size => 20, :class => 'small', :accesskey => accesskey(:quick_search) %>
38: <% end %>
39: <%= render_project_jump_box %>

app/helpers/application_helper.rb:268:inrender_project_jump_box'
app/views/layouts/base.html.erb:36:in `app_views_layouts_base_html_erb
__201915114_99968940'

I have also tried the solution mentioned here:
http://www.redmine.org/boards/3/topics/30930?r=30973#message-30973

Any suggestions here? Thank you!


Reply to this email directly or view it on GitHubhttps://github.com//issues/17.

Best Wishes,
Oleg Kandaurov

from due_date_reminder.

haddung avatar haddung commented on September 27, 2024

Hi!
I deleted all other plugins to be sure it's a problem with Due Date Reminder.
The comand brings following output:

C:\REDMINE\apps\redmine\htdocs\plugins\redmine_due_date_reminder>git branch
fatal: Not a git repository (or any of the parent directories): .git

I downloaded the .zip to install the plugin...

from due_date_reminder.

f0y avatar f0y commented on September 27, 2024

I suppose You have a wrong version of the plugin. Please install it from the link below https://github.com/f0y/due_date_reminder/zipball/redmine-2.1

from due_date_reminder.

haddung avatar haddung commented on September 27, 2024

I installed from your link and did "bundle install" afterwards. When I tried migrate the following error occurred:

C:\REDMINE\apps\redmine\htdocs\plugins>rake redmine:plugins:migrate RAILS_ENV=pr
oduction --trace
(in C:/REDMINE/apps/redmine/htdocs)
rake aborted!
Incorrect MySQL client library version! This gem was compiled for 6.0.0 but the
client library is 5.0.83.
C:/REDMINE/ruby/lib/ruby/gems/1.8/gems/mysql2-0.3.11-x86-mingw32/lib/mysql2/1.8/
mysql2.so
C:/REDMINE/ruby/lib/ruby/gems/1.8/gems/mysql2-0.3.11-x86-mingw32/lib/mysql2/mysq
l2.rb:2
C:/REDMINE/ruby/lib/ruby/gems/1.8/gems/mysql2-0.3.11-x86-mingw32/lib/mysql2.rb:9
:in `require'
C:/REDMINE/ruby/lib/ruby/gems/1.8/gems/mysql2-0.3.11-x86-mingw32/lib/mysql2.rb:9

C:/REDMINE/ruby/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/runtime.rb:68:
in require' C:/REDMINE/ruby/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/runtime.rb:68: inrequire'
C:/REDMINE/ruby/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/runtime.rb:66:
in each' C:/REDMINE/ruby/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/runtime.rb:66: inrequire'
C:/REDMINE/ruby/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/runtime.rb:55:
in each' C:/REDMINE/ruby/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/runtime.rb:55: inrequire'
C:/REDMINE/ruby/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler.rb:122:in req uire' C:/REDMINE/apps/redmine/htdocs/config/application.rb:7 C:/REDMINE/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:ingem_ori
ginal_require'
C:/REDMINE/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in require ' C:/REDMINE/apps/redmine/htdocs/Rakefile:5 C:/REDMINE/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25:i nload'
C:/REDMINE/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25:i
n load_rakefile' C:/REDMINE/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:501: inraw_load_rakefile'
C:/REDMINE/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:82:i
n load_rakefile' C:/REDMINE/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133: instandard_exception_handling'
C:/REDMINE/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:81:i
n load_rakefile' C:/REDMINE/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:65:i nrun'
C:/REDMINE/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:
in standard_exception_handling' C:/REDMINE/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:63:i nrun'
C:/REDMINE/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/bin/rake:33
C:/REDMINE/ruby/bin/rake:19:in `load'
C:/REDMINE/ruby/bin/rake:19

from due_date_reminder.

f0y avatar f0y commented on September 27, 2024

I believe that there are some diffucties with running plugin on ruby 1.8 according to that guy https://github.com/theonlyulti/due_date_reminder. Try to remove test directory and Gemfile and Gemfile.lock from plugin directory.

And you must not do bundle install in plugin directory.

from due_date_reminder.

haddung avatar haddung commented on September 27, 2024

I am now able to install the plugin! Thank you very much!
But when I try to configured the plugin it tries to access:
http://mydomain/redmine/settings/plugin/due_date_reminder and I get a 404 error!

from due_date_reminder.

f0y avatar f0y commented on September 27, 2024

Something wrong with your redmine configuration then. Good luck!

On Fri, Oct 5, 2012 at 3:14 PM, haddung [email protected] wrote:

I am now able to install the plugin! Thank you very much!
But when I try to configured the plugin it tries to access:

http://mydomain/redmine/settings/plugin/due_date_reminder and I get a 404
error!


Reply to this email directly or view it on GitHubhttps://github.com//issues/17#issuecomment-9172244.

Best Wishes,
Oleg Kandaurov

from due_date_reminder.

haddung avatar haddung commented on September 27, 2024

Why? Where do I have to look? What should the link be?

from due_date_reminder.

f0y avatar f0y commented on September 27, 2024

Simply because it is completely Redmine responsibility to create that link
properly.
It is hard to say where you should look. Maybe something wrong with
webserver configuration. I do not have much experience
with setting up Redmine.

On Fri, Oct 5, 2012 at 4:44 PM, haddung [email protected] wrote:

Why? Where do I have to look? What should the link be?


Reply to this email directly or view it on GitHubhttps://github.com//issues/17#issuecomment-9174108.

Best Wishes,
Oleg Kandaurov

from due_date_reminder.

f0y avatar f0y commented on September 27, 2024

Btw, link is correct. Webserver can not find this page.

from due_date_reminder.

haddung avatar haddung commented on September 27, 2024

All right, thanks for your help! I will try to figure this out!

from due_date_reminder.

haddung avatar haddung commented on September 27, 2024

According to the guys at the bitnami forums, it's a plugin issue...

http://answers.bitnami.org/questions/7563/redmine-due-date-reminder-plugin-500-internal-error

from due_date_reminder.

Ipaulsen avatar Ipaulsen commented on September 27, 2024

I have been getting this error while trying to go to the log in page, just happened haven't changed-ed anything as far as versions... tried to follow the thread, but a little confused :(

error log below

app/views/layouts/base.html.erb:37:in `_app_views_layouts_base_html_erb___695339911_32923608'

Started GET "/redmine/login" for .._._ at 2013-06-27 11:17:13 -0600
Processing by AccountController#login as HTML
Current user: ipaulsen (id=1)
Redirected to http://_...__/redmine/
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
Started GET "/redmine/" for .._
.*** at 2013-06-27 11:17:13 -0600
Processing by WelcomeController#index as HTML
Current user: ** (id=1)
Rendered welcome/index.html.erb within layouts/base (0.0ms)
Completed 500 Internal Server Error in 31ms

ActionView::Template::Error (undefined local variable or method render_projects_jump_box' for #<#Class:0x3f1dcb8:0x3e74758>):
34: <%= hidden_field_tag(controller.default_search_scope, 1, :id => nil) if controller.default_search_scope >
35:
36: <= link_to l(:label_search), {:controller => 'search', :action => 'index', :id => @projects}, :accesskey => accesskey(:search) >:
37:
38: <= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search) >
39: < end >
40: <= render_projects_jump_box %>
app/views/layouts/base.html.erb:37:in_app_views_layouts_base_html_erb___695339911_32923608'

thanks, please help!

from due_date_reminder.

Related Issues (20)

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.