unmk2 / ovz-web-panel

Automatically exported from code.google.com/p/ovz-web-panel
Other
0 stars 0 forks source link

Enter the virtual server controller error #381

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

Server OS: Centos5.4

Browser:IE8

Additional information:
1, create a virtual server
2, enter the virtual server console

3、Tip:
{We're sorry, but something went wrong.
We've been notified about this issue and we'll take a look at it shortly.}

(If you're the administrator of this website, then please read the log file 
"production.log" to find out what went wrong.)

4、"production.log" Information:

{NoMethodError (undefined method `pluralize' for #<Object:0xb76eb358>):
    /vendor/rails/actionpack/lib/action_view/helpers/number_helper.rb:252:in `number_to_human_size'
    /app/controllers/admin/virtual_servers_controller.rb:357:in `get_usage_stats'
    /app/controllers/admin/virtual_servers_controller.rb:89:in `show'
    /vendor/rails/actionpack/lib/action_controller/base.rb:1253:in `send'
    /vendor/rails/actionpack/lib/action_controller/base.rb:1253:in `perform_action_without_filters'
    /vendor/rails/actionpack/lib/action_controller/filters.rb:617:in `call_filters'
    /vendor/rails/actionpack/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
    /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
    /vendor/rails/actionpack/lib/action_controller/rescue.rb:136:in `perform_action_without_caching'
    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `perform_action'

Original issue reported on code.google.com by jxmuye...@gmail.com on 6 Dec 2011 at 11:09

GoogleCodeExporter commented 9 years ago
Internal error: undefined method `pluralize' for #<Object:0xb76918a8>

Original comment by jxmuye...@gmail.com on 6 Dec 2011 at 12:14

GoogleCodeExporter commented 9 years ago

Original comment by sibprogrammer on 8 Dec 2011 at 3:46