[typo] Recent Multi-Blog update Breaks

Kevin Kubasik kevin at kubasik.net
Fri Mar 17 17:03:53 EST 2006


Following up on my earlier promise, this seems to be the issue withthe update script, I'm goin to fiddle a bit now and see if I can't getthis to go away, but wanted to get the exact log out there for anyonewho wanted to help.
Processing GeneralController#index (for 69.140.109.194 at 2006-03-1717:01:44) [GET]  Parameters: {"action"=>"index", "controller"=>"admin/general"}Redirected to http://blog.kubasik.net/admin/general/update_databaseCompleted in 0.00812 (123 reqs/sec) | DB: 0.00051 (6%) | 302 Found[http://blog.kubasik.net/admin]

Processing GeneralController#update_database (for 69.140.109.194 at2006-03-17 17:01:44) [GET]  Parameters: {"action"=>"update_database", "controller"=>"admin/general"}Rendering  within layouts/administrationRendering admin/general/update_database

ActionView::TemplateError (undefined local variable or method`this_blog' for #<#<Class:0xb7aa7538>:0xb78cd39c>) on line #24 ofapp/views/layouts/administration.rhtml:21:             <%= link_to 'your blog &raquo;', :controller => "/" %>22:23:           </div>24:             <h1><%= link_to "Typo admin - #{this_blog.blog_name}",:controller => "/admin/" %></h1>25:           </div>26:         <!-- /HEADER -->27:
    #{RAILS_ROOT}/app/views/./layouts/administration.rhtml:24    /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in`compile_and_render_template'    /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:244:in`render_template'    /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:205:in`render_file'    #{RAILS_ROOT}/app/helpers/application_helper.rb:26:in `render_file'    #{RAILS_ROOT}/app/helpers/application_helper.rb:19:in `render_file'    /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/layout.rb:226:in`render_without_benchmark'    /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in`render'    /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'    /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in`render'    /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:854:in`perform_action_without_filters'    /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in`perform_action_without_benchmark'    /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in`perform_action_without_rescue'    /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'    /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in`perform_action_without_rescue'    /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in`perform_action'    /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in`process_without_session_management_support'    /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in`process'    /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'    /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:141:in`process_request'    /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:53:in`process!'    /usr/lib/ruby/1.8/fcgi.rb:600:in `each_cgi'    /usr/lib/ruby/1.8/fcgi.rb:597:in `each_cgi'    /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:52:in`process!'    /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:22:in`process!'    #{RAILS_ROOT}/public/dispatch.fcgi:24

On 3/17/06, cedric <cedric at feelfree.homelinux.com> wrote:> On my point of view, single blog is just a particular case of a multi-blog> implementation. This should becomes the default typo blog with a default> setting to "single blog" for all people who want to install their personal> typo. But I don't know if it's possible... if not there must be 2 different> typo branches.> It's just my humble opinion, to bring some ideas to community.>> Le Vendredi 17 Mars 2006 18:00, Gary Shewan a écrit:> > On 17 Mar 2006, at 16:19, Piers Cawley wrote:> > > "Kevin Kubasik" <kevin at kubasik.net> writes:> > >> Just a note, I found that when attempting to update to the> > >> latestTrunk, rev 915 breaks (it can't seem to add the new blogs> > >> tablecorrectly) 914 is good though. It seems to me that a multiblog> > >> branchshould be handled that way, in its own branch, not in the> > >> trunk(although the comment seems to imply that it is being done in> > >> abranch, maybe im just SVN illiterate)> > >> > > It's staying in the trunk -- the comment about the branch was from my> > > local SVK based repository which I'd not edited out.> > >> > > What errors were you getting when you tried to run the migrations?> > > Could you send me a the relevant log section?> > >> > > --> > > Piers Cawley <pdcawley at bofh.org.uk>> > > http://www.bofh.org.uk/> > > _______________________________________________> > > Typo-list mailing list> > > Typo-list at rubyforge.org> > > http://rubyforge.org/mailman/listinfo/typo-list> >> > Sigh, well that's me not upgrading in trunk.  Multi blog support is> > bloat for those of us running Typo on single sites.  I think it's a> > bad move to keep this in trunk.  If you want me to throw a penny in> > I'd say split it now.  The initial attraction of Typo because it was> > lean.  Why keep multi blog in trunk when not everyone wants it?  It's> > screaming out for a separate branch.> >> > God I hate bloat.> > _______________________________________________> > Typo-list mailing list> > Typo-list at rubyforge.org> > http://rubyforge.org/mailman/listinfo/typo-list>> _______________________________________________> Typo-list mailing list> Typo-list at rubyforge.org> http://rubyforge.org/mailman/listinfo/typo-list>

--Cheers,Kevin Kubasikhttp://blog.kubasik.net/


More information about the Typo-list mailing list