21288 Posts in 5733 Topics by 2602 members
General Questions
SilverStripe Forums » General Questions » [SOLVED] Unable to get built-in search to work (beta)
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 190 Views |
-
[SOLVED] Unable to get built-in search to work (beta)

20 March 2012 at 10:34pm Last edited: 20 March 2012 10:35pm
Hi guys,
I'm having some trouble getting SS's built in search feature to work, when I add the following line:
FulltextSearchable::enable();
to my _config.php, I get the following fatal error:Call to a member function getDatabaseServer() on a non-object in /Users/lawrence/Devsites/***/sapphire/search/FulltextSearchable.php on line 55
I've tried searching through the API and documentation and I can't find anything to suggest that this function has been changed or deprecated - I'm running v3 beta - so do you guys have any thoughts or ideas on what may be causing this?
Thanks,
Loz -
Re: [SOLVED] Unable to get built-in search to work (beta)

22 March 2012 at 6:51pm
Known bug in 3.0, for now you cannot use that line as _config.php is loaded before the database connection is established.
| 190 Views | ||
|
Page:
1
|
Go to Top |


