Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
I have this problem when i want to edit some pages!
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
amr  
View profile  
 More options Nov 1 2010, 9:29 am
From: amr <amr...@gmail.com>
Date: Mon, 1 Nov 2010 06:29:38 -0700 (PDT)
Local: Mon, Nov 1 2010 9:29 am
Subject: I have this problem when i want to edit some pages!
I have this (undefined method `include?' for nil:NilClass) when i
tried to edit some pages.
Also, I have (undefined method `include?' ) when i tried to see the
pages! some content are displayed and else throw this error!

I can handle it when I touch tmp/restart.txt...

But I want to restart the app when this error came!! any solution???

This from the log

Processing Admin::PagesController#edit (for 213.xx.xx.178 at
2010-11-01 13:23:54) [GET]
  Parameters: {"action"=>"edit", "id"=>"15", "controller"=>"admin/
pages"}
Rendering template within layouts/application
Rendering admin/pages/edit

ActionView::TemplateError (undefined method `include?' for
nil:NilClass) on line #26 of /opt/ruby-enterprise/lib/ruby/gems/1.8/
gems/radiant-0.9.1/app/views/admin/pages/_fields.html.haml:
23:           %a.popup{:href=>
'#add_part_popup', :title=>t('add_part')}
24:             = image('add_tab', :alt=>t('add_part'), :title=>"")
25:       #pages.pages
26:         = render :partial => 'admin/page_parts/
page_part', :collection => @page.parts
27:     = render_region :parts_bottom, :locals => {:f => fields}
28:   - form.edit_layout_and_type do
29:     .set

    /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/will_paginate-2.3.15/
lib/will_paginate/finder.rb:168:in `method_missing'
    radiant (0.9.1) vendor/plugins/haml/rails/./lib/haml/helpers/
action_view_mods.rb:11:in `render'
    radiant (0.9.1) vendor/plugins/haml/rails/./lib/haml/helpers.rb:
90:in `non_haml'
    radiant (0.9.1) vendor/plugins/haml/rails/./lib/haml/helpers/
action_view_mods.rb:11:in `render'
    radiant (0.9.1) app/views/admin/pages/_fields.html.haml:26
    radiant (0.9.1) vendor/plugins/haml/rails/./lib/haml/helpers.rb:
343:in `call'
    radiant (0.9.1) vendor/plugins/haml/rails/./lib/haml/helpers.rb:
343:in `capture_haml'
    radiant (0.9.1) vendor/plugins/haml/rails/./lib/haml/helpers.rb:
545:in `with_haml_buffer'
    radiant (0.9.1) vendor/plugins/haml/rails/./lib/haml/helpers.rb:
339:in `capture_haml'
    radiant (0.9.1) vendor/plugins/haml/rails/./lib/haml/helpers/
action_view_mods.rb:88:in `capture'
    radiant (0.9.1) lib/radiant/admin_ui/region_partials.rb:13:in
`method_missing'
    radiant (0.9.1) app/views/admin/pages/_fields.html.haml:19
    radiant (0.9.1) app/helpers/admin/regions_helper.rb:6:in `call'
    radiant (0.9.1) app/helpers/admin/regions_helper.rb:6:in
`render_region'
    radiant (0.9.1) app/views/admin/pages/_fields.html.haml:6:in
`_run_haml_47opt47ruby45enterprise47lib47ruby47gems47146847gems47radiant450 46946147app47views47admin47pages47_fields46html46haml_locals_fields_object'
    radiant (0.9.1) vendor/plugins/haml/rails/./lib/haml/helpers/
action_view_mods.rb:11:in `render'
    radiant (0.9.1) vendor/plugins/haml/rails/./lib/haml/helpers.rb:
90:in `non_haml'
    radiant (0.9.1) vendor/plugins/haml/rails/./lib/haml/helpers/
action_view_mods.rb:11:in `render'
    radiant (0.9.1) app/views/admin/pages/edit.html.haml:8
    radiant (0.9.1) vendor/plugins/haml/rails/./lib/haml/helpers/
action_view_mods.rb:204:in `call'
    radiant (0.9.1) vendor/plugins/haml/rails/./lib/haml/helpers/
action_view_mods.rb:204
    radiant (0.9.1) vendor/plugins/haml/rails/./lib/haml/helpers.rb:
567:in `call'
    radiant (0.9.1) vendor/plugins/haml/rails/./lib/haml/helpers.rb:
567:in `haml_bind_proc'
    radiant (0.9.1) vendor/plugins/haml/rails/./lib/haml/helpers/
action_view_mods.rb:210:in `form_for'
    radiant (0.9.1) app/views/admin/pages/edit.html.haml:7
    radiant (0.9.1) vendor/plugins/haml/rails/./lib/haml/helpers.rb:
343:in `call'
    radiant (0.9.1) vendor/plugins/haml/rails/./lib/haml/helpers.rb:
343:in `capture_haml'
    radiant (0.9.1) vendor/plugins/haml/rails/./lib/haml/helpers.rb:
545:in `with_haml_buffer'
    radiant (0.9.1) vendor/plugins/haml/rails/./lib/haml/helpers.rb:
339:in `capture_haml'
    radiant (0.9.1) vendor/plugins/haml/rails/./lib/haml/helpers/
action_view_mods.rb:88:in `capture'
    radiant (0.9.1) lib/radiant/admin_ui/region_partials.rb:13:in
`method_missing'
    radiant (0.9.1) app/views/admin/pages/edit.html.haml:6
    radiant (0.9.1) app/helpers/admin/regions_helper.rb:6:in `call'
    radiant (0.9.1) app/helpers/admin/regions_helper.rb:6:in
`render_region'
    radiant (0.9.1) app/views/admin/pages/edit.html.haml:3:in
`_run_haml_47opt47ruby45enterprise47lib47ruby47gems47146847gems47radiant450 46946147app47views47admin47pages47edit46html46haml'
    radiant (0.9.1) vendor/plugins/haml/rails/./lib/haml/helpers/
action_view_mods.rb:13:in `render'
    radiant (0.9.1) vendor/plugins/haml/rails/./lib/haml/helpers/
action_view_mods.rb:13:in `render'
    radiant (0.9.1) vendor/plugins/haml/rails/./lib/sass/plugin/
rails.rb:20:in `process'
    passenger (3.0.0) lib/phusion_passenger/rack/request_handler.rb:
96:in `process_request'
    passenger (3.0.0) lib/phusion_passenger/
abstract_request_handler.rb:513:in `accept_and_process_next_request'
    passenger (3.0.0) lib/phusion_passenger/
abstract_request_handler.rb:274:in `main_loop'
    passenger (3.0.0) lib/phusion_passenger/classic_rails/
application_spawner.rb:321:in `start_request_handler'
    passenger (3.0.0) lib/phusion_passenger/classic_rails/
application_spawner.rb:275:in `send'
    passenger (3.0.0) lib/phusion_passenger/classic_rails/
application_spawner.rb:275:in `handle_spawn_application'
    passenger (3.0.0) lib/phusion_passenger/utils.rb:479:in
`safe_fork'
    passenger (3.0.0) lib/phusion_passenger/classic_rails/
application_spawner.rb:270:in `handle_spawn_application'
    passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:357:in
`__send__'
    passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:357:in
`server_main_loop'
    passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:206:in
`start_synchronously'
    passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:180:in
`start'
    passenger (3.0.0) lib/phusion_passenger/classic_rails/
application_spawner.rb:149:in `start'
    passenger (3.0.0) lib/phusion_passenger/spawn_manager.rb:219:in
`spawn_rails_application'
    passenger (3.0.0) lib/phusion_passenger/
abstract_server_collection.rb:132:in `lookup_or_add'
    passenger (3.0.0) lib/phusion_passenger/spawn_manager.rb:214:in
`spawn_rails_application'
    passenger (3.0.0) lib/phusion_passenger/
abstract_server_collection.rb:82:in `synchronize'
    passenger (3.0.0) lib/phusion_passenger/
abstract_server_collection.rb:79:in `synchronize'
    passenger (3.0.0) lib/phusion_passenger/spawn_manager.rb:213:in
`spawn_rails_application'
    passenger (3.0.0) lib/phusion_passenger/spawn_manager.rb:132:in
`spawn_application'
    passenger (3.0.0) lib/phusion_passenger/spawn_manager.rb:275:in
`handle_spawn_application'
    passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:357:in
`__send__'
    passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:357:in
`server_main_loop'
    passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:206:in
`start_synchronously'
    passenger (3.0.0) helper-scripts/passenger-spawn-server:99

Rendering /home/deploy/beta/xxx/public/500.html (500 Internal Server
Error)

-- amr


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
amr  
View profile  
 More options Nov 3 2010, 4:25 am
From: amr <amr...@gmail.com>
Date: Wed, 3 Nov 2010 01:25:23 -0700 (PDT)
Local: Wed, Nov 3 2010 4:25 am
Subject: Re: I have this problem when i want to edit some pages!
I got it fixed when I remove will_paginate 2.3.15 .. seems radiant
0.9.1 crashes with this gem! (sometimes)

On Nov 1, 3:29 pm, amr <amr...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jim Gay  
View profile  
 More options Nov 3 2010, 8:52 am
From: Jim Gay <j...@saturnflyer.com>
Date: Wed, 3 Nov 2010 08:52:27 -0400
Local: Wed, Nov 3 2010 8:52 am
Subject: Re: [Radiant] Re: I have this problem when i want to edit some pages!
We require that gem, so it's not likely that that is the actual problem.
What gems do you have in your environment? And what extensions and
plugins do you have in your app?

--
Jim Gay
Saturn Flyer LLC
http://www.saturnflyer.com
571-403-0338

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »