Jump to:

22996 Posts in 11620 Topics by 2826 members

General Questions

SilverStripe Forums » General Questions » lucene search undefined index

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 709 Views
  • ambient
    Avatar
    Community Member
    116 Posts

    lucene search undefined index Link to this post

    Hi,

    I just installed the lucene search module. I put the lucene folder in my main site root and uploaded it.

    But when I run the dev/build/?flush=1 it gives me the following error.

    [Notice] Undefined index:
    GET /preview/dev/build?flush=1

    Line 154 in /home/mysite/public_html/preview/sapphire/core/ClassInfo.php

    Any ideas why this is and what i can do to fix it?

  • Darren Inwood
    Avatar
    Community Member
    12 Posts

    Re: lucene search undefined index Link to this post

    Hi there

    It appears something is trying to use a function on the ClassInfo class without specifying a class - I'd like to try to help you track this down as it's probably a bug in my module!

    You could try Lucene 0.4 which I've just released?

    Cheers

  • ambient
    Avatar
    Community Member
    116 Posts

    Re: lucene search undefined index Link to this post

    Hi Darren,

    I'd like to give the new version a go. Do you have an example of what code I should put into _ss_environment.php file?

    I've had a look at the silverstripe documentation but I'm a little confused as to what needs to be in it and what doesn't.

    For instance do I need to move my db username and password from config.php to _ss_environment.php and is this safe from a security standpoint?

    Thats probably a stupid question but I'm very new to dynamic websites Thanks

    709 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.