Are you overriding the ForumsController? If you look at line 20 of
forums_controller.rb from the most recent version of CE, you'll see that
paginate has been removed in favor of using the paginating find plugin.
Anywhere in your application where you've used the old 'paginate' method
will raise errors.
On Tue, Oct 28, 2008 at 11:11 AM, Alexis <[EMAIL PROTECTED]> wrote:
>
> Is this what you need, Bruno?
>
> Processing ForumsController#index (for 24.7.80.88 at 2008-10-28
> 12:09:33) [GET]
> Session ID:
> BAh7DToQbGFzdF9hY3RpdmVVOiBBY3RpdmVTdXBwb3J0OjpUaW1lV2l0aFpv
> bmVbCEl1OglUaW1lDXUnG4AAADCYBjofQG1hcnNoYWxfd2l0aF91dGNfY29l
> cmNpb25UIghVVENACDoLZm9ydW1zewA6C3RvcGljc0AKOgl1c2VyaQk6DWFk
> bWluX2lkMCIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZs
> YXNoSGFzaHsABjoKQHVzZWR7ADoOcmV0dXJuX3RvIhUvYWRtaW4vZGFzaGJv
> YXJkOgxjc3JmX2lkIiU1MDE5M2E0Y2E3YzExNjc2ZjYxZDFkODZkNTQ5MTcz
> NA==--1952ea7225d217b6c1d0ab647cf835ec2c0c2fda
> Parameters: {"action"=>"index", "controller"=>"forums"}
> Rendering template within layouts/application
> Rendering forums/index
> Completed in 0.14152 (7 reqs/sec) | Rendering: 0.11729 (82%) | DB:
> 0.02060 (14%) | 200 OK [http://www.imspirit.alexismasters.com/forums]
>
>
> Processing ForumsController#show (for 24.7.80.88 at 2008-10-28
> 12:09:38) [GET]
> Session ID:
> BAh7DToQbGFzdF9hY3RpdmVVOiBBY3RpdmVTdXBwb3J0OjpUaW1lV2l0aFpv
> bmVbCEl1OglUaW1lDXUnG4AAADCYBjofQG1hcnNoYWxfd2l0aF91dGNfY29l
> cmNpb25UIghVVENACDoLZm9ydW1zewA6C3RvcGljc0AKOgl1c2VyaQkiCmZs
> YXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6
> CkB1c2VkewA6DWFkbWluX2lkMDoMY3NyZl9pZCIlNTAxOTNhNGNhN2MxMTY3
> NmY2MWQxZDg2ZDU0OTE3MzQ6DnJldHVybl90byIVL2FkbWluL2Rhc2hib2Fy
> ZA==--ec1511dd2e2d3176a1a352ab79635273afa97ca0
> Parameters: {"action"=>"show", "id"=>"4-Resources",
> "controller"=>"forums"}
>
>
> NoMethodError (undefined method `paginate' for #<ForumsController:
> 0xb6ff574c>):
> /vendor/plugins/community_engine/app/controllers/
> forums_controller.rb:20:in `show'
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/
> action_controller/mime_responds.rb:131:in `call'
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/
> action_controller/mime_responds.rb:131:in `custom'
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/
> action_controller/mime_responds.rb:160:in `call'
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/
> action_controller/mime_responds.rb:160:in `respond'
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/
> action_controller/mime_responds.rb:154:in `each'
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/
> action_controller/mime_responds.rb:154:in `respond'
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/
> action_controller/mime_responds.rb:107:in `respond_to'
> /vendor/plugins/community_engine/app/controllers/
> forums_controller.rb:16:in `show'
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/
> action_controller/base.rb:1166:in `send'
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/
> action_controller/base.rb:1166:in `perform_action_without_filters'
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/
> action_controller/filters.rb:579:in `call_filters'
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/
> action_controller/filters.rb:600:in `run_before_filters'
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/
> action_controller/filters.rb:159:in `call'
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/
> action_controller/filters.rb:159:in `call'
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/
> action_controller/filters.rb:597:in `run_before_filters'
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/
> action_controller/filters.rb:577:in `call_filters'
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/
> action_controller/filters.rb:600:in `run_before_filters'
> /vendor/plugins/community_engine/lib/localized_application.rb:
> 21:in `set_locale'
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/
> active_support/callbacks.rb:173:in `send'
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/
> active_support/callbacks.rb:173:in `evaluate_method'
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/
> action_controller/filters.rb:156:in `call'
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/
> action_controller/filters.rb:597:in `run_before_filters'
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/
> action_controller/filters.rb:577:in `call_filters'
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/
> action_controller/filters.rb:572:in `perform_action_without_benchmark'
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/
> action_controller/benchmarking.rb:68:in
> `perform_action_without_rescue'
> /usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/
> action_controller/benchmarking.rb:68:in
> `perform_action_without_rescue'
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/
> action_controller/rescue.rb:201:in `perform_action_without_caching'
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/
> action_controller/caching/sql_cache.rb:13:in `perform_action'
> /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/
> active_record/connection_adapters/abstract/query_cache.rb:33:in
> `cache'
> /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/
> active_record/query_cache.rb:8:in `cache'
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/
> action_controller/caching/sql_cache.rb:12:in `perform_action'
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/
> action_controller/base.rb:529:in `send'
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/
> action_controller/base.rb:529:in `process_without_filters'
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/
> action_controller/filters.rb:568:in
> `process_without_session_management_support'
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/
> action_controller/session_management.rb:130:in `sass_old_process'
> /usr/local/lib/ruby/gems/1.8/gems/haml-2.0.1/lib/sass/plugin/
> rails.rb:19:in `process'
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/
> action_controller/base.rb:389:in `process'
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/
> action_controller/dispatcher.rb:149:in `handle_request'
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/
> action_controller/dispatcher.rb:107:in `dispatch'
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/
> action_controller/dispatcher.rb:104:in `synchronize'
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/
> action_controller/dispatcher.rb:104:in `dispatch'
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/
> action_controller/dispatcher.rb:120:in `dispatch_cgi'
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/
> action_controller/dispatcher.rb:35:in `dispatch'
> /usr/local/lib/ruby/gems/1.8/gems/rails-2.1.2/lib/fcgi_handler.rb:
> 103:in `process_request'
> /usr/local/lib/ruby/gems/1.8/gems/rails-2.1.2/lib/fcgi_handler.rb:
> 153:in `with_signal_handler'
> /usr/local/lib/ruby/gems/1.8/gems/rails-2.1.2/lib/fcgi_handler.rb:
> 101:in `process_request'
> /usr/local/lib/ruby/gems/1.8/gems/rails-2.1.2/lib/fcgi_handler.rb:
> 78:in `process_each_request'
> /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:612:in
> `each_cgi'
> /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609:in
> `each'
> /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609:in
> `each_cgi'
> /usr/local/lib/ruby/gems/1.8/gems/rails-2.1.2/lib/fcgi_handler.rb:
> 77:in `process_each_request'
> /usr/local/lib/ruby/gems/1.8/gems/rails-2.1.2/lib/fcgi_handler.rb:
> 76:in `catch'
> /usr/local/lib/ruby/gems/1.8/gems/rails-2.1.2/lib/fcgi_handler.rb:
> 76:in `process_each_request'
> /usr/local/lib/ruby/gems/1.8/gems/rails-2.1.2/lib/fcgi_handler.rb:
> 50:in `process!'
> /usr/local/lib/ruby/gems/1.8/gems/rails-2.1.2/lib/fcgi_handler.rb:
> 24:in `process!'
> dispatch.fcgi:24
>
> Rendering /home/masters/imspirit/public/500.html (500 Internal Server
> Error)
>
>
>
> On Oct 28, 7:33 am, "Bruno Bornsztein" <[EMAIL PROTECTED]>
> wrote:
> > Can you paste a stack trace or screenshot?
> > Thanks,
> > Brnuo
> >
> > On Mon, Oct 27, 2008 at 5:16 PM, Alexis <[EMAIL PROTECTED]>
> wrote:
> >
> > > Hi, I am upgrading IMspirit.com to the latest version. Still working
> > > on the development site, and I'm having trouble with the forum. All
> > > the links on the forum index throw the same error. It says line 20, a
> > > problem with "pagination" ---
> >
> > > How should I fix this?
> >
> > > Is anyone else having this problem or is it just me and my newbie-
> > > ness :-)
> > > ~ Alexis
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CommunityEngine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/communityengine?hl=en
-~----------~----~----~----~------~----~------~--~---