Forum: Typo Hemingway theme

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Kyle H. (Guest)
on 2006-06-08 15:10
(Received via mailing list)
Tim,

Thanks for the reply. Yeah, this is the latest. I pulled it down last
night
from the same link you provide below.

I narrowed this down to the sidebars as well. I'm running the latest
trunk
version of Typo (as of last night, not sure on the revision number).
When I
remove ALL of my sidebars the pages load (albeit slowly). Once I begin
to
add them back in the errors returns.

-K

Hi Kyle -- I'm new to the Typo list, but perhaps we can figure this out
anyway.

It looks like there is a defect filed with that same error message here:
http://www.typosphere.org/trac/ticket/806

Does anything on that page ring a bell?  It looks like the problem came
down to a custom sidebar issue with the original poster's Typo.

Just in case it doesn't, I tried the same thing with Hemingway on Typo
version 1055, and it seemed to work OK.  Hemingway was the latest, as I
found it here:
http://warpspire.com/hemingway/hemingway-for-typo

What version of Typo are you running?  What information does the Full
Trace option give?

Hopefully that helps,

Tim
Timothy F. (Guest)
on 2006-06-09 09:58
(Received via mailing list)
Kyle --

I noticed that it seemed to load a little slow as well.

I use the pretty standard sidebar plugins, so maybe I'm not testing the
same things that you are.  I typically use the Archives, Categories,
Static, Flickr, and XML Syndication sidebar plugins.  All of those seem
to work fine for me in Hemingway.

What sidebar plugins are you using?  Does the error return when you add
any plugin, just a certain plugin, or a certain number/combination of
plugins?

Tim


Kyle H. wrote:
> -K
> Just in case it doesn't, I tried the same thing with Hemingway on Typo
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Typo-list mailing list
> removed_email_address@domain.invalid
> http://rubyforge.org/mailman/listinfo/typo-list


--
Timothy F.
http://digital-achievement.com
http://edodyssey.com
Syed Uzair A. (Guest)
on 2006-06-10 15:23
(Received via mailing list)
Related, but not quite the problem that Kyle was having:

---

ActionView::TemplateError (uninitialized constant
Sidebars::SidebarController) on line #42 of
themes/hemingway/layouts/defaul
t.rhtml:
39:     <hr class="hide" />
40:     <div id="ancillary">
41:             <div class="inside">
42:                     <%= render_component(:controller =>
'sidebars/sidebar', :action => 'display_plugins') %>
43:                     <div class="clear"></div>
44:             </div>
45:     </div>

---

This is after updating to revision 1055 and running script/migrate.

When I try to bring up the admin console, I get:

---

Processing GeneralController#index (for 82.35.78.134 at 2006-06-10
04:12:57)
[GET]
  Session ID: 2405f7734723b624a57d5b5311720136
  Parameters: {"action"=>"index", "controller"=>"admin/general"}


ActiveRecord::StatementInvalid (MysqlError: Table 'uzair_typo.triggers'
doesn't exist: SELECT * FROM triggers WHERE (due_at <
= '2006-06-10 04:12:57') ):

/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_ad
apter.rb:120:in `log'

/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapt
er.rb:185:in `execute'

/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapt
er.rb:337:in `select'

/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapt
er.rb:176:in `select_all'
    /vendor/rails/activerecord/lib/active_record/base.rb:390:in
`find_by_sql'
    /vendor/rails/activerecord/lib/active_record/base.rb:924:in
`find_every'
    /vendor/rails/activerecord/lib/active_record/base.rb:381:in `find'
    /vendor/rails/activerecord/lib/active_record/base.rb:461:in
`destroy_all'
    /app/models/trigger.rb:12:in `fire'
    /app/controllers/application.rb:15:in `fire_triggers'
    /vendor/rails/actionpack/lib/action_controller/filters.rb:399:in
`send'
    /vendor/rails/actionpack/lib/action_controller/filters.rb:399:in
`call_filters'
    /vendor/rails/actionpack/lib/action_controller/filters.rb:394:in
`each'
    /vendor/rails/actionpack/lib/action_controller/filters.rb:394:in
`call_filters'
    /vendor/rails/actionpack/lib/action_controller/filters.rb:383:in
`before_action'
    /vendor/rails/actionpack/lib/action_controller/filters.rb:365:in
`perform_action_without_benchmark'
    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:69:in
`perform_action_without_rescue'
    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:69:in
`measure'
    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:69:in
`perform_action_without_rescue'
    /vendor/rails/actionpack/lib/action_controller/rescue.rb:82:in
`perform_action'
    /vendor/rails/actionpack/lib/action_controller/base.rb:381:in `send'
    /vendor/rails/actionpack/lib/action_controller/base.rb:381:in
`process_without_filters'
    /vendor/rails/actionpack/lib/action_controller/filters.rb:377:in
`process_without_session_management_support'

/vendor/rails/actionpack/lib/action_controller/session_management.rb:117:in
`process'
    /vendor/rails/railties/lib/dispatcher.rb:38:in `dispatch'
    /vendor/rails/railties/lib/fcgi_handler.rb:150:in `process_request'
    /vendor/rails/railties/lib/fcgi_handler.rb:54:in `process!'
    /vendor/rails/railties/lib/fcgi_handler.rb:53:in `each_cgi'
    /usr/lib/ruby/1.8/fcgi.rb:597:in `each'
    /usr/lib/ruby/1.8/fcgi.rb:597:in `each_cgi'
    /vendor/rails/railties/lib/fcgi_handler.rb:53:in `process!'
    /vendor/rails/railties/lib/fcgi_handler.rb:23:in `process!'
    dispatch.fcgi:24

---

Me no likey.

Uzair
Trejkaz (Guest)
on 2006-06-10 15:48
(Received via mailing list)
On Saturday 10 June 2006 21:19, Syed Uzair A. wrote:
> 42:                     <%= render_component(:controller =>
> 'sidebars/sidebar', :action => 'display_plugins') %>
> 43:                     <div class="clear"></div>
> 44:             </div>
> 45:     </div>

Does it still do the same thing with the proper <%= render_sidebars %>
for
inserting the sidebars?

TX
Timothy F. (Guest)
on 2006-06-11 01:26
(Received via mailing list)
Uzair:

Concerning the "Table 'uzair_typo.triggers' doesn't exist" error:  I
wonder if you initially installed your typo instance in a schema named
uzair_typo, but perhaps the migrations ran in the default schema rather
than your uzair_typo schema.

In other words, it may have created a triggers table, but the triggers
table may not be in the right place.

I run my Typo instances on PostgreSQL, and I haven't dealt with
migrations much, so forgive me if this is completely off base.  I am
interested to hear what the solution is.

Thanks,

Tim



Syed Uzair A. wrote:
> 42:                     <%= render_component(:controller =>
>
> = '2006-06-10 04:12:57') ):
> /vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapt
>     /vendor/rails/actionpack/lib/action_controller/filters.rb:399:in
>     /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:69:in
>
>     dispatch.fcgi:24
>>removed_email_address@domain.invalid] On Behalf Of Timothy F.
>>Static, Flickr, and XML Syndication sidebar plugins.  All of those seem
>>
>>>-K
>>>Just in case it doesn't, I tried the same thing with Hemingway on Typo
>>>
>>Timothy F.
> removed_email_address@domain.invalid
> http://rubyforge.org/mailman/listinfo/typo-list

--
Timothy F.
http://digital-achievement.com
http://edodyssey.com
Syed Uzair A. (Guest)
on 2006-06-14 02:25
(Received via mailing list)
Thanks Tim, Trejkaz,

So the weird thing is this magically cleared up all by itself. I was
still
getting some 'application error' problems, but those cleared up once I
fixed
the rendering call for the sidebars that Trejkaz suggested.

Uzair
This topic is locked and can not be replied to.