From stan at workflowinc.com Tue Apr 1 19:31:09 2008 From: stan at workflowinc.com (Stan Shore) Date: Tue, 1 Apr 2008 16:31:09 -0700 Subject: [typo] Cannot access content records from another rails application Message-ID: I have done this successfully with other 'foreign' databases, but it does not seem to work with the Typo content table. At least not the way I would expect it to. First I created a connection entry in database.yml: typo_development: adapter: mysql database: typo_dev username: myusername password: mypassword socket: /tmp/mysql.sock encoding: utf8 Then I created an abstract ActiveRecord class to hold the connection: class TypoBase < ActiveRecord::Base establish_connection "typo_#{RAILS_ENV}" end Then I created a descendant class to point to the table: class TypoContent < TypoBase set_table_name 'contents' set_primary_key 'id' end When I go into the console and do a find, no records are returned even though there are records in the table. I get no errors however: Loading development environment (Rails 2.0.2) >> TypoContent.find(:first) => nil >> TypoContent.find(:all) => [] >> Now for the weirdest thing. I can successfully add records to the table! CocoaMySQL shows that they are added to the table. Find then returns the records that I added but continues to ignore any prior existing records. Here is additional evidence that the connections are solid: >> TypoBase.connection.tables => ["articles_tags", "blacklist_patterns", "blogs", "categories", "categorizations", "contents", "feedback", "notifications", "page_caches", "pings", "profiles", "profiles_rights", "redirects", "resources", "rights", "schema_info", "sessions", "sidebars", "sitealizer", "tags", "text_filters", "triggers", "users"] >> TypoContent.table_name => "contents" >> TypoContent.columns => [#, #, #, #, #, #, #, #, #, #, #, #, #, #, #, #, #, #, #, #, #] >> I really like Typo and want to use it to create blog entries, but I need to show those entries embedded in a different rails app. I thought it would be a piece of cake and have no clue what is going on here. Any help would be appreciated. Stan Shore -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20080401/feb1161e/attachment.html From bradleyvance at mac.com Wed Apr 2 15:01:59 2008 From: bradleyvance at mac.com (Brad Hawkins) Date: Wed, 2 Apr 2008 12:01:59 -0700 Subject: [typo] Articles feed not working (5.0.3)? Message-ID: I'm new to Typo and excited about using a RoR blogging app, but I'm having trouble getting the articles feed to work (both comments and trackback seem to be working). I've tried both RSS and Atom and I've installed Typo several times, testing it on different blogs, but I always get the same error (500 Internal Server Error). I'm using Bluehost, if that matters. Anyway, here is the error message from the log: Processing XmlController#feed (for 76.91.178.49 at 2008-04-02 12:15:36) [GET] Parameters: {"format"=>"atom10", "action"=>"feed", "type"=>"feed", "controller"=>"xml"} Completed in 0.00160 (625 reqs/sec) | Rendering: 0.00006 (3%) | DB: 0.00000 (0%) | 301 Moved Permanently [http://washabledryink.com/xml/atom10/feed.xml ] Processing ArticlesController#index (for 76.91.178.49 at 2008-04-02 12:15:37) [GET] Session ID: 297c6bfad2bcbca042c813755cc3419e Parameters: {"format"=>"atom", "action"=>"index", "controller"=>"articles"} ActionView::TemplateError (undefined method `name' for nil:NilClass) on line #10 of app/views/articles/_atom_feed.atom.builder: 7: feed.generator "Typo", :uri => "http:// www.typosphere.org", :version => '4.x' 8: 9: atom_feed.each do |value| 10: value.to_atom(feed) 11: end 12: end app/models/article.rb:382:in `atom_author' /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/ active_support/vendor/builder-2.1.2/builder/xmlbase.rb:134:in `call' /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/ active_support/vendor/builder-2.1.2/builder/xmlbase.rb:134:in `_nested_structures' /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/ active_support/vendor/builder-2.1.2/builder/xmlbase.rb:58:in `method_missing' app/models/article.rb:382:in `atom_author' app/models/content.rb:235:in `to_atom' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/ helpers/atom_feed_helper.rb:100:in `entry' /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/ active_support/vendor/builder-2.1.2/builder/xmlbase.rb:134:in `call' /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/ active_support/vendor/builder-2.1.2/builder/xmlbase.rb:134:in `_nested_structures' /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/ active_support/vendor/builder-2.1.2/builder/xmlbase.rb:58:in `method_missing' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/ helpers/atom_feed_helper.rb:87:in `entry' app/models/content.rb:234:in `to_atom' app/views/articles/_atom_feed.atom.builder:10:in `_run_builder_47app47views47articles47_atom_feed46atom46builder' app/views/articles/_atom_feed.atom.builder:9:in `each' app/views/articles/_atom_feed.atom.builder:9:in `_run_builder_47app47views47articles47_atom_feed46atom46builder' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/ helpers/atom_feed_helper.rb:64:in `atom_feed' /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/ active_support/vendor/builder-2.1.2/builder/xmlbase.rb:134:in `call' /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/ active_support/vendor/builder-2.1.2/builder/xmlbase.rb:134:in `_nested_structures' /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/ active_support/vendor/builder-2.1.2/builder/xmlbase.rb:58:in `method_missing' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/ helpers/atom_feed_helper.rb:56:in `atom_feed' app/views/articles/_atom_feed.atom.builder:1:in `_run_builder_47app47views47articles47_atom_feed46atom46builder' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/ base.rb:637:in `send' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/ base.rb:637:in `compile_and_render_template' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/ base.rb:365:in `render_template' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/ base.rb:316:in `render_file' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/ base.rb:331:in `render' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/ partials.rb:120:in `render_partial' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/base.rb:896:in `send!' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/base.rb:896:in `render_with_no_layout' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/layout.rb:270:in `render_without_benchmark' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/benchmarking.rb:51:in `render' /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/benchmarking.rb:51:in `render' app/controllers/articles_controller.rb:29:in `index' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/mime_responds.rb:131:in `call' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/mime_responds.rb:131:in `custom' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/mime_responds.rb:156:in `call' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/mime_responds.rb:156:in `respond' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/mime_responds.rb:150:in `each' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/mime_responds.rb:150:in `respond' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/mime_responds.rb:107:in `respond_to' app/controllers/articles_controller.rb:26:in `index' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/base.rb:1158:in `send' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/base.rb:1158:in `perform_action_without_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:697:in `call_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:725:in `run_before_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:664:in `call' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:664:in `proxy_before_and_after_filter' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:483:in `call' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:483:in `call' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:722:in `run_before_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:695:in `call_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:725:in `run_before_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:664:in `call' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:664:in `proxy_before_and_after_filter' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:483:in `call' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:483:in `call' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:722:in `run_before_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:695:in `call_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:725:in `run_before_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:664:in `call' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:664:in `proxy_before_and_after_filter' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:483:in `call' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:483:in `call' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:722:in `run_before_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:695:in `call_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:689:in `perform_action_without_benchmark' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/benchmarking.rb:68:in `perform_action_without_rescue' /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/benchmarking.rb:68:in `perform_action_without_rescue' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/rescue.rb:199:in `perform_action_without_caching' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/caching.rb:678:in `perform_action' /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/ connection_adapters/abstract/query_cache.rb:33:in `cache' /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/ query_cache.rb:8:in `cache' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/caching.rb:677:in `perform_action' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/base.rb:524:in `send' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/base.rb:524:in `process_without_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:685:in `process_without_session_management_support' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/session_management.rb:123:in `process' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/base.rb:388:in `process' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/dispatcher.rb:171:in `handle_request' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/dispatcher.rb:115:in `dispatch' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/dispatcher.rb:126:in `dispatch_cgi' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/dispatcher.rb:9:in `dispatch' /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb: 101:in `process_request' /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb: 149:in `with_signal_handler' /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:99:in `process_request' /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:77:in `process_each_request' /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:612:in `each_cgi' /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:117:in `session' /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:104:in `each_request' /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:36:in `each' /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609:in `each_cgi' /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:76:in `process_each_request' /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:50:in `process!' /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:24:in `process!' dispatch.fcgi:24 Processing ArticlesController#index (for 76.91.178.49 at 2008-04-02 12:15:37) [GET] Session ID: 297c6bfad2bcbca042c813755cc3419e Parameters: {"format"=>"atom", "action"=>"index", "controller"=>"articles"} ActionController::MissingTemplate (Missing layout ../../themes/ standard_issue/layouts/default in view path /home/pixelfab/rails/ washabledryink/themes/standard_issue/views:/home/pixelfab/rails/ washabledryink/app/views): /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/base.rb:1269:in `assert_existence_of_template_file' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/layout.rb:257:in `render_without_benchmark' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/benchmarking.rb:51:in `render' /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/benchmarking.rb:51:in `render' /app/controllers/application.rb:26:in `rescue_action_in_public' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/rescue.rb:125:in `rescue_action' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/rescue.rb:203:in `perform_action_without_caching' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/caching.rb:678:in `perform_action' /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/ connection_adapters/abstract/query_cache.rb:33:in `cache' /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/ query_cache.rb:8:in `cache' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/caching.rb:677:in `perform_action' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/base.rb:524:in `send' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/base.rb:524:in `process_without_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:685:in `process_without_session_management_support' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/session_management.rb:123:in `process' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/base.rb:388:in `process' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/dispatcher.rb:171:in `handle_request' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/dispatcher.rb:115:in `dispatch' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/dispatcher.rb:126:in `dispatch_cgi' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/dispatcher.rb:9:in `dispatch' /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb: 101:in `process_request' /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb: 149:in `with_signal_handler' /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:99:in `process_request' /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:77:in `process_each_request' /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:612:in `each_cgi' /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:117:in `session' /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:104:in `each_request' /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:36:in `each' /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609:in `each_cgi' /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:76:in `process_each_request' /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:50:in `process!' /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:24:in `process!' dispatch.fcgi:24 /!\ FAILSAFE /!\ Wed Apr 02 12:15:37 -0600 2008 Status: 500 Internal Server Error Missing layout ../../themes/standard_issue/layouts/default in view path /home/pixelfab/rails/washabledryink/themes/standard_issue/views:/ home/pixelfab/rails/washabledryink/app/views /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/base.rb:1269:in `assert_existence_of_template_file' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/layout.rb:257:in `render_without_benchmark' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/benchmarking.rb:51:in `render' /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/benchmarking.rb:51:in `render' /home/pixelfab/rails/washabledryink/app/controllers/ application.rb:26:in `rescue_action_in_public' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/rescue.rb:125:in `rescue_action' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/rescue.rb:203:in `perform_action_without_caching' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/caching.rb:678:in `perform_action' /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/ connection_adapters/abstract/query_cache.rb:33:in `cache' /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/ query_cache.rb:8:in `cache' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/caching.rb:677:in `perform_action' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/base.rb:524:in `send' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/base.rb:524:in `process_without_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:685:in `process_without_session_management_support' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/session_management.rb:123:in `process' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/base.rb:388:in `process' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/dispatcher.rb:171:in `handle_request' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/dispatcher.rb:115:in `dispatch' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/dispatcher.rb:126:in `dispatch_cgi' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/dispatcher.rb:9:in `dispatch' /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb: 101:in `process_request' /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb: 149:in `with_signal_handler' /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:99:in `process_request' /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:77:in `process_each_request' /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:612:in `each_cgi' /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:117:in `session' /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:104:in `each_request' /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:36:in `each' /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609:in `each_cgi' /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:76:in `process_each_request' /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:50:in `process!' /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:24:in `process!' dispatch.fcgi:24 From michel at jkl5group.com Thu Apr 3 09:38:33 2008 From: michel at jkl5group.com (mvaillancourt@odesk.com) Date: Thu, 03 Apr 2008 08:38:33 -0500 Subject: [typo] Typo New User Message-ID: <47F4DDD9.6060704@jkl5group.com> Greetings to the list! Firstly, thank very much to the devs for a fun piece of software. I'm enjoying using Typo a great deal. I love the management interface; kudos for that. My new blog is at http://blog.jkl5group.com/ Its an Apache 2.2 box with mod_proxy kicking back to mongrel running on the default port of 4820. With my new 5.0.3 install, I am seeing one bizzare bit of behavior I am hoping someone can help me with. I haven't found anything on the web about it, so I'm not sure what is going on. Every once in a while, when I post to my blog all of the article and category links suddenly stop working. I have to stop typo and then restart it after a minute or two and then everything is back to working. Any ideas what might be going on? -- --Michel R Vaillancourt JKL-5 Telephony Services "The center of your telephony service needs" Phone: +1.514.907.9429 eMail: support at jkl5group.com World Wide Web: http://www.jkl5group.com/support -------------- next part -------------- A non-text attachment was scrubbed... Name: michel.vcf Type: text/x-vcard Size: 234 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20080403/fffc1bdd/attachment.vcf From frederic at de-villamil.com Thu Apr 3 10:04:53 2008 From: frederic at de-villamil.com (Frederic de Villamil) Date: Thu, 3 Apr 2008 16:04:53 +0200 Subject: [typo] Typo New User In-Reply-To: <47F4DDD9.6060704@jkl5group.com> References: <47F4DDD9.6060704@jkl5group.com> Message-ID: <29CB2331-9C8F-46EA-83F5-74B13C06D1F7@de-villamil.com> Le 3 avr. 08 ? 15:38, mvaillancourt at odesk.com a ?crit : > Greetings to the list! > > Firstly, thank very much to the devs for a fun piece of software. > I'm enjoying using Typo a great deal. I love the management > interface; kudos for that. > > My new blog is at http://blog.jkl5group.com/ Its an Apache 2.2 box > with mod_proxy kicking back to mongrel running on the default port > of 4820. > > With my new 5.0.3 install, I am seeing one bizzare bit of behavior I > am hoping someone can help me with. I haven't found anything on the > web about it, so I'm not sure what is going on. Every once in a > while, when I post to my blog all of the article and category links > suddenly stop working. I have to stop typo and then restart it > after a minute or two and then everything is back to working. Any > ideas what might be going on? > Hello, can you please send me your logs when it happens please, as I never seen anything related t that bug before. Thank you very much, Fr?d?ric -- Fr?d?ric de Villamil frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://fredericdevillamil.com Typo : http://typosphere.org From frederic at de-villamil.com Thu Apr 3 10:14:25 2008 From: frederic at de-villamil.com (Frederic de Villamil) Date: Thu, 3 Apr 2008 16:14:25 +0200 Subject: [typo] Articles feed not working (5.0.3)? In-Reply-To: References: Message-ID: <033C4604-D095-4C9F-A1E4-2D5A2386E9DA@de-villamil.com> Le 2 avr. 08 ? 21:01, Brad Hawkins a ?crit : > I'm new to Typo and excited about using a RoR blogging app, but I'm > having trouble getting the articles feed to work (both comments and > trackback seem to be working). I've tried both RSS and Atom and I've > installed Typo several times, testing it on different blogs, but I > always get the same error (500 Internal Server Error). I'm using > Bluehost, if that matters. Anyway, here is the error message from the > log: > > > > Processing XmlController#feed (for 76.91.178.49 at 2008-04-02 > 12:15:36) [GET] > Parameters: {"format"=>"atom10", "action"=>"feed", "type"=>"feed", > "controller"=>"xml"} > Completed in 0.00160 (625 reqs/sec) | Rendering: 0.00006 (3%) | DB: > 0.00000 (0%) | 301 Moved Permanently [http://washabledryink.com/xml/atom10/feed.xml > ] > > > Processing ArticlesController#index (for 76.91.178.49 at 2008-04-02 > 12:15:37) [GET] > Session ID: 297c6bfad2bcbca042c813755cc3419e > Parameters: {"format"=>"atom", "action"=>"index", > "controller"=>"articles"} > > > ActionView::TemplateError (undefined method `name' for nil:NilClass) > on line #10 of app/views/articles/_atom_feed.atom.builder: > 7: feed.generator "Typo", :uri => "http:// > www.typosphere.org", :version => '4.x' > 8: > 9: atom_feed.each do |value| > 10: value.to_atom(feed) > 11: end > 12: end > > Hello, Works for me on every installs I run. What does http://washabelydrink.com/articles.rss tell you ? Best regards Fr?d?ric -- Fr?d?ric de Villamil frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://fredericdevillamil.com Typo : http://typosphere.org From bradleyvance at mac.com Thu Apr 3 14:32:31 2008 From: bradleyvance at mac.com (Brad Hawkins) Date: Thu, 3 Apr 2008 11:32:31 -0700 Subject: [typo] Articles feed not working (5.0.3)? In-Reply-To: <033C4604-D095-4C9F-A1E4-2D5A2386E9DA@de-villamil.com> References: <033C4604-D095-4C9F-A1E4-2D5A2386E9DA@de-villamil.com> Message-ID: <7184BB33-14C9-453B-A04F-1B9423116F45@mac.com> On Apr 3, 2008, at 7:14 AM, Frederic de Villamil wrote: > Le 2 avr. 08 ? 21:01, Brad Hawkins a ?crit : > >> I'm new to Typo and excited about using a RoR blogging app, but I'm >> having trouble getting the articles feed to work (both comments and >> trackback seem to be working). I've tried both RSS and Atom and I've >> installed Typo several times, testing it on different blogs, but I >> always get the same error (500 Internal Server Error). I'm using >> Bluehost, if that matters. Anyway, here is the error message from the >> log: >> >> >> >> Processing XmlController#feed (for 76.91.178.49 at 2008-04-02 >> 12:15:36) [GET] >> Parameters: {"format"=>"atom10", "action"=>"feed", "type"=>"feed", >> "controller"=>"xml"} >> Completed in 0.00160 (625 reqs/sec) | Rendering: 0.00006 (3%) | DB: >> 0.00000 (0%) | 301 Moved Permanently [http://washabledryink.com/xml/atom10/feed.xml >> ] >> >> >> Processing ArticlesController#index (for 76.91.178.49 at 2008-04-02 >> 12:15:37) [GET] >> Session ID: 297c6bfad2bcbca042c813755cc3419e >> Parameters: {"format"=>"atom", "action"=>"index", >> "controller"=>"articles"} >> >> >> ActionView::TemplateError (undefined method `name' for nil:NilClass) >> on line #10 of app/views/articles/_atom_feed.atom.builder: >> 7: feed.generator "Typo", :uri => "http:// >> www.typosphere.org", :version => '4.x' >> 8: >> 9: atom_feed.each do |value| >> 10: value.to_atom(feed) >> 11: end >> 12: end >> >> > > Hello, > > Works for me on every installs I run. What does http://washabelydrink.com/articles.rss > tell you ? > > Best regards > Fr?d?ric > > -- > Fr?d?ric de Villamil > frederic at de-villamil.com tel: +33 (0)6 62 19 > 1337 > http://fredericdevillamil.com Typo : http://typosphere.org > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list I tried running the /article.rss and when I'm in production mode I get the 500 Internal Server Error, but when I switch over to development mode I get this error message: Showing app/views/articles/_rss20_feed.rss.builder where line #14 raised: You have a nil object when you didn't expect it! The error occurred while evaluating nil.email Extracted source (around line #14): 11: xml.description this_blog.blog_subtitle 12: 13: rss20_feed.each do |value| 14: value.to_rss(xml) 15: end 16: end 17: end And if I switch it over to Atom 1.0, this is what I get: Showing app/views/articles/_atom_feed.atom.builder where line #10 raised: You have a nil object when you didn't expect it! The error occurred while evaluating nil.name Extracted source (around line #10): 7: feed.generator "Typo", :uri => "http:// www.typosphere.org", :version => '4.x' 8: 9: atom_feed.each do |value| 10: value.to_atom(feed) 11: end 12: end Thanks for your help! Hopefully one day I'll be more knowledgeable and return the favor to others! Brad PS - the site is running in development mode if you want to see the error messages yourself - www.washabledryink.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20080403/77734d2e/attachment.html From mike at carneyweb.com Fri Apr 4 06:58:33 2008 From: mike at carneyweb.com (Michael Carney) Date: Fri, 4 Apr 2008 06:58:33 -0400 Subject: [typo] Bug? Blog categories and external editors... Message-ID: <0325449F-F11C-448F-8D87-E3CADFD891C2@carneyweb.com> Hello everyone. I just noticed another behavior. If I change the categories of a blog post using an external editor, they are only additive. By that I mean that if I deselect a category and select another one, when I update the post through the web service, the deselected category continues to be associated with the post on the web site. If I go to the manage section in the admin interface and edit the post there deselecting the category, it works as expected. Does anyone know a fix for this? Any help is appreciated. Thanks. - Mike. From mike at carneyweb.com Fri Apr 4 06:59:14 2008 From: mike at carneyweb.com (Michael Carney) Date: Fri, 4 Apr 2008 06:59:14 -0400 Subject: [typo] Bug? Blog post doesn't clear front page cache? Message-ID: <99EFA602-25D7-473B-AF32-3CA9091C4400@carneyweb.com> Hello everyone. Sorry if this gets to the list twice. I just realized that I sent it with a different email address than the one that signed up with. I just noticed a behavior that I think is a bug. When make a blog post using the web service with an external editor that home page cache isn't cleared and the blog post isn't displayed. I'll poke around a bit and see if I can figure out a fix, but if anyone else knows of a fix, I'd appreciate it :-) - Mike. From rando at levitated.org Sun Apr 6 15:14:42 2008 From: rando at levitated.org (Randy Shepherd) Date: Sun, 06 Apr 2008 15:14:42 -0400 Subject: [typo] Trouble starting up Typo 5.0.3 on Bluehost Message-ID: <47F92122.7070604@levitated.org> I installed Typo 5.0.3 as per the instructions found at http://bartgdev.com/articles/2006/08/07/installing-typo-on-bluehost In a nutshell: 1) wgot the tar, unpacked it under ~/ruby/typo 2) Created a symlink from my public_html dir to the typo install dir 3) Set up the db, updated my database.yml 4) Configured my environment.rb and .htaccess to production 5) Installed a couple extra gems; theme-support and theme-generator. 6) Ran public/dispatch.fcgi from my app root, which displays... Liquid doesn't seem to be loaded... uninitialized constant Liquid Status: 500 Internal Server Error Content-Type: text/html

500 Internal Server Error

levitat1 at levitated.org [~/ruby/typo-5.0.3]# --- I get the following error in my log (The nil:NilClass is a reference to a var called "this_blog" on both traces.): # Logfile created on Sun Apr 06 12:47:41 -0600 2008 Processing ArticlesController#index (for at 2008-04-06 12:48:20) [GET] Parameters: {"action"=>"index", "controller"=>"articles"} NoMethodError (undefined method `lang' for nil:NilClass): /app/controllers/application.rb:46:in `load_lang' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:469:in `send!' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:469:in `call' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:441:in `run' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:716:in `run_before_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:695:in `call_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:689:in `perform_action_without_benchmark' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/rescue.rb:199:in `perform_action_without_caching' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:678:in `perform_action' /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache' /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/query_cache.rb:8:in `cache' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:677:in `perform_action' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `send' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `process_without_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:685:in `process_without_session_management_support' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/session_management.rb:123:in `process' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:388:in `process' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:171:in `handle_request' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:101:in `process_request' /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:149:in `with_signal_handler' /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:99:in `process_request' /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:77:in `process_each_request' /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:606:in `each_cgi' /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:76:in `process_each_request' /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:50:in `process!' /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:24:in `process!' public/dispatch.fcgi:24 Processing ArticlesController#index (for at 2008-04-06 12:48:20) [GET] Parameters: {"action"=>"index", "controller"=>"articles"} NoMethodError (undefined method `current_theme' for nil:NilClass): /app/controllers/content_controller.rb:60:in `theme_layout' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/layout.rb:236:in `send!' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/layout.rb:236:in `active_layout' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/layout.rb:293:in `pick_layout' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/layout.rb:256:in `render_without_benchmark' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:51:in `render' /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:51:in `render' /app/controllers/application.rb:26:in `rescue_action_in_public' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/rescue.rb:125:in `rescue_action' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/rescue.rb:203:in `perform_action_without_caching' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:678:in `perform_action' /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache' "./production.log" 118 lines, 10170 characters Anyone see this issue, or have any idea of what's going on? It seems like "this_blog" is not being initialized on start-up, but I haven't the slightest idea why. Also, I have no idea what the message "Liquid doesn't seem to be loaded... uninitialized constant Liquid"...any ideas on this? I have googled around but cannot find any good leads. Any and all help is greatly appreciated. Thanks! Randy From bradleyvance at mac.com Sun Apr 6 15:28:59 2008 From: bradleyvance at mac.com (Brad Hawkins) Date: Sun, 6 Apr 2008 12:28:59 -0700 Subject: [typo] Trouble starting up Typo 5.0.3 on Bluehost In-Reply-To: <47F92122.7070604@levitated.org> References: <47F92122.7070604@levitated.org> Message-ID: Did you add: AddHandler fcgid-script .fcgi to your .htaccess file in your public folder? The standard: AddHandler fastcgi-script .fcgi doesn't seem to work with bluehost. On Apr 6, 2008, at 12:14 PM, Randy Shepherd wrote: > I installed Typo 5.0.3 as per the instructions found at > http://bartgdev.com/articles/2006/08/07/installing-typo-on-bluehost > > In a nutshell: > 1) wgot the tar, unpacked it under ~/ruby/typo > 2) Created a symlink from my public_html dir to the typo install dir > 3) Set up the db, updated my database.yml > 4) Configured my environment.rb and .htaccess to production > 5) Installed a couple extra gems; theme-support and theme-generator. > 6) Ran public/dispatch.fcgi from my app root, which displays... > > Liquid doesn't seem to be loaded... uninitialized constant Liquid > Status: 500 Internal Server Error > Content-Type: text/html > >

500 Internal Server > Error

levitat1 at levitated.org [~/ruby/typo-5.0.3]# > > --- > > I get the following error in my log (The nil:NilClass is a reference > to > a var called "this_blog" on both traces.): > > # Logfile created on Sun Apr 06 12:47:41 -0600 2008 > > Processing ArticlesController#index (for at 2008-04-06 12:48:20) [GET] > Parameters: {"action"=>"index", "controller"=>"articles"} > > NoMethodError (undefined method `lang' for nil:NilClass): > /app/controllers/application.rb:46:in `load_lang' > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ > filters.rb:469:in > `send!' > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ > filters.rb:469:in > `call' > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ > filters.rb:441:in > `run' > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ > filters.rb:716:in > `run_before_filters' > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ > filters.rb:695:in > `call_filters' > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ > filters.rb:689:in > `perform_action_without_benchmark' > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ > benchmarking.rb:68:in > `perform_action_without_rescue' > /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ > benchmarking.rb:68:in > `perform_action_without_rescue' > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ > rescue.rb:199:in > `perform_action_without_caching' > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ > caching.rb:678:in > `perform_action' > /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/ > connection_adapters/abstract/query_cache.rb:33:in > `cache' > /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/ > query_cache.rb:8:in > `cache' > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ > caching.rb:677:in > `perform_action' > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ > base.rb:524:in > `send' > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ > base.rb:524:in > `process_without_filters' > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ > filters.rb:685:in > `process_without_session_management_support' > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ > session_management.rb:123:in > `process' > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ > base.rb:388:in > `process' > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ > dispatcher.rb:171:in > `handle_request' > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ > dispatcher.rb:115:in > `dispatch' > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ > dispatcher.rb:126:in > `dispatch_cgi' > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ > dispatcher.rb:9:in > `dispatch' > /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:101:in > `process_request' > /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:149:in > `with_signal_handler' > /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:99:in > `process_request' > /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:77:in > `process_each_request' > /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:606:in `each_cgi' > /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:76:in > `process_each_request' > /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:50:in > `process!' > /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:24:in > `process!' > public/dispatch.fcgi:24 > > > > Processing ArticlesController#index (for at 2008-04-06 12:48:20) [GET] > Parameters: {"action"=>"index", "controller"=>"articles"} > > > NoMethodError (undefined method `current_theme' for nil:NilClass): > /app/controllers/content_controller.rb:60:in `theme_layout' > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ > layout.rb:236:in > `send!' > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ > layout.rb:236:in > `active_layout' > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ > layout.rb:293:in > `pick_layout' > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ > layout.rb:256:in > `render_without_benchmark' > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ > benchmarking.rb:51:in > `render' > /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ > benchmarking.rb:51:in > `render' > /app/controllers/application.rb:26:in `rescue_action_in_public' > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ > rescue.rb:125:in > `rescue_action' > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ > rescue.rb:203:in > `perform_action_without_caching' > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ > caching.rb:678:in > `perform_action' > /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/ > connection_adapters/abstract/query_cache.rb:33:in > `cache' > "./production.log" 118 lines, 10170 characters > > > Anyone see this issue, or have any idea of what's going on? It seems > like "this_blog" is not being initialized on start-up, but I haven't > the > slightest idea why. Also, I have no idea what the message "Liquid > doesn't seem to be loaded... uninitialized constant Liquid"...any > ideas > on this? > > I have googled around but cannot find any good leads. Any and all help > is greatly appreciated. > > Thanks! > Randy > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From rando at levitated.org Sun Apr 6 15:39:19 2008 From: rando at levitated.org (Randy Shepherd) Date: Sun, 06 Apr 2008 15:39:19 -0400 Subject: [typo] Trouble starting up Typo 5.0.3 on Bluehost In-Reply-To: References: <47F92122.7070604@levitated.org> Message-ID: <47F926E7.9020602@levitated.org> Brad, thank you very much for your prompt reply. I just made the tweak you suggested, but it seems to have no effect. What follows is my .htaccess file: # General Apache options #AddHandler fastcgi-script .fcgi AddHandler fcgid-script .fcgi AddHandler cgi-script .cgi #Options +FollowSymLinks +ExecCGI SetEnv RAILS_ENV production # If you don't want Rails to look in certain directories, # use the following rewrite rules so that Apache won't rewrite certain requests # # Example: # RewriteCond %{REQUEST_URI} ^/notrails.* # RewriteRule .* - [L] # Redirect all requests not available on the filesystem to Rails RewriteEngine On # If Typo is accessed via an Alias directive, then you MUST also set # the RewriteBase in this htaccess file. # # Example: # Alias /blog /path/to/typo/public # RewriteBase /blog RewriteRule ^$ index.html [QSA] RewriteRule ^([^.]+)/!$ $1.html [QSA] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] # In case Typo experiences terminal errors # Instead of displaying this message you can supply a file here which will be rendered instead # # Example: # ErrorDocument 500 /500.html ErrorDocument 500 "

Application error

Typo failed to start properly" Brad Hawkins wrote: > Did you add: > > AddHandler fcgid-script .fcgi > > to your .htaccess file in your public folder? > > The standard: > > AddHandler fastcgi-script .fcgi > > doesn't seem to work with bluehost. > > > On Apr 6, 2008, at 12:14 PM, Randy Shepherd wrote: > > >> I installed Typo 5.0.3 as per the instructions found at >> http://bartgdev.com/articles/2006/08/07/installing-typo-on-bluehost >> >> In a nutshell: >> 1) wgot the tar, unpacked it under ~/ruby/typo >> 2) Created a symlink from my public_html dir to the typo install dir >> 3) Set up the db, updated my database.yml >> 4) Configured my environment.rb and .htaccess to production >> 5) Installed a couple extra gems; theme-support and theme-generator. >> 6) Ran public/dispatch.fcgi from my app root, which displays... >> >> Liquid doesn't seem to be loaded... uninitialized constant Liquid >> Status: 500 Internal Server Error >> Content-Type: text/html >> >>

500 Internal Server >> Error

levitat1 at levitated.org [~/ruby/typo-5.0.3]# >> >> --- >> >> I get the following error in my log (The nil:NilClass is a reference >> to >> a var called "this_blog" on both traces.): >> >> # Logfile created on Sun Apr 06 12:47:41 -0600 2008 >> >> Processing ArticlesController#index (for at 2008-04-06 12:48:20) [GET] >> Parameters: {"action"=>"index", "controller"=>"articles"} >> >> NoMethodError (undefined method `lang' for nil:NilClass): >> /app/controllers/application.rb:46:in `load_lang' >> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >> filters.rb:469:in >> `send!' >> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >> filters.rb:469:in >> `call' >> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >> filters.rb:441:in >> `run' >> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >> filters.rb:716:in >> `run_before_filters' >> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >> filters.rb:695:in >> `call_filters' >> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >> filters.rb:689:in >> `perform_action_without_benchmark' >> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >> benchmarking.rb:68:in >> `perform_action_without_rescue' >> /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' >> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >> benchmarking.rb:68:in >> `perform_action_without_rescue' >> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >> rescue.rb:199:in >> `perform_action_without_caching' >> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >> caching.rb:678:in >> `perform_action' >> /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/ >> connection_adapters/abstract/query_cache.rb:33:in >> `cache' >> /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/ >> query_cache.rb:8:in >> `cache' >> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >> caching.rb:677:in >> `perform_action' >> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >> base.rb:524:in >> `send' >> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >> base.rb:524:in >> `process_without_filters' >> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >> filters.rb:685:in >> `process_without_session_management_support' >> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >> session_management.rb:123:in >> `process' >> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >> base.rb:388:in >> `process' >> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >> dispatcher.rb:171:in >> `handle_request' >> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >> dispatcher.rb:115:in >> `dispatch' >> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >> dispatcher.rb:126:in >> `dispatch_cgi' >> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >> dispatcher.rb:9:in >> `dispatch' >> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:101:in >> `process_request' >> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:149:in >> `with_signal_handler' >> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:99:in >> `process_request' >> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:77:in >> `process_each_request' >> /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:606:in `each_cgi' >> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:76:in >> `process_each_request' >> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:50:in >> `process!' >> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:24:in >> `process!' >> public/dispatch.fcgi:24 >> >> >> >> Processing ArticlesController#index (for at 2008-04-06 12:48:20) [GET] >> Parameters: {"action"=>"index", "controller"=>"articles"} >> >> >> NoMethodError (undefined method `current_theme' for nil:NilClass): >> /app/controllers/content_controller.rb:60:in `theme_layout' >> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >> layout.rb:236:in >> `send!' >> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >> layout.rb:236:in >> `active_layout' >> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >> layout.rb:293:in >> `pick_layout' >> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >> layout.rb:256:in >> `render_without_benchmark' >> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >> benchmarking.rb:51:in >> `render' >> /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' >> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >> benchmarking.rb:51:in >> `render' >> /app/controllers/application.rb:26:in `rescue_action_in_public' >> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >> rescue.rb:125:in >> `rescue_action' >> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >> rescue.rb:203:in >> `perform_action_without_caching' >> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >> caching.rb:678:in >> `perform_action' >> /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/ >> connection_adapters/abstract/query_cache.rb:33:in >> `cache' >> "./production.log" 118 lines, 10170 characters >> >> >> Anyone see this issue, or have any idea of what's going on? It seems >> like "this_blog" is not being initialized on start-up, but I haven't >> the >> slightest idea why. Also, I have no idea what the message "Liquid >> doesn't seem to be loaded... uninitialized constant Liquid"...any >> ideas >> on this? >> >> I have googled around but cannot find any good leads. Any and all help >> is greatly appreciated. >> >> Thanks! >> Randy >> _______________________________________________ >> 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 > > From bradleyvance at mac.com Sun Apr 6 15:47:43 2008 From: bradleyvance at mac.com (Brad Hawkins) Date: Sun, 6 Apr 2008 12:47:43 -0700 Subject: [typo] Trouble starting up Typo 5.0.3 on Bluehost In-Reply-To: <47F926E7.9020602@levitated.org> References: <47F92122.7070604@levitated.org> <47F926E7.9020602@levitated.org> Message-ID: <304AF0BA-A96D-4F6C-B269-90E206BF7807@mac.com> Now you might need to run: chmod -R 775 ~/path/to/typo/public On Apr 6, 2008, at 12:39 PM, Randy Shepherd wrote: > Brad, thank you very much for your prompt reply. I just made the tweak > you suggested, but it seems to have no effect. What follows is my > .htaccess file: > > # General Apache options > #AddHandler fastcgi-script .fcgi > AddHandler fcgid-script .fcgi > AddHandler cgi-script .cgi > #Options +FollowSymLinks +ExecCGI > SetEnv RAILS_ENV production > > # If you don't want Rails to look in certain directories, > # use the following rewrite rules so that Apache won't rewrite certain > requests > # > # Example: > # RewriteCond %{REQUEST_URI} ^/notrails.* > # RewriteRule .* - [L] > > # Redirect all requests not available on the filesystem to Rails > RewriteEngine On > > # If Typo is accessed via an Alias directive, then you MUST also set > # the RewriteBase in this htaccess file. > # > # Example: > # Alias /blog /path/to/typo/public > # RewriteBase /blog > > RewriteRule ^$ index.html [QSA] > RewriteRule ^([^.]+)/!$ $1.html [QSA] > RewriteCond %{REQUEST_FILENAME} !-f > RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] > > # In case Typo experiences terminal errors > # Instead of displaying this message you can supply a file here which > will be rendered instead > # > # Example: > # ErrorDocument 500 /500.html > > ErrorDocument 500 "

Application error

Typo failed to start > properly" > > > Brad Hawkins wrote: >> Did you add: >> >> AddHandler fcgid-script .fcgi >> >> to your .htaccess file in your public folder? >> >> The standard: >> >> AddHandler fastcgi-script .fcgi >> >> doesn't seem to work with bluehost. >> >> >> On Apr 6, 2008, at 12:14 PM, Randy Shepherd wrote: >> >> >>> I installed Typo 5.0.3 as per the instructions found at >>> http://bartgdev.com/articles/2006/08/07/installing-typo-on-bluehost >>> >>> In a nutshell: >>> 1) wgot the tar, unpacked it under ~/ruby/typo >>> 2) Created a symlink from my public_html dir to the typo install dir >>> 3) Set up the db, updated my database.yml >>> 4) Configured my environment.rb and .htaccess to production >>> 5) Installed a couple extra gems; theme-support and theme-generator. >>> 6) Ran public/dispatch.fcgi from my app root, which displays... >>> >>> Liquid doesn't seem to be loaded... uninitialized constant Liquid >>> Status: 500 Internal Server Error >>> Content-Type: text/html >>> >>>

500 Internal Server >>> Error

levitat1 at levitated.org [~/ruby/typo-5.0.3]# >>> >>> --- >>> >>> I get the following error in my log (The nil:NilClass is a reference >>> to >>> a var called "this_blog" on both traces.): >>> >>> # Logfile created on Sun Apr 06 12:47:41 -0600 2008 >>> >>> Processing ArticlesController#index (for at 2008-04-06 12:48:20) >>> [GET] >>> Parameters: {"action"=>"index", "controller"=>"articles"} >>> >>> NoMethodError (undefined method `lang' for nil:NilClass): >>> /app/controllers/application.rb:46:in `load_lang' >>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>> filters.rb:469:in >>> `send!' >>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>> filters.rb:469:in >>> `call' >>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>> filters.rb:441:in >>> `run' >>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>> filters.rb:716:in >>> `run_before_filters' >>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>> filters.rb:695:in >>> `call_filters' >>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>> filters.rb:689:in >>> `perform_action_without_benchmark' >>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>> benchmarking.rb:68:in >>> `perform_action_without_rescue' >>> /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' >>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>> benchmarking.rb:68:in >>> `perform_action_without_rescue' >>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>> rescue.rb:199:in >>> `perform_action_without_caching' >>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>> caching.rb:678:in >>> `perform_action' >>> /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/ >>> connection_adapters/abstract/query_cache.rb:33:in >>> `cache' >>> /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/ >>> query_cache.rb:8:in >>> `cache' >>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>> caching.rb:677:in >>> `perform_action' >>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>> base.rb:524:in >>> `send' >>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>> base.rb:524:in >>> `process_without_filters' >>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>> filters.rb:685:in >>> `process_without_session_management_support' >>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>> session_management.rb:123:in >>> `process' >>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>> base.rb:388:in >>> `process' >>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>> dispatcher.rb:171:in >>> `handle_request' >>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>> dispatcher.rb:115:in >>> `dispatch' >>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>> dispatcher.rb:126:in >>> `dispatch_cgi' >>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>> dispatcher.rb:9:in >>> `dispatch' >>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:101:in >>> `process_request' >>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:149:in >>> `with_signal_handler' >>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:99:in >>> `process_request' >>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:77:in >>> `process_each_request' >>> /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:606:in `each_cgi' >>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:76:in >>> `process_each_request' >>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:50:in >>> `process!' >>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:24:in >>> `process!' >>> public/dispatch.fcgi:24 >>> >>> >>> >>> Processing ArticlesController#index (for at 2008-04-06 12:48:20) >>> [GET] >>> Parameters: {"action"=>"index", "controller"=>"articles"} >>> >>> >>> NoMethodError (undefined method `current_theme' for nil:NilClass): >>> /app/controllers/content_controller.rb:60:in `theme_layout' >>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>> layout.rb:236:in >>> `send!' >>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>> layout.rb:236:in >>> `active_layout' >>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>> layout.rb:293:in >>> `pick_layout' >>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>> layout.rb:256:in >>> `render_without_benchmark' >>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>> benchmarking.rb:51:in >>> `render' >>> /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' >>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>> benchmarking.rb:51:in >>> `render' >>> /app/controllers/application.rb:26:in `rescue_action_in_public' >>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>> rescue.rb:125:in >>> `rescue_action' >>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>> rescue.rb:203:in >>> `perform_action_without_caching' >>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>> caching.rb:678:in >>> `perform_action' >>> /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/ >>> connection_adapters/abstract/query_cache.rb:33:in >>> `cache' >>> "./production.log" 118 lines, 10170 characters >>> >>> >>> Anyone see this issue, or have any idea of what's going on? It seems >>> like "this_blog" is not being initialized on start-up, but I haven't >>> the >>> slightest idea why. Also, I have no idea what the message "Liquid >>> doesn't seem to be loaded... uninitialized constant Liquid"...any >>> ideas >>> on this? >>> >>> I have googled around but cannot find any good leads. Any and all >>> help >>> is greatly appreciated. >>> >>> Thanks! >>> Randy >>> _______________________________________________ >>> 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 >> >> > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From rando at levitated.org Sun Apr 6 16:06:55 2008 From: rando at levitated.org (Randy Shepherd) Date: Sun, 06 Apr 2008 16:06:55 -0400 Subject: [typo] Trouble starting up Typo 5.0.3 on Bluehost In-Reply-To: <304AF0BA-A96D-4F6C-B269-90E206BF7807@mac.com> References: <47F92122.7070604@levitated.org> <47F926E7.9020602@levitated.org> <304AF0BA-A96D-4F6C-B269-90E206BF7807@mac.com> Message-ID: <47F92D5F.6090704@levitated.org> Thanks again. I had tried that as well, I changed the perms on typo/public and typo/log. I was able to get typo running in under 10 minutes on my local machine, I am wondering if it some sort of gem version compatibility issue? x at x.org [~/ruby/typo-5.0.3]# ruby -v ruby 1.8.6 (2007-09-23 patchlevel 110) [x86_64-linux] x at x.org [~/ruby/typo-5.0.3]# rails -v Rails 2.0.2 x at x.org [~/ruby/typo-5.0.3]# gem -v 1.0.1 x at x.org [~/ruby/typo-5.0.3]# gem list *** LOCAL GEMS *** actionmailer (2.0.2, 1.3.6, 1.2.5) actionpack (2.0.2, 1.13.6, 1.12.5) actionwebservice (1.2.6, 1.1.6) activerecord (2.0.2, 1.15.6, 1.14.4) activeresource (2.0.2) activesupport (2.0.2, 1.4.4, 1.4.0, 1.3.1) cgi_multipart_eof_fix (2.5.0) daemons (1.0.9, 1.0.2) fastthread (1.0.1) fcgi (0.8.7) gem_plugin (0.2.3, 0.2.1) login_generator (1.2.2) mongrel (1.1.3, 0.3.13.4) mongrel_cluster (1.0.5) mysql (2.7) rails (2.0.2, 1.2.6, 1.1.6) rake (0.8.1, 0.7.1) RedCloth (3.0.4) rmagick (1.15.13, 1.15.12) sources (0.0.1) sqlite3-ruby (1.2.1) theme_generator (1.3.0) tzinfo (0.3.3) Brad Hawkins wrote: > Now you might need to run: > > chmod -R 775 ~/path/to/typo/public > > > > > On Apr 6, 2008, at 12:39 PM, Randy Shepherd wrote: > > >> Brad, thank you very much for your prompt reply. I just made the tweak >> you suggested, but it seems to have no effect. What follows is my >> .htaccess file: >> >> # General Apache options >> #AddHandler fastcgi-script .fcgi >> AddHandler fcgid-script .fcgi >> AddHandler cgi-script .cgi >> #Options +FollowSymLinks +ExecCGI >> SetEnv RAILS_ENV production >> >> # If you don't want Rails to look in certain directories, >> # use the following rewrite rules so that Apache won't rewrite certain >> requests >> # >> # Example: >> # RewriteCond %{REQUEST_URI} ^/notrails.* >> # RewriteRule .* - [L] >> >> # Redirect all requests not available on the filesystem to Rails >> RewriteEngine On >> >> # If Typo is accessed via an Alias directive, then you MUST also set >> # the RewriteBase in this htaccess file. >> # >> # Example: >> # Alias /blog /path/to/typo/public >> # RewriteBase /blog >> >> RewriteRule ^$ index.html [QSA] >> RewriteRule ^([^.]+)/!$ $1.html [QSA] >> RewriteCond %{REQUEST_FILENAME} !-f >> RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] >> >> # In case Typo experiences terminal errors >> # Instead of displaying this message you can supply a file here which >> will be rendered instead >> # >> # Example: >> # ErrorDocument 500 /500.html >> >> ErrorDocument 500 "

Application error

Typo failed to start >> properly" >> >> >> Brad Hawkins wrote: >> >>> Did you add: >>> >>> AddHandler fcgid-script .fcgi >>> >>> to your .htaccess file in your public folder? >>> >>> The standard: >>> >>> AddHandler fastcgi-script .fcgi >>> >>> doesn't seem to work with bluehost. >>> >>> >>> On Apr 6, 2008, at 12:14 PM, Randy Shepherd wrote: >>> >>> >>> >>>> I installed Typo 5.0.3 as per the instructions found at >>>> http://bartgdev.com/articles/2006/08/07/installing-typo-on-bluehost >>>> >>>> In a nutshell: >>>> 1) wgot the tar, unpacked it under ~/ruby/typo >>>> 2) Created a symlink from my public_html dir to the typo install dir >>>> 3) Set up the db, updated my database.yml >>>> 4) Configured my environment.rb and .htaccess to production >>>> 5) Installed a couple extra gems; theme-support and theme-generator. >>>> 6) Ran public/dispatch.fcgi from my app root, which displays... >>>> >>>> Liquid doesn't seem to be loaded... uninitialized constant Liquid >>>> Status: 500 Internal Server Error >>>> Content-Type: text/html >>>> >>>>

500 Internal Server >>>> Error

levitat1 at levitated.org [~/ruby/typo-5.0.3]# >>>> >>>> --- >>>> >>>> I get the following error in my log (The nil:NilClass is a reference >>>> to >>>> a var called "this_blog" on both traces.): >>>> >>>> # Logfile created on Sun Apr 06 12:47:41 -0600 2008 >>>> >>>> Processing ArticlesController#index (for at 2008-04-06 12:48:20) >>>> [GET] >>>> Parameters: {"action"=>"index", "controller"=>"articles"} >>>> >>>> NoMethodError (undefined method `lang' for nil:NilClass): >>>> /app/controllers/application.rb:46:in `load_lang' >>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>>> filters.rb:469:in >>>> `send!' >>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>>> filters.rb:469:in >>>> `call' >>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>>> filters.rb:441:in >>>> `run' >>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>>> filters.rb:716:in >>>> `run_before_filters' >>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>>> filters.rb:695:in >>>> `call_filters' >>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>>> filters.rb:689:in >>>> `perform_action_without_benchmark' >>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>>> benchmarking.rb:68:in >>>> `perform_action_without_rescue' >>>> /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' >>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>>> benchmarking.rb:68:in >>>> `perform_action_without_rescue' >>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>>> rescue.rb:199:in >>>> `perform_action_without_caching' >>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>>> caching.rb:678:in >>>> `perform_action' >>>> /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/ >>>> connection_adapters/abstract/query_cache.rb:33:in >>>> `cache' >>>> /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/ >>>> query_cache.rb:8:in >>>> `cache' >>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>>> caching.rb:677:in >>>> `perform_action' >>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>>> base.rb:524:in >>>> `send' >>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>>> base.rb:524:in >>>> `process_without_filters' >>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>>> filters.rb:685:in >>>> `process_without_session_management_support' >>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>>> session_management.rb:123:in >>>> `process' >>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>>> base.rb:388:in >>>> `process' >>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>>> dispatcher.rb:171:in >>>> `handle_request' >>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>>> dispatcher.rb:115:in >>>> `dispatch' >>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>>> dispatcher.rb:126:in >>>> `dispatch_cgi' >>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>>> dispatcher.rb:9:in >>>> `dispatch' >>>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:101:in >>>> `process_request' >>>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:149:in >>>> `with_signal_handler' >>>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:99:in >>>> `process_request' >>>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:77:in >>>> `process_each_request' >>>> /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:606:in `each_cgi' >>>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:76:in >>>> `process_each_request' >>>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:50:in >>>> `process!' >>>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:24:in >>>> `process!' >>>> public/dispatch.fcgi:24 >>>> >>>> >>>> >>>> Processing ArticlesController#index (for at 2008-04-06 12:48:20) >>>> [GET] >>>> Parameters: {"action"=>"index", "controller"=>"articles"} >>>> >>>> >>>> NoMethodError (undefined method `current_theme' for nil:NilClass): >>>> /app/controllers/content_controller.rb:60:in `theme_layout' >>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>>> layout.rb:236:in >>>> `send!' >>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>>> layout.rb:236:in >>>> `active_layout' >>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>>> layout.rb:293:in >>>> `pick_layout' >>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>>> layout.rb:256:in >>>> `render_without_benchmark' >>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>>> benchmarking.rb:51:in >>>> `render' >>>> /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' >>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>>> benchmarking.rb:51:in >>>> `render' >>>> /app/controllers/application.rb:26:in `rescue_action_in_public' >>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>>> rescue.rb:125:in >>>> `rescue_action' >>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>>> rescue.rb:203:in >>>> `perform_action_without_caching' >>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ >>>> caching.rb:678:in >>>> `perform_action' >>>> /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/ >>>> connection_adapters/abstract/query_cache.rb:33:in >>>> `cache' >>>> "./production.log" 118 lines, 10170 characters >>>> >>>> >>>> Anyone see this issue, or have any idea of what's going on? It seems >>>> like "this_blog" is not being initialized on start-up, but I haven't >>>> the >>>> slightest idea why. Also, I have no idea what the message "Liquid >>>> doesn't seem to be loaded... uninitialized constant Liquid"...any >>>> ideas >>>> on this? >>>> >>>> I have googled around but cannot find any good leads. Any and all >>>> help >>>> is greatly appreciated. >>>> >>>> Thanks! >>>> Randy >>>> _______________________________________________ >>>> 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 >>> >>> >>> >> _______________________________________________ >> 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 > > From bradleyvance at mac.com Sun Apr 6 16:29:56 2008 From: bradleyvance at mac.com (Brad Hawkins) Date: Sun, 6 Apr 2008 13:29:56 -0700 Subject: [typo] Trouble starting up Typo 5.0.3 on Bluehost In-Reply-To: <47F92D5F.6090704@levitated.org> References: <47F92122.7070604@levitated.org> <47F926E7.9020602@levitated.org> <304AF0BA-A96D-4F6C-B269-90E206BF7807@mac.com> <47F92D5F.6090704@levitated.org> Message-ID: <5E87A0F6-DA70-47AA-B05D-36936627915C@mac.com> If you want to install the Typo gem you'll need to edit your .bashrc file (in your root directory), add the following to the end of the file: export PATH="$PATH:$HOME/packages/bin:$HOME/.gems/bin" export GEM_HOME="$HOME/.gems" export GEM_PATH="$GEM_HOME:/usr/lib/ruby/gems/1.8" export GEM_CACHE="$GEM_HOME/cache" Then run from the command line: source ~/.bashrc Then you should be able to install all gems: gem update -y and install the Typo gem: gem install -y typo I've been able to get typo running, but I'm having trouble with the RSS feeds myself, so I'm interested to see if you'll have any better luck! On Apr 6, 2008, at 1:06 PM, Randy Shepherd wrote: > Thanks again. I had tried that as well, I changed the perms on > typo/public and typo/log. I was able to get typo running in under 10 > minutes on my local machine, I am wondering if it some sort of gem > version compatibility issue? > > x at x.org [~/ruby/typo-5.0.3]# ruby -v > ruby 1.8.6 (2007-09-23 patchlevel 110) [x86_64-linux] > x at x.org [~/ruby/typo-5.0.3]# rails -v > Rails 2.0.2 > x at x.org [~/ruby/typo-5.0.3]# gem -v > 1.0.1 > x at x.org [~/ruby/typo-5.0.3]# gem list > > *** LOCAL GEMS *** > > actionmailer (2.0.2, 1.3.6, 1.2.5) > actionpack (2.0.2, 1.13.6, 1.12.5) > actionwebservice (1.2.6, 1.1.6) > activerecord (2.0.2, 1.15.6, 1.14.4) > activeresource (2.0.2) > activesupport (2.0.2, 1.4.4, 1.4.0, 1.3.1) > cgi_multipart_eof_fix (2.5.0) > daemons (1.0.9, 1.0.2) > fastthread (1.0.1) > fcgi (0.8.7) > gem_plugin (0.2.3, 0.2.1) > login_generator (1.2.2) > mongrel (1.1.3, 0.3.13.4) > mongrel_cluster (1.0.5) > mysql (2.7) > rails (2.0.2, 1.2.6, 1.1.6) > rake (0.8.1, 0.7.1) > RedCloth (3.0.4) > rmagick (1.15.13, 1.15.12) > sources (0.0.1) > sqlite3-ruby (1.2.1) > theme_generator (1.3.0) > tzinfo (0.3.3) > > > Brad Hawkins wrote: >> Now you might need to run: >> >> chmod -R 775 ~/path/to/typo/public >> >> >> >> >> On Apr 6, 2008, at 12:39 PM, Randy Shepherd wrote: >> >> >>> Brad, thank you very much for your prompt reply. I just made the >>> tweak >>> you suggested, but it seems to have no effect. What follows is my >>> .htaccess file: >>> >>> # General Apache options >>> #AddHandler fastcgi-script .fcgi >>> AddHandler fcgid-script .fcgi >>> AddHandler cgi-script .cgi >>> #Options +FollowSymLinks +ExecCGI >>> SetEnv RAILS_ENV production >>> >>> # If you don't want Rails to look in certain directories, >>> # use the following rewrite rules so that Apache won't rewrite >>> certain >>> requests >>> # >>> # Example: >>> # RewriteCond %{REQUEST_URI} ^/notrails.* >>> # RewriteRule .* - [L] >>> >>> # Redirect all requests not available on the filesystem to Rails >>> RewriteEngine On >>> >>> # If Typo is accessed via an Alias directive, then you MUST also set >>> # the RewriteBase in this htaccess file. >>> # >>> # Example: >>> # Alias /blog /path/to/typo/public >>> # RewriteBase /blog >>> >>> RewriteRule ^$ index.html [QSA] >>> RewriteRule ^([^.]+)/!$ $1.html [QSA] >>> RewriteCond %{REQUEST_FILENAME} !-f >>> RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] >>> >>> # In case Typo experiences terminal errors >>> # Instead of displaying this message you can supply a file here >>> which >>> will be rendered instead >>> # >>> # Example: >>> # ErrorDocument 500 /500.html >>> >>> ErrorDocument 500 "

Application error

Typo failed to start >>> properly" >>> >>> >>> Brad Hawkins wrote: >>> >>>> Did you add: >>>> >>>> AddHandler fcgid-script .fcgi >>>> >>>> to your .htaccess file in your public folder? >>>> >>>> The standard: >>>> >>>> AddHandler fastcgi-script .fcgi >>>> >>>> doesn't seem to work with bluehost. >>>> >>>> >>>> On Apr 6, 2008, at 12:14 PM, Randy Shepherd wrote: >>>> >>>> >>>> >>>>> I installed Typo 5.0.3 as per the instructions found at >>>>> http://bartgdev.com/articles/2006/08/07/installing-typo-on- >>>>> bluehost >>>>> >>>>> In a nutshell: >>>>> 1) wgot the tar, unpacked it under ~/ruby/typo >>>>> 2) Created a symlink from my public_html dir to the typo install >>>>> dir >>>>> 3) Set up the db, updated my database.yml >>>>> 4) Configured my environment.rb and .htaccess to production >>>>> 5) Installed a couple extra gems; theme-support and theme- >>>>> generator. >>>>> 6) Ran public/dispatch.fcgi from my app root, which displays... >>>>> >>>>> Liquid doesn't seem to be loaded... uninitialized constant Liquid >>>>> Status: 500 Internal Server Error >>>>> Content-Type: text/html >>>>> >>>>>

500 Internal Server >>>>> Error

levitat1 at levitated.org [~/ruby/ >>>>> typo-5.0.3]# >>>>> >>>>> --- >>>>> >>>>> I get the following error in my log (The nil:NilClass is a >>>>> reference >>>>> to >>>>> a var called "this_blog" on both traces.): >>>>> >>>>> # Logfile created on Sun Apr 06 12:47:41 -0600 2008 >>>>> >>>>> Processing ArticlesController#index (for at 2008-04-06 12:48:20) >>>>> [GET] >>>>> Parameters: {"action"=>"index", "controller"=>"articles"} >>>>> >>>>> NoMethodError (undefined method `lang' for nil:NilClass): >>>>> /app/controllers/application.rb:46:in `load_lang' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> filters.rb:469:in >>>>> `send!' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> filters.rb:469:in >>>>> `call' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> filters.rb:441:in >>>>> `run' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> filters.rb:716:in >>>>> `run_before_filters' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> filters.rb:695:in >>>>> `call_filters' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> filters.rb:689:in >>>>> `perform_action_without_benchmark' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> benchmarking.rb:68:in >>>>> `perform_action_without_rescue' >>>>> /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> benchmarking.rb:68:in >>>>> `perform_action_without_rescue' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> rescue.rb:199:in >>>>> `perform_action_without_caching' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> caching.rb:678:in >>>>> `perform_action' >>>>> /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/ >>>>> connection_adapters/abstract/query_cache.rb:33:in >>>>> `cache' >>>>> /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/ >>>>> query_cache.rb:8:in >>>>> `cache' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> caching.rb:677:in >>>>> `perform_action' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> base.rb:524:in >>>>> `send' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> base.rb:524:in >>>>> `process_without_filters' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> filters.rb:685:in >>>>> `process_without_session_management_support' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> session_management.rb:123:in >>>>> `process' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> base.rb:388:in >>>>> `process' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> dispatcher.rb:171:in >>>>> `handle_request' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> dispatcher.rb:115:in >>>>> `dispatch' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> dispatcher.rb:126:in >>>>> `dispatch_cgi' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> dispatcher.rb:9:in >>>>> `dispatch' >>>>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:101:in >>>>> `process_request' >>>>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:149:in >>>>> `with_signal_handler' >>>>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:99:in >>>>> `process_request' >>>>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:77:in >>>>> `process_each_request' >>>>> /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:606:in >>>>> `each_cgi' >>>>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:76:in >>>>> `process_each_request' >>>>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:50:in >>>>> `process!' >>>>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:24:in >>>>> `process!' >>>>> public/dispatch.fcgi:24 >>>>> >>>>> >>>>> >>>>> Processing ArticlesController#index (for at 2008-04-06 12:48:20) >>>>> [GET] >>>>> Parameters: {"action"=>"index", "controller"=>"articles"} >>>>> >>>>> >>>>> NoMethodError (undefined method `current_theme' for nil:NilClass): >>>>> /app/controllers/content_controller.rb:60:in `theme_layout' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> layout.rb:236:in >>>>> `send!' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> layout.rb:236:in >>>>> `active_layout' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> layout.rb:293:in >>>>> `pick_layout' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> layout.rb:256:in >>>>> `render_without_benchmark' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> benchmarking.rb:51:in >>>>> `render' >>>>> /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> benchmarking.rb:51:in >>>>> `render' >>>>> /app/controllers/application.rb:26:in `rescue_action_in_public' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> rescue.rb:125:in >>>>> `rescue_action' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> rescue.rb:203:in >>>>> `perform_action_without_caching' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> caching.rb:678:in >>>>> `perform_action' >>>>> /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/ >>>>> connection_adapters/abstract/query_cache.rb:33:in >>>>> `cache' >>>>> "./production.log" 118 lines, 10170 characters >>>>> >>>>> >>>>> Anyone see this issue, or have any idea of what's going on? It >>>>> seems >>>>> like "this_blog" is not being initialized on start-up, but I >>>>> haven't >>>>> the >>>>> slightest idea why. Also, I have no idea what the message "Liquid >>>>> doesn't seem to be loaded... uninitialized constant Liquid"...any >>>>> ideas >>>>> on this? >>>>> >>>>> I have googled around but cannot find any good leads. Any and all >>>>> help >>>>> is greatly appreciated. >>>>> >>>>> Thanks! >>>>> Randy >>>>> _______________________________________________ >>>>> 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 >>>> >>>> >>>> >>> _______________________________________________ >>> 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 >> >> > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From bradleyvance at mac.com Sun Apr 6 16:31:43 2008 From: bradleyvance at mac.com (Brad Hawkins) Date: Sun, 6 Apr 2008 13:31:43 -0700 Subject: [typo] Trouble starting up Typo 5.0.3 on Bluehost In-Reply-To: <47F92D5F.6090704@levitated.org> References: <47F92122.7070604@levitated.org> <47F926E7.9020602@levitated.org> <304AF0BA-A96D-4F6C-B269-90E206BF7807@mac.com> <47F92D5F.6090704@levitated.org> Message-ID: <78FD757E-950A-403C-91FD-546821F4790D@mac.com> If you want to install the Typo gem you'll need to edit your .bashrc file (in your root directory), add the following to the end of the file: export PATH="$PATH:$HOME/packages/bin:$HOME/.gems/bin" export GEM_HOME="$HOME/.gems" export GEM_PATH="$GEM_HOME:/usr/lib/ruby/gems/1.8" export GEM_CACHE="$GEM_HOME/cache" Then run from the command line: source ~/.bashrc Then you should be able to install all gems: gem update -y and install the Typo gem: gem install -y typo I've been able to get typo running, but I'm having trouble with the RSS feeds myself, so I'm interested to see if you'll have any better luck! On Apr 6, 2008, at 1:06 PM, Randy Shepherd wrote: > Thanks again. I had tried that as well, I changed the perms on > typo/public and typo/log. I was able to get typo running in under 10 > minutes on my local machine, I am wondering if it some sort of gem > version compatibility issue? > > x at x.org [~/ruby/typo-5.0.3]# ruby -v > ruby 1.8.6 (2007-09-23 patchlevel 110) [x86_64-linux] > x at x.org [~/ruby/typo-5.0.3]# rails -v > Rails 2.0.2 > x at x.org [~/ruby/typo-5.0.3]# gem -v > 1.0.1 > x at x.org [~/ruby/typo-5.0.3]# gem list > > *** LOCAL GEMS *** > > actionmailer (2.0.2, 1.3.6, 1.2.5) > actionpack (2.0.2, 1.13.6, 1.12.5) > actionwebservice (1.2.6, 1.1.6) > activerecord (2.0.2, 1.15.6, 1.14.4) > activeresource (2.0.2) > activesupport (2.0.2, 1.4.4, 1.4.0, 1.3.1) > cgi_multipart_eof_fix (2.5.0) > daemons (1.0.9, 1.0.2) > fastthread (1.0.1) > fcgi (0.8.7) > gem_plugin (0.2.3, 0.2.1) > login_generator (1.2.2) > mongrel (1.1.3, 0.3.13.4) > mongrel_cluster (1.0.5) > mysql (2.7) > rails (2.0.2, 1.2.6, 1.1.6) > rake (0.8.1, 0.7.1) > RedCloth (3.0.4) > rmagick (1.15.13, 1.15.12) > sources (0.0.1) > sqlite3-ruby (1.2.1) > theme_generator (1.3.0) > tzinfo (0.3.3) > > > Brad Hawkins wrote: >> Now you might need to run: >> >> chmod -R 775 ~/path/to/typo/public >> >> >> >> >> On Apr 6, 2008, at 12:39 PM, Randy Shepherd wrote: >> >> >>> Brad, thank you very much for your prompt reply. I just made the >>> tweak >>> you suggested, but it seems to have no effect. What follows is my >>> .htaccess file: >>> >>> # General Apache options >>> #AddHandler fastcgi-script .fcgi >>> AddHandler fcgid-script .fcgi >>> AddHandler cgi-script .cgi >>> #Options +FollowSymLinks +ExecCGI >>> SetEnv RAILS_ENV production >>> >>> # If you don't want Rails to look in certain directories, >>> # use the following rewrite rules so that Apache won't rewrite >>> certain >>> requests >>> # >>> # Example: >>> # RewriteCond %{REQUEST_URI} ^/notrails.* >>> # RewriteRule .* - [L] >>> >>> # Redirect all requests not available on the filesystem to Rails >>> RewriteEngine On >>> >>> # If Typo is accessed via an Alias directive, then you MUST also set >>> # the RewriteBase in this htaccess file. >>> # >>> # Example: >>> # Alias /blog /path/to/typo/public >>> # RewriteBase /blog >>> >>> RewriteRule ^$ index.html [QSA] >>> RewriteRule ^([^.]+)/!$ $1.html [QSA] >>> RewriteCond %{REQUEST_FILENAME} !-f >>> RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] >>> >>> # In case Typo experiences terminal errors >>> # Instead of displaying this message you can supply a file here >>> which >>> will be rendered instead >>> # >>> # Example: >>> # ErrorDocument 500 /500.html >>> >>> ErrorDocument 500 "

Application error

Typo failed to start >>> properly" >>> >>> >>> Brad Hawkins wrote: >>> >>>> Did you add: >>>> >>>> AddHandler fcgid-script .fcgi >>>> >>>> to your .htaccess file in your public folder? >>>> >>>> The standard: >>>> >>>> AddHandler fastcgi-script .fcgi >>>> >>>> doesn't seem to work with bluehost. >>>> >>>> >>>> On Apr 6, 2008, at 12:14 PM, Randy Shepherd wrote: >>>> >>>> >>>> >>>>> I installed Typo 5.0.3 as per the instructions found at >>>>> http://bartgdev.com/articles/2006/08/07/installing-typo-on- >>>>> bluehost >>>>> >>>>> In a nutshell: >>>>> 1) wgot the tar, unpacked it under ~/ruby/typo >>>>> 2) Created a symlink from my public_html dir to the typo install >>>>> dir >>>>> 3) Set up the db, updated my database.yml >>>>> 4) Configured my environment.rb and .htaccess to production >>>>> 5) Installed a couple extra gems; theme-support and theme- >>>>> generator. >>>>> 6) Ran public/dispatch.fcgi from my app root, which displays... >>>>> >>>>> Liquid doesn't seem to be loaded... uninitialized constant Liquid >>>>> Status: 500 Internal Server Error >>>>> Content-Type: text/html >>>>> >>>>>

500 Internal Server >>>>> Error

levitat1 at levitated.org [~/ruby/ >>>>> typo-5.0.3]# >>>>> >>>>> --- >>>>> >>>>> I get the following error in my log (The nil:NilClass is a >>>>> reference >>>>> to >>>>> a var called "this_blog" on both traces.): >>>>> >>>>> # Logfile created on Sun Apr 06 12:47:41 -0600 2008 >>>>> >>>>> Processing ArticlesController#index (for at 2008-04-06 12:48:20) >>>>> [GET] >>>>> Parameters: {"action"=>"index", "controller"=>"articles"} >>>>> >>>>> NoMethodError (undefined method `lang' for nil:NilClass): >>>>> /app/controllers/application.rb:46:in `load_lang' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> filters.rb:469:in >>>>> `send!' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> filters.rb:469:in >>>>> `call' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> filters.rb:441:in >>>>> `run' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> filters.rb:716:in >>>>> `run_before_filters' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> filters.rb:695:in >>>>> `call_filters' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> filters.rb:689:in >>>>> `perform_action_without_benchmark' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> benchmarking.rb:68:in >>>>> `perform_action_without_rescue' >>>>> /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> benchmarking.rb:68:in >>>>> `perform_action_without_rescue' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> rescue.rb:199:in >>>>> `perform_action_without_caching' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> caching.rb:678:in >>>>> `perform_action' >>>>> /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/ >>>>> connection_adapters/abstract/query_cache.rb:33:in >>>>> `cache' >>>>> /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/ >>>>> query_cache.rb:8:in >>>>> `cache' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> caching.rb:677:in >>>>> `perform_action' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> base.rb:524:in >>>>> `send' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> base.rb:524:in >>>>> `process_without_filters' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> filters.rb:685:in >>>>> `process_without_session_management_support' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> session_management.rb:123:in >>>>> `process' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> base.rb:388:in >>>>> `process' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> dispatcher.rb:171:in >>>>> `handle_request' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> dispatcher.rb:115:in >>>>> `dispatch' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> dispatcher.rb:126:in >>>>> `dispatch_cgi' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> dispatcher.rb:9:in >>>>> `dispatch' >>>>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:101:in >>>>> `process_request' >>>>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:149:in >>>>> `with_signal_handler' >>>>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:99:in >>>>> `process_request' >>>>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:77:in >>>>> `process_each_request' >>>>> /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:606:in >>>>> `each_cgi' >>>>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:76:in >>>>> `process_each_request' >>>>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:50:in >>>>> `process!' >>>>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:24:in >>>>> `process!' >>>>> public/dispatch.fcgi:24 >>>>> >>>>> >>>>> >>>>> Processing ArticlesController#index (for at 2008-04-06 12:48:20) >>>>> [GET] >>>>> Parameters: {"action"=>"index", "controller"=>"articles"} >>>>> >>>>> >>>>> NoMethodError (undefined method `current_theme' for nil:NilClass): >>>>> /app/controllers/content_controller.rb:60:in `theme_layout' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> layout.rb:236:in >>>>> `send!' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> layout.rb:236:in >>>>> `active_layout' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> layout.rb:293:in >>>>> `pick_layout' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> layout.rb:256:in >>>>> `render_without_benchmark' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> benchmarking.rb:51:in >>>>> `render' >>>>> /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> benchmarking.rb:51:in >>>>> `render' >>>>> /app/controllers/application.rb:26:in `rescue_action_in_public' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> rescue.rb:125:in >>>>> `rescue_action' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> rescue.rb:203:in >>>>> `perform_action_without_caching' >>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>> action_controller/ >>>>> caching.rb:678:in >>>>> `perform_action' >>>>> /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/ >>>>> connection_adapters/abstract/query_cache.rb:33:in >>>>> `cache' >>>>> "./production.log" 118 lines, 10170 characters >>>>> >>>>> >>>>> Anyone see this issue, or have any idea of what's going on? It >>>>> seems >>>>> like "this_blog" is not being initialized on start-up, but I >>>>> haven't >>>>> the >>>>> slightest idea why. Also, I have no idea what the message "Liquid >>>>> doesn't seem to be loaded... uninitialized constant Liquid"...any >>>>> ideas >>>>> on this? >>>>> >>>>> I have googled around but cannot find any good leads. Any and all >>>>> help >>>>> is greatly appreciated. >>>>> >>>>> Thanks! >>>>> Randy >>>>> _______________________________________________ >>>>> 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 >>>> >>>> >>>> >>> _______________________________________________ >>> 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 >> >> > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From rando at levitated.org Sun Apr 6 16:33:08 2008 From: rando at levitated.org (Randy Shepherd) Date: Sun, 06 Apr 2008 16:33:08 -0400 Subject: [typo] Trouble starting up Typo 5.0.3 on Bluehost In-Reply-To: <5E87A0F6-DA70-47AA-B05D-36936627915C@mac.com> References: <47F92122.7070604@levitated.org> <47F926E7.9020602@levitated.org> <304AF0BA-A96D-4F6C-B269-90E206BF7807@mac.com> <47F92D5F.6090704@levitated.org> <5E87A0F6-DA70-47AA-B05D-36936627915C@mac.com> Message-ID: <47F93384.8080909@levitated.org> ok... maybe I will try this next. I will back everything out and start from scratch with the gem. Thanks, and I will let you know what happens. Brad Hawkins wrote: > If you want to install the Typo gem you'll need to edit your .bashrc > file (in your root directory), add the following to the end of the file: > > export PATH="$PATH:$HOME/packages/bin:$HOME/.gems/bin" > export GEM_HOME="$HOME/.gems" > export GEM_PATH="$GEM_HOME:/usr/lib/ruby/gems/1.8" > export GEM_CACHE="$GEM_HOME/cache" > > > Then run from the command line: > > source ~/.bashrc > > Then you should be able to install all gems: > > gem update -y > > and install the Typo gem: > > gem install -y typo > > > I've been able to get typo running, but I'm having trouble with the > RSS feeds myself, so I'm interested to see if you'll have any better > luck! > > > > > > On Apr 6, 2008, at 1:06 PM, Randy Shepherd wrote: > > >> Thanks again. I had tried that as well, I changed the perms on >> typo/public and typo/log. I was able to get typo running in under 10 >> minutes on my local machine, I am wondering if it some sort of gem >> version compatibility issue? >> >> x at x.org [~/ruby/typo-5.0.3]# ruby -v >> ruby 1.8.6 (2007-09-23 patchlevel 110) [x86_64-linux] >> x at x.org [~/ruby/typo-5.0.3]# rails -v >> Rails 2.0.2 >> x at x.org [~/ruby/typo-5.0.3]# gem -v >> 1.0.1 >> x at x.org [~/ruby/typo-5.0.3]# gem list >> >> *** LOCAL GEMS *** >> >> actionmailer (2.0.2, 1.3.6, 1.2.5) >> actionpack (2.0.2, 1.13.6, 1.12.5) >> actionwebservice (1.2.6, 1.1.6) >> activerecord (2.0.2, 1.15.6, 1.14.4) >> activeresource (2.0.2) >> activesupport (2.0.2, 1.4.4, 1.4.0, 1.3.1) >> cgi_multipart_eof_fix (2.5.0) >> daemons (1.0.9, 1.0.2) >> fastthread (1.0.1) >> fcgi (0.8.7) >> gem_plugin (0.2.3, 0.2.1) >> login_generator (1.2.2) >> mongrel (1.1.3, 0.3.13.4) >> mongrel_cluster (1.0.5) >> mysql (2.7) >> rails (2.0.2, 1.2.6, 1.1.6) >> rake (0.8.1, 0.7.1) >> RedCloth (3.0.4) >> rmagick (1.15.13, 1.15.12) >> sources (0.0.1) >> sqlite3-ruby (1.2.1) >> theme_generator (1.3.0) >> tzinfo (0.3.3) >> >> >> Brad Hawkins wrote: >> >>> Now you might need to run: >>> >>> chmod -R 775 ~/path/to/typo/public >>> >>> >>> >>> >>> On Apr 6, 2008, at 12:39 PM, Randy Shepherd wrote: >>> >>> >>> >>>> Brad, thank you very much for your prompt reply. I just made the >>>> tweak >>>> you suggested, but it seems to have no effect. What follows is my >>>> .htaccess file: >>>> >>>> # General Apache options >>>> #AddHandler fastcgi-script .fcgi >>>> AddHandler fcgid-script .fcgi >>>> AddHandler cgi-script .cgi >>>> #Options +FollowSymLinks +ExecCGI >>>> SetEnv RAILS_ENV production >>>> >>>> # If you don't want Rails to look in certain directories, >>>> # use the following rewrite rules so that Apache won't rewrite >>>> certain >>>> requests >>>> # >>>> # Example: >>>> # RewriteCond %{REQUEST_URI} ^/notrails.* >>>> # RewriteRule .* - [L] >>>> >>>> # Redirect all requests not available on the filesystem to Rails >>>> RewriteEngine On >>>> >>>> # If Typo is accessed via an Alias directive, then you MUST also set >>>> # the RewriteBase in this htaccess file. >>>> # >>>> # Example: >>>> # Alias /blog /path/to/typo/public >>>> # RewriteBase /blog >>>> >>>> RewriteRule ^$ index.html [QSA] >>>> RewriteRule ^([^.]+)/!$ $1.html [QSA] >>>> RewriteCond %{REQUEST_FILENAME} !-f >>>> RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] >>>> >>>> # In case Typo experiences terminal errors >>>> # Instead of displaying this message you can supply a file here >>>> which >>>> will be rendered instead >>>> # >>>> # Example: >>>> # ErrorDocument 500 /500.html >>>> >>>> ErrorDocument 500 "

Application error

Typo failed to start >>>> properly" >>>> >>>> >>>> Brad Hawkins wrote: >>>> >>>> >>>>> Did you add: >>>>> >>>>> AddHandler fcgid-script .fcgi >>>>> >>>>> to your .htaccess file in your public folder? >>>>> >>>>> The standard: >>>>> >>>>> AddHandler fastcgi-script .fcgi >>>>> >>>>> doesn't seem to work with bluehost. >>>>> >>>>> >>>>> On Apr 6, 2008, at 12:14 PM, Randy Shepherd wrote: >>>>> >>>>> >>>>> >>>>> >>>>>> I installed Typo 5.0.3 as per the instructions found at >>>>>> http://bartgdev.com/articles/2006/08/07/installing-typo-on- >>>>>> bluehost >>>>>> >>>>>> In a nutshell: >>>>>> 1) wgot the tar, unpacked it under ~/ruby/typo >>>>>> 2) Created a symlink from my public_html dir to the typo install >>>>>> dir >>>>>> 3) Set up the db, updated my database.yml >>>>>> 4) Configured my environment.rb and .htaccess to production >>>>>> 5) Installed a couple extra gems; theme-support and theme- >>>>>> generator. >>>>>> 6) Ran public/dispatch.fcgi from my app root, which displays... >>>>>> >>>>>> Liquid doesn't seem to be loaded... uninitialized constant Liquid >>>>>> Status: 500 Internal Server Error >>>>>> Content-Type: text/html >>>>>> >>>>>>

500 Internal Server >>>>>> Error

levitat1 at levitated.org [~/ruby/ >>>>>> typo-5.0.3]# >>>>>> >>>>>> --- >>>>>> >>>>>> I get the following error in my log (The nil:NilClass is a >>>>>> reference >>>>>> to >>>>>> a var called "this_blog" on both traces.): >>>>>> >>>>>> # Logfile created on Sun Apr 06 12:47:41 -0600 2008 >>>>>> >>>>>> Processing ArticlesController#index (for at 2008-04-06 12:48:20) >>>>>> [GET] >>>>>> Parameters: {"action"=>"index", "controller"=>"articles"} >>>>>> >>>>>> NoMethodError (undefined method `lang' for nil:NilClass): >>>>>> /app/controllers/application.rb:46:in `load_lang' >>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>> action_controller/ >>>>>> filters.rb:469:in >>>>>> `send!' >>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>> action_controller/ >>>>>> filters.rb:469:in >>>>>> `call' >>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>> action_controller/ >>>>>> filters.rb:441:in >>>>>> `run' >>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>> action_controller/ >>>>>> filters.rb:716:in >>>>>> `run_before_filters' >>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>> action_controller/ >>>>>> filters.rb:695:in >>>>>> `call_filters' >>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>> action_controller/ >>>>>> filters.rb:689:in >>>>>> `perform_action_without_benchmark' >>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>> action_controller/ >>>>>> benchmarking.rb:68:in >>>>>> `perform_action_without_rescue' >>>>>> /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' >>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>> action_controller/ >>>>>> benchmarking.rb:68:in >>>>>> `perform_action_without_rescue' >>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>> action_controller/ >>>>>> rescue.rb:199:in >>>>>> `perform_action_without_caching' >>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>> action_controller/ >>>>>> caching.rb:678:in >>>>>> `perform_action' >>>>>> /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/ >>>>>> connection_adapters/abstract/query_cache.rb:33:in >>>>>> `cache' >>>>>> /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/ >>>>>> query_cache.rb:8:in >>>>>> `cache' >>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>> action_controller/ >>>>>> caching.rb:677:in >>>>>> `perform_action' >>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>> action_controller/ >>>>>> base.rb:524:in >>>>>> `send' >>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>> action_controller/ >>>>>> base.rb:524:in >>>>>> `process_without_filters' >>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>> action_controller/ >>>>>> filters.rb:685:in >>>>>> `process_without_session_management_support' >>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>> action_controller/ >>>>>> session_management.rb:123:in >>>>>> `process' >>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>> action_controller/ >>>>>> base.rb:388:in >>>>>> `process' >>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>> action_controller/ >>>>>> dispatcher.rb:171:in >>>>>> `handle_request' >>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>> action_controller/ >>>>>> dispatcher.rb:115:in >>>>>> `dispatch' >>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>> action_controller/ >>>>>> dispatcher.rb:126:in >>>>>> `dispatch_cgi' >>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>> action_controller/ >>>>>> dispatcher.rb:9:in >>>>>> `dispatch' >>>>>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:101:in >>>>>> `process_request' >>>>>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:149:in >>>>>> `with_signal_handler' >>>>>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:99:in >>>>>> `process_request' >>>>>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:77:in >>>>>> `process_each_request' >>>>>> /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:606:in >>>>>> `each_cgi' >>>>>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:76:in >>>>>> `process_each_request' >>>>>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:50:in >>>>>> `process!' >>>>>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:24:in >>>>>> `process!' >>>>>> public/dispatch.fcgi:24 >>>>>> >>>>>> >>>>>> >>>>>> Processing ArticlesController#index (for at 2008-04-06 12:48:20) >>>>>> [GET] >>>>>> Parameters: {"action"=>"index", "controller"=>"articles"} >>>>>> >>>>>> >>>>>> NoMethodError (undefined method `current_theme' for nil:NilClass): >>>>>> /app/controllers/content_controller.rb:60:in `theme_layout' >>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>> action_controller/ >>>>>> layout.rb:236:in >>>>>> `send!' >>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>> action_controller/ >>>>>> layout.rb:236:in >>>>>> `active_layout' >>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>> action_controller/ >>>>>> layout.rb:293:in >>>>>> `pick_layout' >>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>> action_controller/ >>>>>> layout.rb:256:in >>>>>> `render_without_benchmark' >>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>> action_controller/ >>>>>> benchmarking.rb:51:in >>>>>> `render' >>>>>> /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' >>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>> action_controller/ >>>>>> benchmarking.rb:51:in >>>>>> `render' >>>>>> /app/controllers/application.rb:26:in `rescue_action_in_public' >>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>> action_controller/ >>>>>> rescue.rb:125:in >>>>>> `rescue_action' >>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>> action_controller/ >>>>>> rescue.rb:203:in >>>>>> `perform_action_without_caching' >>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>> action_controller/ >>>>>> caching.rb:678:in >>>>>> `perform_action' >>>>>> /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/ >>>>>> connection_adapters/abstract/query_cache.rb:33:in >>>>>> `cache' >>>>>> "./production.log" 118 lines, 10170 characters >>>>>> >>>>>> >>>>>> Anyone see this issue, or have any idea of what's going on? It >>>>>> seems >>>>>> like "this_blog" is not being initialized on start-up, but I >>>>>> haven't >>>>>> the >>>>>> slightest idea why. Also, I have no idea what the message "Liquid >>>>>> doesn't seem to be loaded... uninitialized constant Liquid"...any >>>>>> ideas >>>>>> on this? >>>>>> >>>>>> I have googled around but cannot find any good leads. Any and all >>>>>> help >>>>>> is greatly appreciated. >>>>>> >>>>>> Thanks! >>>>>> Randy >>>>>> _______________________________________________ >>>>>> 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 >>>>> >>>>> >>>>> >>>>> >>>> _______________________________________________ >>>> 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 >>> >>> >>> >> _______________________________________________ >> 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 > > From frederic at de-villamil.com Sun Apr 6 16:46:57 2008 From: frederic at de-villamil.com (Frederic de Villamil) Date: Sun, 6 Apr 2008 22:46:57 +0200 Subject: [typo] Trouble starting up Typo 5.0.3 on Bluehost In-Reply-To: <47F93384.8080909@levitated.org> References: <47F92122.7070604@levitated.org> <47F926E7.9020602@levitated.org> <304AF0BA-A96D-4F6C-B269-90E206BF7807@mac.com> <47F92D5F.6090704@levitated.org> <5E87A0F6-DA70-47AA-B05D-36936627915C@mac.com> <47F93384.8080909@levitated.org> Message-ID: <17005BEB-6388-46FD-8A84-68E1552F44B5@de-villamil.com> Hello, For your information, Typo 5.0.3 doesn't come as a gem since it seems to break everything (never managed to figure out why, and we really had to release 5.0.3 as it fixed lots of critical bugs). I Hope I ll be able to release a 5.0.4 gem. Best regards, Fr?d?ric Le 6 avr. 08 ? 22:33, Randy Shepherd a ?crit : > ok... maybe I will try this next. I will back everything out and start > from scratch with the gem. Thanks, and I will let you know what > happens. > > Brad Hawkins wrote: >> If you want to install the Typo gem you'll need to edit your .bashrc >> file (in your root directory), add the following to the end of the >> file: >> >> export PATH="$PATH:$HOME/packages/bin:$HOME/.gems/bin" >> export GEM_HOME="$HOME/.gems" >> export GEM_PATH="$GEM_HOME:/usr/lib/ruby/gems/1.8" >> export GEM_CACHE="$GEM_HOME/cache" >> >> >> Then run from the command line: >> >> source ~/.bashrc >> >> Then you should be able to install all gems: >> >> gem update -y >> >> and install the Typo gem: >> >> gem install -y typo >> >> >> I've been able to get typo running, but I'm having trouble with the >> RSS feeds myself, so I'm interested to see if you'll have any better >> luck! >> >> >> >> >> >> On Apr 6, 2008, at 1:06 PM, Randy Shepherd wrote: >> >> >>> Thanks again. I had tried that as well, I changed the perms on >>> typo/public and typo/log. I was able to get typo running in under 10 >>> minutes on my local machine, I am wondering if it some sort of gem >>> version compatibility issue? >>> >>> x at x.org [~/ruby/typo-5.0.3]# ruby -v >>> ruby 1.8.6 (2007-09-23 patchlevel 110) [x86_64-linux] >>> x at x.org [~/ruby/typo-5.0.3]# rails -v >>> Rails 2.0.2 >>> x at x.org [~/ruby/typo-5.0.3]# gem -v >>> 1.0.1 >>> x at x.org [~/ruby/typo-5.0.3]# gem list >>> >>> *** LOCAL GEMS *** >>> >>> actionmailer (2.0.2, 1.3.6, 1.2.5) >>> actionpack (2.0.2, 1.13.6, 1.12.5) >>> actionwebservice (1.2.6, 1.1.6) >>> activerecord (2.0.2, 1.15.6, 1.14.4) >>> activeresource (2.0.2) >>> activesupport (2.0.2, 1.4.4, 1.4.0, 1.3.1) >>> cgi_multipart_eof_fix (2.5.0) >>> daemons (1.0.9, 1.0.2) >>> fastthread (1.0.1) >>> fcgi (0.8.7) >>> gem_plugin (0.2.3, 0.2.1) >>> login_generator (1.2.2) >>> mongrel (1.1.3, 0.3.13.4) >>> mongrel_cluster (1.0.5) >>> mysql (2.7) >>> rails (2.0.2, 1.2.6, 1.1.6) >>> rake (0.8.1, 0.7.1) >>> RedCloth (3.0.4) >>> rmagick (1.15.13, 1.15.12) >>> sources (0.0.1) >>> sqlite3-ruby (1.2.1) >>> theme_generator (1.3.0) >>> tzinfo (0.3.3) >>> >>> >>> Brad Hawkins wrote: >>> >>>> Now you might need to run: >>>> >>>> chmod -R 775 ~/path/to/typo/public >>>> >>>> >>>> >>>> >>>> On Apr 6, 2008, at 12:39 PM, Randy Shepherd wrote: >>>> >>>> >>>> >>>>> Brad, thank you very much for your prompt reply. I just made the >>>>> tweak >>>>> you suggested, but it seems to have no effect. What follows is my >>>>> .htaccess file: >>>>> >>>>> # General Apache options >>>>> #AddHandler fastcgi-script .fcgi >>>>> AddHandler fcgid-script .fcgi >>>>> AddHandler cgi-script .cgi >>>>> #Options +FollowSymLinks +ExecCGI >>>>> SetEnv RAILS_ENV production >>>>> >>>>> # If you don't want Rails to look in certain directories, >>>>> # use the following rewrite rules so that Apache won't rewrite >>>>> certain >>>>> requests >>>>> # >>>>> # Example: >>>>> # RewriteCond %{REQUEST_URI} ^/notrails.* >>>>> # RewriteRule .* - [L] >>>>> >>>>> # Redirect all requests not available on the filesystem to Rails >>>>> RewriteEngine On >>>>> >>>>> # If Typo is accessed via an Alias directive, then you MUST also >>>>> set >>>>> # the RewriteBase in this htaccess file. >>>>> # >>>>> # Example: >>>>> # Alias /blog /path/to/typo/public >>>>> # RewriteBase /blog >>>>> >>>>> RewriteRule ^$ index.html [QSA] >>>>> RewriteRule ^([^.]+)/!$ $1.html [QSA] >>>>> RewriteCond %{REQUEST_FILENAME} !-f >>>>> RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] >>>>> >>>>> # In case Typo experiences terminal errors >>>>> # Instead of displaying this message you can supply a file here >>>>> which >>>>> will be rendered instead >>>>> # >>>>> # Example: >>>>> # ErrorDocument 500 /500.html >>>>> >>>>> ErrorDocument 500 "

Application error

Typo failed to start >>>>> properly" >>>>> >>>>> >>>>> Brad Hawkins wrote: >>>>> >>>>> >>>>>> Did you add: >>>>>> >>>>>> AddHandler fcgid-script .fcgi >>>>>> >>>>>> to your .htaccess file in your public folder? >>>>>> >>>>>> The standard: >>>>>> >>>>>> AddHandler fastcgi-script .fcgi >>>>>> >>>>>> doesn't seem to work with bluehost. >>>>>> >>>>>> >>>>>> On Apr 6, 2008, at 12:14 PM, Randy Shepherd wrote: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>> I installed Typo 5.0.3 as per the instructions found at >>>>>>> http://bartgdev.com/articles/2006/08/07/installing-typo-on- >>>>>>> bluehost >>>>>>> >>>>>>> In a nutshell: >>>>>>> 1) wgot the tar, unpacked it under ~/ruby/typo >>>>>>> 2) Created a symlink from my public_html dir to the typo install >>>>>>> dir >>>>>>> 3) Set up the db, updated my database.yml >>>>>>> 4) Configured my environment.rb and .htaccess to production >>>>>>> 5) Installed a couple extra gems; theme-support and theme- >>>>>>> generator. >>>>>>> 6) Ran public/dispatch.fcgi from my app root, which displays... >>>>>>> >>>>>>> Liquid doesn't seem to be loaded... uninitialized constant >>>>>>> Liquid >>>>>>> Status: 500 Internal Server Error >>>>>>> Content-Type: text/html >>>>>>> >>>>>>>

500 Internal Server >>>>>>> Error

levitat1 at levitated.org [~/ruby/ >>>>>>> typo-5.0.3]# >>>>>>> >>>>>>> --- >>>>>>> >>>>>>> I get the following error in my log (The nil:NilClass is a >>>>>>> reference >>>>>>> to >>>>>>> a var called "this_blog" on both traces.): >>>>>>> >>>>>>> # Logfile created on Sun Apr 06 12:47:41 -0600 2008 >>>>>>> >>>>>>> Processing ArticlesController#index (for at 2008-04-06 12:48:20) >>>>>>> [GET] >>>>>>> Parameters: {"action"=>"index", "controller"=>"articles"} >>>>>>> >>>>>>> NoMethodError (undefined method `lang' for nil:NilClass): >>>>>>> /app/controllers/application.rb:46:in `load_lang' >>>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>>> action_controller/ >>>>>>> filters.rb:469:in >>>>>>> `send!' >>>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>>> action_controller/ >>>>>>> filters.rb:469:in >>>>>>> `call' >>>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>>> action_controller/ >>>>>>> filters.rb:441:in >>>>>>> `run' >>>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>>> action_controller/ >>>>>>> filters.rb:716:in >>>>>>> `run_before_filters' >>>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>>> action_controller/ >>>>>>> filters.rb:695:in >>>>>>> `call_filters' >>>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>>> action_controller/ >>>>>>> filters.rb:689:in >>>>>>> `perform_action_without_benchmark' >>>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>>> action_controller/ >>>>>>> benchmarking.rb:68:in >>>>>>> `perform_action_without_rescue' >>>>>>> /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' >>>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>>> action_controller/ >>>>>>> benchmarking.rb:68:in >>>>>>> `perform_action_without_rescue' >>>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>>> action_controller/ >>>>>>> rescue.rb:199:in >>>>>>> `perform_action_without_caching' >>>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>>> action_controller/ >>>>>>> caching.rb:678:in >>>>>>> `perform_action' >>>>>>> /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/ >>>>>>> active_record/ >>>>>>> connection_adapters/abstract/query_cache.rb:33:in >>>>>>> `cache' >>>>>>> /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/ >>>>>>> active_record/ >>>>>>> query_cache.rb:8:in >>>>>>> `cache' >>>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>>> action_controller/ >>>>>>> caching.rb:677:in >>>>>>> `perform_action' >>>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>>> action_controller/ >>>>>>> base.rb:524:in >>>>>>> `send' >>>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>>> action_controller/ >>>>>>> base.rb:524:in >>>>>>> `process_without_filters' >>>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>>> action_controller/ >>>>>>> filters.rb:685:in >>>>>>> `process_without_session_management_support' >>>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>>> action_controller/ >>>>>>> session_management.rb:123:in >>>>>>> `process' >>>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>>> action_controller/ >>>>>>> base.rb:388:in >>>>>>> `process' >>>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>>> action_controller/ >>>>>>> dispatcher.rb:171:in >>>>>>> `handle_request' >>>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>>> action_controller/ >>>>>>> dispatcher.rb:115:in >>>>>>> `dispatch' >>>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>>> action_controller/ >>>>>>> dispatcher.rb:126:in >>>>>>> `dispatch_cgi' >>>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>>> action_controller/ >>>>>>> dispatcher.rb:9:in >>>>>>> `dispatch' >>>>>>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb: >>>>>>> 101:in >>>>>>> `process_request' >>>>>>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb: >>>>>>> 149:in >>>>>>> `with_signal_handler' >>>>>>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb: >>>>>>> 99:in >>>>>>> `process_request' >>>>>>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb: >>>>>>> 77:in >>>>>>> `process_each_request' >>>>>>> /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:606:in >>>>>>> `each_cgi' >>>>>>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb: >>>>>>> 76:in >>>>>>> `process_each_request' >>>>>>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb: >>>>>>> 50:in >>>>>>> `process!' >>>>>>> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb: >>>>>>> 24:in >>>>>>> `process!' >>>>>>> public/dispatch.fcgi:24 >>>>>>> >>>>>>> >>>>>>> >>>>>>> Processing ArticlesController#index (for at 2008-04-06 12:48:20) >>>>>>> [GET] >>>>>>> Parameters: {"action"=>"index", "controller"=>"articles"} >>>>>>> >>>>>>> >>>>>>> NoMethodError (undefined method `current_theme' for >>>>>>> nil:NilClass): >>>>>>> /app/controllers/content_controller.rb:60:in `theme_layout' >>>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>>> action_controller/ >>>>>>> layout.rb:236:in >>>>>>> `send!' >>>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>>> action_controller/ >>>>>>> layout.rb:236:in >>>>>>> `active_layout' >>>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>>> action_controller/ >>>>>>> layout.rb:293:in >>>>>>> `pick_layout' >>>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>>> action_controller/ >>>>>>> layout.rb:256:in >>>>>>> `render_without_benchmark' >>>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>>> action_controller/ >>>>>>> benchmarking.rb:51:in >>>>>>> `render' >>>>>>> /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' >>>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>>> action_controller/ >>>>>>> benchmarking.rb:51:in >>>>>>> `render' >>>>>>> /app/controllers/application.rb:26:in `rescue_action_in_public' >>>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>>> action_controller/ >>>>>>> rescue.rb:125:in >>>>>>> `rescue_action' >>>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>>> action_controller/ >>>>>>> rescue.rb:203:in >>>>>>> `perform_action_without_caching' >>>>>>> /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ >>>>>>> action_controller/ >>>>>>> caching.rb:678:in >>>>>>> `perform_action' >>>>>>> /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/ >>>>>>> active_record/ >>>>>>> connection_adapters/abstract/query_cache.rb:33:in >>>>>>> `cache' >>>>>>> "./production.log" 118 lines, 10170 characters >>>>>>> >>>>>>> >>>>>>> Anyone see this issue, or have any idea of what's going on? It >>>>>>> seems >>>>>>> like "this_blog" is not being initialized on start-up, but I >>>>>>> haven't >>>>>>> the >>>>>>> slightest idea why. Also, I have no idea what the message >>>>>>> "Liquid >>>>>>> doesn't seem to be loaded... uninitialized constant >>>>>>> Liquid"...any >>>>>>> ideas >>>>>>> on this? >>>>>>> >>>>>>> I have googled around but cannot find any good leads. Any and >>>>>>> all >>>>>>> help >>>>>>> is greatly appreciated. >>>>>>> >>>>>>> Thanks! >>>>>>> Randy >>>>>>> _______________________________________________ >>>>>>> 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 >>>>>> >>>>>> >>>>>> >>>>>> >>>>> _______________________________________________ >>>>> 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 >>>> >>>> >>>> >>> _______________________________________________ >>> 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 >> >> > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/l