usually I just hit whatever page I was working on before... going to
try hitting a cached page first then.

so, I created a new user and installed everything again, this time
from svn, while keeping the original mysql data. I see the cached site
fine, and the login page for the admin as well. but when I login, I
get an "Application Error (Apache)" error.

production.log has the following error when trying to render admin/page/index:

ActionView::TemplateError (The single-table inheritance mechanism
failed to locate the subclass: 'MailerPage'. This error is raised
because the column 'class_name' is reserved for storing the class in
case of inheritance. Please rename this column if you didn't intend it
to be used for storing the inheritance class or overwrite
Page.inheritance_column to use another column for that information.)
on line #44 of app/views/admin/page/_node.rhtml:
41: <% level = level + 1 -%>
42: <%
43: if expanded
44:   page.children.each do |child|
45: -%>
46: <%= render_node child, :level => level, :simple => simple -%>
47: <%

    #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1069:in
`instantiate_without_callbacks'
    
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/callbacks.rb:204:in
`instantiate'
    #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:427:in
`find_by_sql'
    #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:427:in
`collect!'
    #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:427:in
`find_by_sql'
    #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:997:in
`find_every'
    #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:418:in
`find'
    
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/associations/has_many_association.rb:91:in
`find'
    
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:159:in
`find_target'
    
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/associations/has_many_association.rb:123:in
`load_target'
    
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:122:in
`method_missing'
    
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/associations/has_many_association.rb:98:in
`method_missing'
    #{RAILS_ROOT}/app/views/admin/page/_node.rhtml:44:in
`_run_rhtml_47app47views47admin47page47_node46rhtml'
    #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:326:in `send'
    #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:326:in
`compile_and_render_template'
    #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:301:in
`render_template'
    #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:260:in
`render_file'
    #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:275:in
`render'
    #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/partials.rb:59:in
`render_partial'
    
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:30:in
`benchmark'
    #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/partials.rb:58:in
`render_partial'
    #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:287:in
`render'
    #{RAILS_ROOT}/app/helpers/admin/page_helper.rb:4:in `render_node'
    #{RAILS_ROOT}/app/views/admin/page/index.rhtml:14:in
`_run_rhtml_47app47views47admin47page47index46rhtml'
(leaving out rails-specific dump)

apache's log is empty.

I have re-installed the Mailer extension and run rake
db:migrate:extensions... no output on the rake task though, should I
scrap the extension tables and migrate again?

2007/2/22, Jacob Burkhart <[EMAIL PROTECTED]>:
> Ohh, good to know that the memory limit is tied to the user account.
>
> I'll have to start creating new users for each new site I setup.
>
> I did notice one time my radiant on dreamhost crapped out while I was
> doing a lot of intesive admin work.  And it repeatedly failed to restart
> after that for about 15 minutes...  And then eventually it was fine
> again without me doing anything.
>
> I wonder if the memory limit is due to some extra startup logic or
> checking etc...
>
> What's the first page you hit after killing all the crapping out fcgis?
> This might make a difference. I'd think the best thing to do is hit a
> page that is already cached before hitting the admin.
>
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Radiant mailing list
> Post:   Radiant@lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
_______________________________________________
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to