[Radiant] Problems with search_behavior
Giovanni Intini
intinig at gmail.com
Thu Oct 5 02:52:35 CDT 2006
I also thought that it's a problem with the server setup but I can't
troubleshoot it. Site5 hasn't answered yet :(
2006/10/5, Alexander Horn <alex.horn at gmail.com>:
>
> > ./script/../config/../lib/inheritable_class_attributes.rb:51:in
> `inherited': undefined local variable or method `child' for
> Behavior::Base:Class
>
> I have never seen this error message before. It seems like you should
> be able to check line 51 in the file
> lib/inheritable_class_attributes.rb and make more sense of what's
> going on. Given the fact that it works on your home computer but not
> on the server, it might be an indication that there is something wrong
> with the setup on the server.
>
> On 10/4/06, Giovanni Intini <intinig at gmail.com> wrote:
> > I installed the search behavior, ferret and acts_as_ferret but I can't
> get
> > it to work on my shared host (Site5). It works fine on my mac, but when
> > trying to launch script/server -e production I get this error on the
> shared
> > host:
> >
> > => Booting WEBrick...
> > Load patches ...
> >
> script/../config/../vendor/plugins/search_behavior/lib/patches/00_render_to_string.rb
> >
> script/../config/../vendor/plugins/search_behavior/lib/patches/01_behavior_receives_from_site_controller.rb
> >
> script/../config/../vendor/plugins/search_behavior/lib/patches/02_site_controller_gives_to_behavior.rb
> >
> script/../config/../vendor/plugins/search_behavior/lib/patches/03_template_load_path.rb
> > ./script/../config/../lib/inheritable_class_attributes.rb:51:in
> > `inherited': undefined local variable or method `child' for
> > Behavior::Base:Class (NameError)
> > from
> > ./script/../config/../vendor/plugins/search_behavior/lib/search.rb:3
> > from
> > /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in
> > `require'
> > from
> >
> ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in
> > `require'
> > from
> > script/../config/../vendor/plugins/search_behavior/init.rb:13:in
> > `load_plugin'
> > from
> > ./script/../config/../vendor/rails/railties/lib/initializer.rb:348:in
> > `load_plugin'
> > from
> >
> ./script/../config/../vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb:11:in
> > `silence_warnings'
> > from
> > ./script/../config/../vendor/rails/railties/lib/initializer.rb:348:in
> > `load_plugin'
> > from
> > ./script/../config/../vendor/rails/railties/lib/initializer.rb:158:in
> > `load_plugins'
> > ... 7 levels...
> > from
> > /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in
> > `require'
> > from
> >
> ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in
> > `require'
> > from
> > ./script/../config/../vendor/rails/railties/lib/commands/server.rb:30
> > from script/server:3
> >
> >
> > The problem comes from this line
> >
> > class Search < Behavior::Base
> >
> > But obviously there is some problem I can't troubleshoot. Any clue?
> >
> > _______________________________________________
> > Radiant mailing list
> > Post: Radiant at lists.radiantcms.org
> > Search: http://radiantcms.org/mailing-list/search/
> > Site:
> > http://lists.radiantcms.org/mailman/listinfo/radiant
> >
> >
>
>
> --
> Alexander Horn
> http://www2.truman.edu/~ah428
> _______________________________________________
> Radiant mailing list
> Post: Radiant at lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site: http://lists.radiantcms.org/mailman/listinfo/radiant
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.radiantcms.org/pipermail/radiant/attachments/20061005/88116463/attachment.html
More information about the Radiant
mailing list