Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

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

lucene search undefined index


Reply


3 Posts   826 Views

Avatar
ambient

Community Member, 123 Posts

25 July 2011 at 1:56am

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?

Avatar
Darren Inwood

Community Member, 12 Posts

28 July 2011 at 11:11am

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 :)

Avatar
ambient

Community Member, 123 Posts

28 July 2011 at 10:36pm

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