Project

General

Profile

Actions

Defect #24898

closed

Internal Error while create new project

Added by athena tang over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

while I am going to login the system , create a new project or a new user,it will give internal error.
the error on the page like this:
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.
If you are the Redmine administrator, check your log files for details about the error.
Back

And the log like this:
Processing by WelcomeController#index as HTML
Current user: admin (id=1)
Rendered welcome/index.html.erb within layouts/base (4.6ms)
Completed 500 Internal Server Error in 28.3ms

ActionView::Template::Error (undefined method `create' for Psych::Visitors::YAMLTree:Class):
9: <%= favicon >
10: <
= stylesheet_link_tag 'jquery/jquery-ui-1.9.2', 'application', :media => 'all' >
11: <
= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' >
12: <
= javascript_heads >
13: <
= heads_for_theme >
14: <
= call_hook :view_layouts_base_html_head %>
15: <!-- page specific tags -->
app/models/user.rb:310:in `pref'
app/helpers/application_helper.rb:1291:in `javascript_heads'
app/views/layouts/base.html.erb:12:in `_app_views_layouts_base_html_erb___1235638970148253882_36973120'

The environment of information:
ruby 1.9.3p550
Rails 3.2.19
redmine 2.5.2

Actions

Also available in: Atom PDF