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/listinfo/typo-list -- 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 Sun Apr 6 16:49:47 2008 From: bradleyvance at mac.com (Brad Hawkins) Date: Sun, 6 Apr 2008 13:49:47 -0700 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: Good luck! I'll be interested to hear your results. On Apr 6, 2008, at 1:33 PM, Randy Shepherd wrote: > 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/listinfo/typo-list From rando at levitated.org Sun Apr 6 17:05:12 2008 From: rando at levitated.org (Randy Shepherd) Date: Sun, 06 Apr 2008 17:05:12 -0400 Subject: [typo] Trouble starting up Typo 5.0.3 on Bluehost In-Reply-To: <17005BEB-6388-46FD-8A84-68E1552F44B5@de-villamil.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> <47F93384.8080909@levitated.org> <17005BEB-6388-46FD-8A84-68E1552F44B5@de-villamil.com> Message-ID: <47F93B08.2070704@levitated.org> Ok, thats good to know. Did anything in the details of my problem below illicit any ideas as to what could be the problem? Please take a quick look at my trace and see if you could give me any leads on where to start for a solution. On another note, this i not the first time I have had problems getting an open source ruby app running correctly on bluehost. Does anyone have any recommendations on a ruby host that is a less of a pain in the neck? Thanks, Randy Frederic de Villamil wrote: > 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/listinfo/typo-list >> > > From dj at djdanique.com Tue Apr 8 04:48:37 2008 From: dj at djdanique.com (danny q.) Date: Tue, 08 Apr 2008 10:48:37 +0200 Subject: [typo] flickr sidebar in 5.0.3 stable? Message-ID: <47FB3165.8070303@djdanique.com> Hi, of course I want to say thanks for the software and everything, and of course I have a question... Does anyone actually have the flickr sidebar working in the stable 5.0.3, or is the plugin more of a placeholder? I installed it, but I get nothing rendered and see this error in the production logs. > uninitialized constant FlickrSidebar::FlickrAggregation Is there a fix for this, or does it just not work anymore? Also, I've noticed I've done quite a bit of tweaking to get 5.0.3-stable up and running (on my test, still not on my main site). For the work I'm doing, am I just as well off switching to the svn branch, or are there some major showstoppers in there? I know what I can see on the Trac, but I was hoping to hear people's experience. Thanks! --danny From frederic at de-villamil.com Tue Apr 8 10:12:10 2008 From: frederic at de-villamil.com (Frederic de Villamil) Date: Tue, 8 Apr 2008 16:12:10 +0200 Subject: [typo] flickr sidebar in 5.0.3 stable? In-Reply-To: <47FB3165.8070303@djdanique.com> References: <47FB3165.8070303@djdanique.com> Message-ID: <628CC51E-7E24-4DBA-B1CD-3B419C39F955@de-villamil.com> Hello, The flickr sidebar works perfectly, as you can see at the bottom of http://fredericdevillamil.com which is running a 5.0.3 The SVN is working, at least for me. However I've started huge refactoring recently, and I wouldn't advice anyone to use it in production environment. I plan to release 5.0.4 during the first week of may. See roadmap at http://blog.typosphere.org/articles/2008/04/07/the-long-road-to-5-0-4 Best regards, Fr?d?ric Le 8 avr. 08 ? 10:48, danny q. a ?crit : > Hi, of course I want to say thanks for the software and everything, > and > of course I have a question... > > Does anyone actually have the flickr sidebar working in the stable > 5.0.3, or is the plugin more of a placeholder? I installed it, but I > get nothing rendered and see this error in the production logs. >> uninitialized constant FlickrSidebar::FlickrAggregation > Is there a fix for this, or does it just not work anymore? > > Also, I've noticed I've done quite a bit of tweaking to get 5.0.3- > stable > up and running (on my test, still not on my main site). For the work > I'm doing, am I just as well off switching to the svn branch, or are > there some major showstoppers in there? I know what I can see on the > Trac, but I was hoping to hear people's experience. > > Thanks! > --danny > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list -- 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 mattrose at folkwolf.net Fri Apr 11 15:23:09 2008 From: mattrose at folkwolf.net (Matt Rose) Date: Fri, 11 Apr 2008 15:23:09 -0400 Subject: [typo] recent comments sidebar plugin Message-ID: Has anyone done this? I was just perusing my database directly for comments, and thinking. Damn, there must be an easier way. And then I thought of a sidebar plugin. I haven't written one since my planet plugin was *way* too slow. I pretty much have the rails code in my head for it right now, but I'd hate to re-invent the wheel. Maybe this'll get me to upgrade to 5.0 finally. Matt From frederic at de-villamil.com Sat Apr 12 02:15:35 2008 From: frederic at de-villamil.com (Frederic de Villamil) Date: Sat, 12 Apr 2008 08:15:35 +0200 Subject: [typo] recent comments sidebar plugin In-Reply-To: References: Message-ID: Le 11 avr. 08 ? 21:23, Matt Rose a ?crit : > Has anyone done this? I was just perusing my database directly for > comments, and thinking. Damn, there must be an easier way. And then > I thought of a sidebar plugin. I haven't written one since my planet > plugin was *way* too slow. I pretty much have the rails code in my > head for it right now, but I'd hate to re-invent the wheel. Maybe > this'll get me to upgrade to 5.0 finally. > > Matt Hello, You have a list of avaliable plugins (well, the ones I've heard of) at http://typosphere.org/articles/2007/08/26/typo-plugins-directory Cheers, 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 joyride88 at gmail.com Mon Apr 14 16:16:03 2008 From: joyride88 at gmail.com (joy ride) Date: Mon, 14 Apr 2008 17:16:03 -0300 Subject: [typo] Typo web services Message-ID: <20791dbd0804141316g2201921l95d6999e466349ba@mail.gmail.com> Dear all, How do I use Typo's web services? I would like to display a list of the latest posts from within a separate rails application, but couldn't find any documentation on Typo's web services... Cheers, Sazima -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20080414/d67d48f4/attachment-0001.html From ruby-forum-incoming at andreas-s.net Mon Apr 14 17:19:40 2008 From: ruby-forum-incoming at andreas-s.net (Corey Tess) Date: Mon, 14 Apr 2008 23:19:40 +0200 Subject: [typo] Typo, shared hosting, and a subdomain.... Message-ID: I need some help with my Typo application. I moved it up to my host, setup the htaccess and redirects all that fun stuff. The redirects and htaccess seem to be good, but I get the wonderful, "Rails application failed to start". In my error logs I get this, [Mon Apr 14 16:08:22 2008] [error] [client 208.32.120.10] Premature end of script headers: /home/malag3n/public_html/blog/dispatch.cgi from /home/malag3n/blog/app/models/sidebar.rb:9 from /home/malag3n/blog/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:469:in `const_missing' from /home/malag3n/blog/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:260:in `load_missing_constant' from /home/malag3n/blog/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:471:in `const_missing' from /home/malag3n/blog/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:471:in `send' from /home/malag3n/blog/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:465:in `const_missing' from /home/malag3n/blog/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:453:in `const_missing' /home/malag3n/blog/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:249:in `load_missing_constant': Expected /home/malag3n/blog/app/helpers/application_helper.rb to define ApplicationHelper (LoadError) Can anyone help me figure out the issue? I am new rails and lost on what is causing this to fail so miserably. Thanks. -- Posted via http://www.ruby-forum.com/. From frederic at de-villamil.com Tue Apr 15 03:37:01 2008 From: frederic at de-villamil.com (Frederic de Villamil) Date: Tue, 15 Apr 2008 09:37:01 +0200 Subject: [typo] Typo web services In-Reply-To: <20791dbd0804141316g2201921l95d6999e466349ba@mail.gmail.com> References: <20791dbd0804141316g2201921l95d6999e466349ba@mail.gmail.com> Message-ID: <4BC209CD-A882-4004-9C93-ADE1051073F9@de-villamil.com> Hello, You can either use one of our API or just grab and parse the RSS feed (easiest way imho). Regards, Fr?d?ric Le 14 avr. 08 ? 22:16, joy ride a ?crit : > Dear all, > > How do I use Typo's web services? I would like to display a list of > the latest posts from within a separate rails application, but > couldn't find any documentation on Typo's web services... > > Cheers, Sazima > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list -- 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 joyride88 at gmail.com Tue Apr 15 09:39:30 2008 From: joyride88 at gmail.com (joy ride) Date: Tue, 15 Apr 2008 10:39:30 -0300 Subject: [typo] Typo web services In-Reply-To: <4BC209CD-A882-4004-9C93-ADE1051073F9@de-villamil.com> References: <20791dbd0804141316g2201921l95d6999e466349ba@mail.gmail.com> <4BC209CD-A882-4004-9C93-ADE1051073F9@de-villamil.com> Message-ID: <20791dbd0804150639x2595b9c2mff9244c96bdfbaa0@mail.gmail.com> Dear Fr?d?ric, Please be a little more specific/detailed. I never used either rails web services or RSS feed, so I don't no even how to start... Cheers, Sazima On Tue, Apr 15, 2008 at 4:37 AM, Frederic de Villamil < frederic at de-villamil.com> wrote: > Hello, > > You can either use one of our API or just grab and parse the RSS feed > (easiest way imho). > Regards, > Fr?d?ric > > Le 14 avr. 08 ? 22:16, joy ride a ?crit : > > > Dear all, > > > > How do I use Typo's web services? I would like to display a list of > > the latest posts from within a separate rails application, but > > couldn't find any documentation on Typo's web services... > > > > Cheers, Sazima > > _______________________________________________ > > Typo-list mailing list > > Typo-list at rubyforge.org > > http://rubyforge.org/mailman/listinfo/typo-list > > -- > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20080415/d75ff1ed/attachment.html From ulf.moehring at mac.com Tue Apr 15 13:14:37 2008 From: ulf.moehring at mac.com (Ulf Moehring) Date: Tue, 15 Apr 2008 19:14:37 +0200 Subject: [typo] Typo web services In-Reply-To: <20791dbd0804150639x2595b9c2mff9244c96bdfbaa0@mail.gmail.com> References: <20791dbd0804141316g2201921l95d6999e466349ba@mail.gmail.com> <4BC209CD-A882-4004-9C93-ADE1051073F9@de-villamil.com> <20791dbd0804150639x2595b9c2mff9244c96bdfbaa0@mail.gmail.com> Message-ID: <83007245-EDCE-4C7E-B7D3-66018E935A9E@mac.com> Hi Sazima, You could install the syndication gem (sudo gem install syndication) and use it to read the latest entries from your blog's rss feed (something like http://yourdomain.com/articles.rss). Here's an example of how to use it: http://groups.google.com/group/ comp.lang.ruby/browse_thread/thread/c8c0b0f48a4a3ede Here's the rdoc page: http://syndication.rubyforge.org/doc/ Ulf On Apr 15, 2008, at 3:39 PM, joy ride wrote: > Dear Fr?d?ric, > > Please be a little more specific/detailed. I never used either > rails web services or RSS feed, so I don't no even how to start... > > Cheers, Sazima > > On Tue, Apr 15, 2008 at 4:37 AM, Frederic de Villamil villamil.com> wrote: > Hello, > > You can either use one of our API or just grab and parse the RSS feed > (easiest way imho). > Regards, > Fr?d?ric > > Le 14 avr. 08 ? 22:16, joy ride a ?crit : > > > Dear all, > > > > How do I use Typo's web services? I would like to display a list of > > the latest posts from within a separate rails application, but > > couldn't find any documentation on Typo's web services... > > > > Cheers, Sazima > > _______________________________________________ > > Typo-list mailing list > > Typo-list at rubyforge.org > > http://rubyforge.org/mailman/listinfo/typo-list > > -- > 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 > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list EMAIL ULF.MOEHRING at MAC.COM | AIM ULF.MOEHRING at MAC.COM | SKYPE ULF.MOEHRING -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20080415/984243bf/attachment.html From ulf.moehring at mac.com Tue Apr 15 13:20:03 2008 From: ulf.moehring at mac.com (Ulf Moehring) Date: Tue, 15 Apr 2008 19:20:03 +0200 Subject: [typo] Fwd: Typo web services References: <83007245-EDCE-4C7E-B7D3-66018E935A9E@mac.com> Message-ID: Or even better: Use FeedTools (http://sporkmonger.com/projects/ feedtools/) instead of syndication Begin forwarded message: > From: Ulf Moehring > Date: April 15, 2008 7:14:37 PM GMT+02:00 > To: typo-list at rubyforge.org > Subject: Re: [typo] Typo web services > > Hi Sazima, > > You could install the syndication gem (sudo gem install > syndication) and use it to read the latest entries from your blog's > rss feed (something like http://yourdomain.com/articles.rss). > > Here's an example of how to use it: http://groups.google.com/group/ > comp.lang.ruby/browse_thread/thread/c8c0b0f48a4a3ede > > Here's the rdoc page: http://syndication.rubyforge.org/doc/ > > Ulf > > > On Apr 15, 2008, at 3:39 PM, joy ride wrote: >> Dear Fr?d?ric, >> >> Please be a little more specific/detailed. I never used either >> rails web services or RSS feed, so I don't no even how to start... >> >> Cheers, Sazima >> >> On Tue, Apr 15, 2008 at 4:37 AM, Frederic de Villamil > villamil.com> wrote: >> Hello, >> >> You can either use one of our API or just grab and parse the RSS feed >> (easiest way imho). >> Regards, >> Fr?d?ric >> >> Le 14 avr. 08 ? 22:16, joy ride a ?crit : >> >> > Dear all, >> > >> > How do I use Typo's web services? I would like to display a list of >> > the latest posts from within a separate rails application, but >> > couldn't find any documentation on Typo's web services... >> > >> > Cheers, Sazima >> > _______________________________________________ >> > Typo-list mailing list >> > Typo-list at rubyforge.org >> > http://rubyforge.org/mailman/listinfo/typo-list >> >> -- >> 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 >> >> _______________________________________________ >> Typo-list mailing list >> Typo-list at rubyforge.org >> http://rubyforge.org/mailman/listinfo/typo-list > > EMAIL ULF.MOEHRING at MAC.COM | AIM ULF.MOEHRING at MAC.COM | SKYPE > ULF.MOEHRING > EMAIL ULF.MOEHRING at MAC.COM | AIM ULF.MOEHRING at MAC.COM | SKYPE ULF.MOEHRING -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20080415/47dbf472/attachment-0001.html From cdm.scottd at yahoo.es Thu Apr 17 06:47:53 2008 From: cdm.scottd at yahoo.es (Scott) Date: Thu, 17 Apr 2008 10:47:53 +0000 (GMT) Subject: [typo] Installation help Message-ID: <742340.92484.qm@web28216.mail.ukl.yahoo.com> Hi, I'm new to Rails, and Typo is the first app I've attemptedto install. Unfortunately, I'm having trouble completing theinstallation, as I get the error which I've pasted below when visitingmy site. On a number of different forums, it's advised that youcheck your permissions. I've made sure that ~typo is set to 777, and~typo/public (and all files/subdirectories) is also set to 777. Thishasn't resolved the problem. Does anyone have any ideas I could try? I'd be grateful for any advice offered. Scott #!/usr/bin/env ruby # # You may specify the path to the FastCGI crash log (a log of unhandled # exceptions which forced the FastCGI instance to exit, great for debugging) # and the number of requests to process before running garbage collection. # # By default, the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.log # and the GC period is nil (turned off). A reasonable number of requests # could range from 10-100 depending on the memory footprint of your app. # # Example: # # Default log path, normal GC behavior. # RailsFCGIHandler.process! # # # Default log path, 50 requests between GC. # RailsFCGIHandler.process! nil, 50 # # # Custom log path, normal GC behavior. # RailsFCGIHandler.process! '/var/log/myapp_fcgi_crash.log' # require File.dirname(__FILE__) + "/../config/environment" require 'fcgi_handler' RailsFCGIHandler.process! ___________________________________________________________ Yahoo! For Good helps you make a difference http://uk.promotions.yahoo.com/forgood/ From orangej2 at gmail.com Thu Apr 17 17:43:06 2008 From: orangej2 at gmail.com (John Gedeon) Date: Thu, 17 Apr 2008 14:43:06 -0700 Subject: [typo] Migrating from Blogger Message-ID: <68dc58930804171443l2b666cbbk11ce13fa98dede4e@mail.gmail.com> Hello, I have been using Typo for a little bit and I like it. A friend of mine wants me to migrate their blogger blog to a custom hosted one that I will admin for them. I like typo so I would go with that but I wanted to know if there was a way to easily import posts and preserve permalinks like word press seems to have? John -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20080417/924b6608/attachment.html From nicholas.wieland at gmail.com Tue Apr 22 13:37:50 2008 From: nicholas.wieland at gmail.com (Nicholas Wieland) Date: Tue, 22 Apr 2008 19:37:50 +0200 Subject: [typo] Bug in sidebars Message-ID: ActiveRecord::AssociationTypeMismatch (Blog expected, got Blog): /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/ active_record/associations/association_proxy.rb:150:in `raise_on_type_mismatch' /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/ active_record/associations/belongs_to_association.rb:22:in `replace' /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/ active_record/associations.rb:1009:in `blog=' /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/ active_record/base.rb:2117:in `send' /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/ active_record/base.rb:2117:in `attributes=' /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/ active_record/base.rb:2116:in `each' /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/ active_record/base.rb:2116:in `attributes=' /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/ active_record/base.rb:1926:in `initialize' /app/models/sidebar.rb:195:in `initialize' /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/ active_record/validations.rb:908:in `new' /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/ active_record/validations.rb:908:in `create!' /app/controllers/admin/sidebar_controller.rb:27:in `set_active' /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/ active_record/base.rb:1748:in `inject' /app/controllers/admin/sidebar_controller.rb:25:in `each' /app/controllers/admin/sidebar_controller.rb:25:in `inject' /app/controllers/admin/sidebar_controller.rb:25:in `set_active' /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/base.rb:1158:in `send' /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/base.rb:1158:in `perform_action_without_filters' /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:697:in `call_filters' /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:689:in `perform_action_without_benchmark' /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/benchmarking.rb:68:in `perform_action_without_rescue' /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure' /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/benchmarking.rb:68:in `perform_action_without_rescue' /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/rescue.rb:199:in `perform_action_without_caching' /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/caching.rb:678:in `perform_action' /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/ active_record/connection_adapters/abstract/query_cache.rb:33:in `cache' /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/ active_record/query_cache.rb:8:in `cache' /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/caching.rb:677:in `perform_action' /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/base.rb:524:in `send' /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/base.rb:524:in `process_without_filters' /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:685:in `process_without_session_management_support' /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/session_management.rb:123:in `process' /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/base.rb:388:in `process' /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/dispatcher.rb:171:in `handle_request' /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/dispatcher.rb:115:in `dispatch' /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/dispatcher.rb:126:in `dispatch_cgi' /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/dispatcher.rb:9:in `dispatch' /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/ mongrel/rails.rb:76:in `process' /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/ mongrel/rails.rb:74:in `synchronize' /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/ mongrel/rails.rb:74:in `process' /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb: 159:in `process_client' /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb: 158:in `each' /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb: 158:in `process_client' /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb: 285:in `run' /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb: 285:in `initialize' /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb: 285:in `new' /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb: 285:in `run' /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb: 268:in `initialize' /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb: 268:in `new' /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb: 268:in `run' /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/ configurator.rb:282:in `run' /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/ configurator.rb:281:in `each' /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/ configurator.rb:281:in `run' /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails: 128:in `run' /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/ command.rb:212:in `run' /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails: 281 /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/ active_support/dependencies.rb:489:in `load' /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/ active_support/dependencies.rb:489:in `load' /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/ active_support/dependencies.rb:342:in `new_constants_in' /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/ active_support/dependencies.rb:489:in `load' /opt/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/ servers/mongrel.rb:64 /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb: 27:in `gem_original_require' /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb: 27:in `require' /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/ active_support/dependencies.rb:496:in `require' /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/ active_support/dependencies.rb:342:in `new_constants_in' /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/ active_support/dependencies.rb:496:in `require' /opt/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/ server.rb:39 /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb: 27:in `gem_original_require' /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb: 27:in `require' script/server:3 Rendering /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/templates/rescues/layout.erb (internal_server_error) Typo 2.0.3 on postgresql. Someone have any clue ? ngw -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2435 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20080422/8dc16d01/attachment.bin