Re: [Radiant] radiant on dremhost - incomplete dispatch.fcgi headers?
usually I just hit whatever page I was working on before... going to try hitting a cached page first then. so, I created a new user and installed everything again, this time from svn, while keeping the original mysql data. I see the cached site fine, and the login page for the admin as well. but when I login, I get an Application Error (Apache) error. production.log has the following error when trying to render admin/page/index: ActionView::TemplateError (The single-table inheritance mechanism failed to locate the subclass: 'MailerPage'. This error is raised because the column 'class_name' is reserved for storing the class in case of inheritance. Please rename this column if you didn't intend it to be used for storing the inheritance class or overwrite Page.inheritance_column to use another column for that information.) on line #44 of app/views/admin/page/_node.rhtml: 41: % level = level + 1 -% 42: % 43: if expanded 44: page.children.each do |child| 45: -% 46: %= render_node child, :level = level, :simple = simple -% 47: % #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1069:in `instantiate_without_callbacks' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/callbacks.rb:204:in `instantiate' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:427:in `find_by_sql' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:427:in `collect!' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:427:in `find_by_sql' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:997:in `find_every' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:418:in `find' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/associations/has_many_association.rb:91:in `find' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:159:in `find_target' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/associations/has_many_association.rb:123:in `load_target' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:122:in `method_missing' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/associations/has_many_association.rb:98:in `method_missing' #{RAILS_ROOT}/app/views/admin/page/_node.rhtml:44:in `_run_rhtml_47app47views47admin47page47_node46rhtml' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:326:in `send' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:326:in `compile_and_render_template' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:301:in `render_template' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:260:in `render_file' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:275:in `render' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/partials.rb:59:in `render_partial' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:30:in `benchmark' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/partials.rb:58:in `render_partial' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:287:in `render' #{RAILS_ROOT}/app/helpers/admin/page_helper.rb:4:in `render_node' #{RAILS_ROOT}/app/views/admin/page/index.rhtml:14:in `_run_rhtml_47app47views47admin47page47index46rhtml' (leaving out rails-specific dump) apache's log is empty. I have re-installed the Mailer extension and run rake db:migrate:extensions... no output on the rake task though, should I scrap the extension tables and migrate again? 2007/2/22, Jacob Burkhart [EMAIL PROTECTED]: Ohh, good to know that the memory limit is tied to the user account. I'll have to start creating new users for each new site I setup. I did notice one time my radiant on dreamhost crapped out while I was doing a lot of intesive admin work. And it repeatedly failed to restart after that for about 15 minutes... And then eventually it was fine again without me doing anything. I wonder if the memory limit is due to some extra startup logic or checking etc... What's the first page you hit after killing all the crapping out fcgis? This might make a difference. I'd think the best thing to do is hit a page that is already cached before hitting the admin. -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] radiant on dremhost - incomplete dispatch.fcgi headers?
ok, now I'm able to see admin/pages/index and a few other pages, off and on. can't see the assets page at all, though the tab is there. weird thing is, I can't see any of the dispatch processes, with neither users (main user and the new user I have set up for running radiant) 2007/2/24, Oliver Barnes [EMAIL PROTECTED]: usually I just hit whatever page I was working on before... going to try hitting a cached page first then. so, I created a new user and installed everything again, this time from svn, while keeping the original mysql data. I see the cached site fine, and the login page for the admin as well. but when I login, I get an Application Error (Apache) error. production.log has the following error when trying to render admin/page/index: ActionView::TemplateError (The single-table inheritance mechanism failed to locate the subclass: 'MailerPage'. This error is raised because the column 'class_name' is reserved for storing the class in case of inheritance. Please rename this column if you didn't intend it to be used for storing the inheritance class or overwrite Page.inheritance_column to use another column for that information.) on line #44 of app/views/admin/page/_node.rhtml: 41: % level = level + 1 -% 42: % 43: if expanded 44: page.children.each do |child| 45: -% 46: %= render_node child, :level = level, :simple = simple -% 47: % #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1069:in `instantiate_without_callbacks' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/callbacks.rb:204:in `instantiate' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:427:in `find_by_sql' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:427:in `collect!' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:427:in `find_by_sql' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:997:in `find_every' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:418:in `find' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/associations/has_many_association.rb:91:in `find' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:159:in `find_target' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/associations/has_many_association.rb:123:in `load_target' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:122:in `method_missing' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/associations/has_many_association.rb:98:in `method_missing' #{RAILS_ROOT}/app/views/admin/page/_node.rhtml:44:in `_run_rhtml_47app47views47admin47page47_node46rhtml' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:326:in `send' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:326:in `compile_and_render_template' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:301:in `render_template' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:260:in `render_file' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:275:in `render' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/partials.rb:59:in `render_partial' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:30:in `benchmark' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/partials.rb:58:in `render_partial' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:287:in `render' #{RAILS_ROOT}/app/helpers/admin/page_helper.rb:4:in `render_node' #{RAILS_ROOT}/app/views/admin/page/index.rhtml:14:in `_run_rhtml_47app47views47admin47page47index46rhtml' (leaving out rails-specific dump) apache's log is empty. I have re-installed the Mailer extension and run rake db:migrate:extensions... no output on the rake task though, should I scrap the extension tables and migrate again? 2007/2/22, Jacob Burkhart [EMAIL PROTECTED]: Ohh, good to know that the memory limit is tied to the user account. I'll have to start creating new users for each new site I setup. I did notice one time my radiant on dreamhost crapped out while I was doing a lot of intesive admin work. And it repeatedly failed to restart after that for about 15 minutes... And then eventually it was fine again without me doing anything. I wonder if the memory limit is due to some extra startup logic or checking etc... What's the first page you hit after killing all the crapping out fcgis? This might make a difference. I'd think the best thing to do is hit a page that is already cached before hitting the admin. -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http
Re: [Radiant] Radiant: config error
unless you're trying to deliberately run on dev mode there... 2007/2/24, Oliver Barnes [EMAIL PROTECTED]: Hi Keith, is buyscoot_radiantdev your production database? if not, try uncommenting ENV['RAILS_ENV'] ||= 'production' on your config/environment.rb file, so that it loads the right database 2007/2/24, keith [EMAIL PROTECTED]: Hi I've installed Radiant on Site5 hosting using the wiki tutorial referring to a small orange hosting…I'm getting the following error at the end of the tutorial… ActiveRecord::StatementInvalid in SiteController#show_page Mysql::Error: Table 'buyscoot_radiantdev.config' doesn't exist: SHOW FIELDS FROM config RAILS_ROOT: ../config/.. Application Trace | Framework Trace | Full Trace #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:120:in `log' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:184:in `execute' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:292:in `columns' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:696:in `columns' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:709:in `column_names' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:722:in `column_methods_hash' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1158:in `all_attributes_exists?' #{RAILS_ROOT}/lib/login_system.rb:77:in `all?' #{RAILS_ROOT}/app/models/radiant/config.rb:31:in `[]' #{RAILS_ROOT}/app/controllers/site_controller.rb:47:in `dev?' #{RAILS_ROOT}/app/controllers/site_controller.rb:51:in `live?' #{RAILS_ROOT}/app/controllers/site_controller.rb:18:in `show_page' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:120:in `log' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:184:in `execute' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:292:in `columns' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:696:in `columns' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:709:in `column_names' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:722:in `column_methods_hash' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1158:in `all_attributes_exists?' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1158:in `all_attributes_exists?' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1095:in `method_missing' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:941:in `perform_action_without_filters' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:368:in `perform_action_without_benchmark' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue' /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/rescue.rb:82:in `perform_action' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:408:in `process_without_filters' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:377:in `process_without_session_management_support' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/session_management.rb:117:in `process' #{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:38:in `dispatch' #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:150:in `process_request' #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:54:in `process!' /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:609:in `each_cgi' #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:53:in `process!' #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:23:in `process!' dispatch.fcgi:24 #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:120:in `log' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:184:in `execute' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:292:in `columns' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:696:in `columns' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:709:in `column_names' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:722:in `column_methods_hash' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1158:in `all_attributes_exists?' #{RAILS_ROOT}/lib/login_system.rb
Re: [Radiant] Radiant: config error
Hi Keith, is buyscoot_radiantdev your production database? if not, try uncommenting ENV['RAILS_ENV'] ||= 'production' on your config/environment.rb file, so that it loads the right database 2007/2/24, keith [EMAIL PROTECTED]: Hi I've installed Radiant on Site5 hosting using the wiki tutorial referring to a small orange hosting…I'm getting the following error at the end of the tutorial… ActiveRecord::StatementInvalid in SiteController#show_page Mysql::Error: Table 'buyscoot_radiantdev.config' doesn't exist: SHOW FIELDS FROM config RAILS_ROOT: ../config/.. Application Trace | Framework Trace | Full Trace #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:120:in `log' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:184:in `execute' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:292:in `columns' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:696:in `columns' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:709:in `column_names' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:722:in `column_methods_hash' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1158:in `all_attributes_exists?' #{RAILS_ROOT}/lib/login_system.rb:77:in `all?' #{RAILS_ROOT}/app/models/radiant/config.rb:31:in `[]' #{RAILS_ROOT}/app/controllers/site_controller.rb:47:in `dev?' #{RAILS_ROOT}/app/controllers/site_controller.rb:51:in `live?' #{RAILS_ROOT}/app/controllers/site_controller.rb:18:in `show_page' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:120:in `log' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:184:in `execute' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:292:in `columns' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:696:in `columns' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:709:in `column_names' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:722:in `column_methods_hash' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1158:in `all_attributes_exists?' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1158:in `all_attributes_exists?' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1095:in `method_missing' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:941:in `perform_action_without_filters' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:368:in `perform_action_without_benchmark' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue' /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/rescue.rb:82:in `perform_action' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:408:in `process_without_filters' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:377:in `process_without_session_management_support' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/session_management.rb:117:in `process' #{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:38:in `dispatch' #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:150:in `process_request' #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:54:in `process!' /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:609:in `each_cgi' #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:53:in `process!' #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:23:in `process!' dispatch.fcgi:24 #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:120:in `log' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:184:in `execute' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:292:in `columns' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:696:in `columns' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:709:in `column_names' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:722:in `column_methods_hash' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1158:in `all_attributes_exists?' #{RAILS_ROOT}/lib/login_system.rb:77:in `all?' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1158:in `all_attributes_exists?' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1095:in `method_missing'
[Radiant] radiant on dremhost - incomplete dispatch.fcgi headers?
I have radiant installed over rubygems on dreamhost, and it works fine with webbrick, but not with apache, for some reason. I get nothing on the rails logs, and i get the following on apache's error log: [Thu Feb 22 10:39:12 2007] [error] FastCGI: comm with (dynamic) server /home/ol1barn3s/parabolaproducoes.oliverbarnes.com/public/dispatch.fcgi aborted: (first read) idle timeout (60 sec) [Thu Feb 22 10:39:12 2007] [error] FastCGI: incomplete headers (0 bytes) received from server /home/ol1barn3s/parabolaproducoes.oliverbarnes.com/public/dispatch.fcgi any ideas of what could be causing this? i've tripled-checked the recommendations on dreamhost's wiki entry about running rails there, and I have a couple of other rails apps running fine there with the same configurations. I've even recreated the subdomain there and reinstalled radiant, but no luck with that either. - Oliver ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] radiant on dremhost - incomplete dispatch.fcgi headers?
Hi Jacob, no, the other log files are empty, aside from the db bootstraping info. I do have a couple of other rails projects running on the same account, and I've compared both environment and dispatch files, nothing seems to be wrong... here's my dispatch.fcgi: - require File.dirname(__FILE__) + /../config/environment require 'fcgi_handler' class RailsFCGIHandler private def frao_handler(signal) dispatcher_log :info, asked to terminate immediately dispatcher_log :info, frao handler working its magic! restart_handler(signal) end alias_method :exit_now_handler, :frao_handler end RailsFCGIHandler.process! nil, 50 --- and my environment.rb is the standard one installed with radiant, I just uncommented ENV['RAILS_ENV'] ||= 'production' on it. this problem is mentioned in a lot places on the web, but the solutions given vary wildly - force your GC to collect every 50 requests, run on dev mode first then run on production, check permissions on /tmp and /log... tried them all out. There are threads mentioning hosting services (not just dreamhost) deliberately killing off dispatch.fcgi processes from certain accounts that have been bad with runaway processes. but thing is, the only rails app I run full time here is running ok, and it doesn't have much traffic at all... I did send a support ticket asking whether that's happening, so let's see how it goes. meanwhile, i'm going to try running it as a standalone app as you suggested 2007/2/22, Jacob Burkhart [EMAIL PROTECTED]: Do you see any other information in other log files? As a test, try creating a fresh empty rails project. Can you run rails testproject on the dreamhost ssh command line See if you can get an empty rails site running. Then compare the dispatch.fcgi and environment.rb of the test project with the radiant you are trying to run. Also try installing radiant as a full standalone app instead of using the gem. -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] radiant on dremhost - incomplete dispatch.fcgi headers?
dreamhost responded saying I ran against a memory limit for the user I'm running the app on. how i hit the limit with only development sites with no traffic and ruby processes only running for a fraction of the time, is a mistery to me. they suggested creating a new user and installing everything over again... sigh... anyway, thanks for all the help jakob 2007/2/22, Oliver Barnes [EMAIL PROTECTED]: Hi Jacob, no, the other log files are empty, aside from the db bootstraping info. I do have a couple of other rails projects running on the same account, and I've compared both environment and dispatch files, nothing seems to be wrong... here's my dispatch.fcgi: - require File.dirname(__FILE__) + /../config/environment require 'fcgi_handler' class RailsFCGIHandler private def frao_handler(signal) dispatcher_log :info, asked to terminate immediately dispatcher_log :info, frao handler working its magic! restart_handler(signal) end alias_method :exit_now_handler, :frao_handler end RailsFCGIHandler.process! nil, 50 --- and my environment.rb is the standard one installed with radiant, I just uncommented ENV['RAILS_ENV'] ||= 'production' on it. this problem is mentioned in a lot places on the web, but the solutions given vary wildly - force your GC to collect every 50 requests, run on dev mode first then run on production, check permissions on /tmp and /log... tried them all out. There are threads mentioning hosting services (not just dreamhost) deliberately killing off dispatch.fcgi processes from certain accounts that have been bad with runaway processes. but thing is, the only rails app I run full time here is running ok, and it doesn't have much traffic at all... I did send a support ticket asking whether that's happening, so let's see how it goes. meanwhile, i'm going to try running it as a standalone app as you suggested 2007/2/22, Jacob Burkhart [EMAIL PROTECTED]: Do you see any other information in other log files? As a test, try creating a fresh empty rails project. Can you run rails testproject on the dreamhost ssh command line See if you can get an empty rails site running. Then compare the dispatch.fcgi and environment.rb of the test project with the radiant you are trying to run. Also try installing radiant as a full standalone app instead of using the gem. -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Radiant 0.6 RC1
hello again, so followed the suggestion to install my own rubygems and then install the radiant gem. got everything going, on webrick the admin came up fine. but when I tried to use dreamhost's standard apache/fcgi, the application didn't start, getting the application error Rails application failed to start properly and nothing on the logs. i then tried running it on cgi, but got the same problem. what could be causing this? 2007/2/19, Andrew Klein [EMAIL PROTECTED]: John Joyce wrote: If installing your own local RubyGems on DreamHost, shouldn't you install a local Ruby? or no? I've personally struggled to get Radiant going on DH!!! Always a BlueCloth dependency error. Says not installed. But it's there, PATHs are set. Since then, deleted all. Maybe I'll try again. Would be nice to have a full, detailed, step-by-step for DH and Radiant, starting from nothing. Take a look at http://www.bladedthoth.com/news/2007/02/04/installing-radiant-0-6-0-rc1-on-dreamhost/ and try those steps out. I run my site on DreamHost. RC1 is a lot easier than 0.5.2 to get running at least. If you still have problems with bluecloth being detected, you have a few options. Easiest may be going into radiant path/vendor and typing gem unpack bluecloth then change the name of the directory made to 'bluecloth' (without the ''s) - the directory will usually pop up as 'bluecloth-#.#.#', so easiest way would be something like this: mv bluecloth* bluecloth Let me know if you need more help or if my steps work well. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Radiant 0.6 RC1
the radiant/rails logs are empty, and dreamhost one has this: FastCGI: incomplete headers (0 bytes) received from server /path/to/app/public/dispatch.fcgi 2007/2/19, Jacob Burkhart [EMAIL PROTECTED]: tried to use dreamhost's standard apache/fcgi, the application didn't start, getting the application error Rails application failed to start properly and nothing on the logs. What do your logs say? Check both the standard Dreamhost-provided log directory as well as radiant logs. -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Administrative ACL
+1, I'd also love to hear about how to implement a content editor role 2007/2/20, Andre Lewis [EMAIL PROTECTED]: Any takers on this question? Insight on any plans for access control is welcome, as is input from anyone who's hacked ACL onto Radiant's admin interface. Thanks, Andre On 2/12/07, Andre Lewis [EMAIL PROTECTED] wrote: Hi all. John, Sean and others -- nice work on Radiant so far! What is the vision regarding finer-grained ACL on Radiant's administrative interface? Any plans for it, or has anyone else implemented access control in Radiant? I am envisioning -- for example -- the ability to make some users content editors for a node on the tree, vs. other users who can administer templates, add and remove pages, etc. Cheers, Andre -- Andre Lewis Author, Google Maps Applications with Rails and Ajax http://www.amazon.com/dp/1590597877/ My blog: http://earthcode.com ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Radiant 0.6 RC1
how do I install it on a shared host that doesn't have the gem installed? is there a way to freeze the gem to /vendor? 2007/2/6, John W. Long [EMAIL PROTECTED]: Adam Salter wrote: Question: Is there any difference in init/run time with a Rails app running Rails from vendor/rails? I'd hope it was the same, but surely the full gem install could cache more stuff? It's probably a little slower with RubyGems, but I haven't run any performance metrics on it. -- John Long http://wiseheartdesign.com ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Radiant Overview
no, everything looks very clear to me, and I'm a newbie - Oliver 2006/8/15, Nathan Wright [EMAIL PROTECTED]: Everything looks good to me. Easy to understand, and still enough of a teaser to make a person want to try more. On 8/15/06, John W. Long [EMAIL PROTECTED] wrote: I finally got around to creating a small overview of Radiant's features: http://radiantcms.org/overview/ Does anything strike you as hard to understand? -- John Long http://wiseheartdesign.com ___ Radiant mailing list Radiant@lists.radiantcms.org http://lists.radiantcms.org/mailman/listinfo/radiant -- Nathan ___ Radiant mailing list Radiant@lists.radiantcms.org http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Radiant@lists.radiantcms.org http://lists.radiantcms.org/mailman/listinfo/radiant