10391 Posts in 2202 Topics by 1713 members
|Go to End||Next >|
19 January 2011 at 11:16pm
I'm trying to install the module but when i press "rebuild search index" i get the following error.
Action "rebuildZendSearchLuceneIndex" not allowed on controller (Class: CMSMain)
25 January 2011 at 10:51am
Apologies, something had gone wrong with my forum membership, I didn't get your message.
Appears to be a problem with 2.4.4, I'm looking into it now.
25 January 2011 at 11:07am Last edited: 16 February 2011 10:55am
EDIT: I've now fixed this for 2.4.4 and 2.4.5 with no modifications needed to core files.
Appears to be related to this ticket:
Form actions added via extensions no longer work out of the box with SS 2.4.4. I'll work out a proper fix at some stage, but to get it going for now open up cms/code/CMSMain.php and add 'rebuildZendSearchLuceneIndex' to the $allowed_actions array.
Thanks for trying the Lucene module!
Chrometoaster New Media Ltd
8 March 2011 at 4:26am
hey, just found indexing relations is now possible. http://code.google.com/p/lucene-silverstripe-plugin/source/detail?r=29
i'll definitely give this a try in my next silverstripe project.
thanks for all the work!
8 March 2011 at 9:02am
Cheers for your interest!
I've just released a new version incorporating some ideas from users. It indexes files a LOT quicker, and can index older Word/Excel documents too. If you're playing with it at the moment, I'd suggest grabbing the 0.3.3 release. =]
22 June 2011 at 12:46pm
Darren - does version 0.3.3 only work with older Microsoft Word/Excel documents (ie Office 97)?
As it seems my install of SilverStripe (2.4.4) returns search results from .docx and .xlsx but not .doc and .xls.
22 June 2011 at 1:29pm
You actually need the 'zip' extension for PHP loaded for scanning xslx/docx/pptx documents to work. To check if you have this extension, visit a phpinfo() page and see if there is a section under 'Configuration' for 'zip'.
If you're on a debian-based host (most hosting vendors use debian) the zip extension is installed by default, if you're on WAMP/MAMP you may need to go to 'PHP Extensions' and enable the php_zip option.
Hope this helps!
22 June 2011 at 1:54pm
Thanks Darren, but as explained I can actually scan those documents (.docx, .xlsx) you have mentioned however it wont scan .doc or .xls documents.
So it seems to me, being rather new to al of this so certainly can be wrong, that the Lucene 0.3.3 module only searches for Office 97 documents (.docx and .xlsx) but not the later versions (.doc and .xls). I was looking at seeing how hard it would be to modify the code to include .doc and .xls documents but thought would ask here first if they should be supoprted and maybe my SilverStripe installation is at fault.
BTW - I do have the PHP Zip module installed (verified by phpinfo), and am running SS 2.4.4 on a Windows server with SQL2008 as the backend.
|Go to Top||Next >|