Welcome Guest Login Register Member List
ExpressionEngine Forums
Advanced Search
Username: Password:
Remember Me? forgot password?
You are here: Forum Home  >  Installation  >  Tracks on a web host  >  Thread
   
 
RailsPlayground 500 errors after install
 
JeremyL
Posted: 22 April 2008 02:41 PM   [ Ignore ]  
Newbie
Rank
Total Posts:  2
Joined  2008-04-22

Railsplayground was nice enough to do initial install of Tracks for me. I setup my first user and I can go to the root of the app when I am not logged in and I see the login form, but when I login, the root of the app (I guess it’s the dashboard) gives me 500 errors. There are a a couple of other places that also give me 500 errors but let’s start here and see if the fix for this also fixes those. Here is the log from when I open the index page while logged in.

Ideas on the problem? I condensed the log info in this post. Unfortunatly the forum wont let me upload the rest of the txt log file as an attachment :(


Processing TodosController#index (for 198.211.192.162 at 2008-04-22 10:32:29) [GET]
  
Session ID: 8a0291f8ead3a9ad1d1f58d9b0dd1544
  Parameters
: {"action"=>"index", "controller"=>"todos"}


ActiveRecord
::ConfigurationError (Association named 'tags' was not found; perhaps you misspelled it?):
 
...

Rendering actionindexlayoutfalse within layouts/standard
Rendering todos
/index


Processing TodosController
#index (for 198.211.192.162 at 2008-04-22 10:32:29) [GET]
  
Session ID: 8a0291f8ead3a9ad1d1f58d9b0dd1544
  Parameters
: {"action"=>"index", "controller"=>"todos"}


ActionView
::TemplateError (private method `select' called for nil:NilClass) on line #1 of app/views/contexts/_context.rhtml:
1: <% @not_done = @not_done_todos.select {|t| t.context_id == context.id } %>
2: <div id="c<%= context.id %>" class="container context" <%= "style=\"display:none\"" if collapsible && @not_done.empty? %>>
3:   <h2>
4: <% if collapsible -%>

...

Rendering actionindexlayoutfalse within layouts/standard
Rendering todos/index


ActionView::TemplateError (private method 
`select called for nil:NilClass) on line #1 of app/views/contexts/_context.rhtml:
1: <% @not_done = @not_done_todos.select {|t| t.context_id == context.id } %>
2: <div id="c<%= context.id %>" class="container context" <%= "style=\"display:none\"" if collapsible && @not_done.empty? %>>
3:   <h2>
4: <% if collapsible -%>

...

On line #1 of app/views/contexts/_context.rhtml

    
1: <% @not_done = @not_done_todos.select {|t| t.context_id == context.id } %>
    
2: <div id="c<%= context.id %>" class="container context" <%= "style=\"display:none\"" if collapsible && @not_done.empty? %>>
    
3:   <h2>
    
4: <% if collapsible -%> 

Profile
 
JeremyL
Posted: 22 April 2008 02:43 PM   [ Ignore ]   [ # 1 ]  
Newbie
Rank
Total Posts:  2
Joined  2008-04-22

condensed log files

Profile
 
Reinier Balt
Posted: 24 April 2008 08:02 AM   [ Ignore ]   [ # 2 ]  
Sr. Member
RankRankRankRank
Total Posts:  216
Joined  2006-10-05

I think the installation is not correct because it cannot find the ‘tags’ association. Could you look at the start of the log where ruby/rails is starting up? Are there error there?

Profile
 
Reinier Balt
Posted: 21 July 2008 12:05 PM   [ Ignore ]   [ # 3 ]  
Sr. Member
RankRankRankRank
Total Posts:  216
Joined  2006-10-05

FWIW, There’s a change in GIT that may resolve your problem.

Profile
 
   
 
 
‹‹ Installing on a web host that uses cPanel X      tracks install for dummies???? ››

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

ExpressionEngine Discussion Forum - Version 2.1.1 (20081028)
Script Executed in 0.1068 seconds

Atom Feed
RSS 2.0