"`const_missing': uninitialized constant ActiveRecord::Base::Redmine (NameError)" error when try to run redmine

Added by Libin Joseph over 1 year ago

I need a copy of my current redmine to another server. I copied the current redmine folder to new machine and created a database from existing databases dump. I followed the steps in http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_in_a_sub-URI_on_Windows_with_Apache and skip the "Install Redmine" step as I have the application folder. Now when I run http://localhost/redmine,it shows the following error:

Proxy Error

The proxy server received an invalid response from an upstream server. The proxy server could not handle the request GET /redmine.

My mongrel.log file is showing the error : "C:/webserver/Ruby187/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:105:in `const_missing': uninitialized constant ActiveRecord::Base::Redmine (NameError)". I am using windows machine, ruby version Ruby 1.8.7,MySql 5.1.31