Welcome Guest Login Register Member List
ExpressionEngine Forums
Advanced Search
Username: Password:
Remember Me? forgot password?
You are here: Forum Home  >  Usage  >  Troubleshooting  >  Thread
   
 
1.7 Upgrade—Uninitialized constant Mime::M
 
rudedog830
Posted: 08 March 2009 09:24 PM   [ Ignore ]  
Newbie
Rank
Total Posts:  26
Joined  2008-09-17

I’ve just upgraded my site from 1.7-devel to 1.7 following the upgrade instructions.  I believe that I’ve followed all of the provided steps.

I’m not a Ruby expert and I don’t know how to troubleshoot the following error:

NameError in LoginController#login

uninitialized constant Mime::M

RAILS_ROOT: /home/username/tracks-1.7

Application Trace | Framework Trace | Full Trace

vendor/rails/activesupport/lib/active_support/dependencies.rb:442:in `load_missing_constant’
vendor/rails/activesupport/lib/active_support/dependencies.rb:77:in `const_missing’
vendor/rails/actionpack/lib/action_controller/mime_responds.rb:150:in `const_get’
vendor/rails/actionpack/lib/action_controller/mime_responds.rb:150:in `method_missing’
app/controllers/login_controller.rb:43:in `login’
app/controllers/login_controller.rb:41:in `login’

Profile
 
rudedog830
Posted: 09 March 2009 04:17 AM   [ Ignore ]   [ # 1 ]  
Newbie
Rank
Total Posts:  26
Joined  2008-09-17

I found the source of this error.  I had erroneously copied my old routes.rb file to the new installation.

Profile
 
Reinier Balt
Posted: 10 March 2009 02:52 PM   [ Ignore ]   [ # 2 ]  
Sr. Member
RankRankRankRank
Total Posts:  580
Joined  2006-10-05

nice find. Those are very difficult to track down grin

Profile
 
   
 
 
‹‹ rake failing in 1.7 final upgrade      Email Integration on 1.7 with ActionMailer -- delivery failed ››

Powered By ExpressionEngine
Template Design By Sonnenvogel.com
Select a theme:

ExpressionEngine Discussion Forum - Version 2.1.2 (20091002)
Script Executed in 0.1085 seconds

Atom Feed
RSS 2.0