Hello all,
I'm trying to get this module working, using Tika. I've downloaded and configured Tika and the module as suggested in the documentation and set my content to be reindexed. Checking the drupal logs, I get the following:
Notice: Undefined property: SearchApiAttachmentsAlterSettings::$CACHE_TABLE in SearchApiAttachmentsAlterSettings->getFileContent() (line 143 of /var/www/vhosts/example.com/sites/all/modules/search_api_attachments/includes/callback_attachments_settings.inc).
The cache table, cache_search_api_attachments, is empty and doing a search for content within a particular PDF results in no matches. I'm using the latest dev version. I've put some debugging code in function extract_tika in callback_attachments_settings.inc. and at least the function is being called.
Any ideas?
Thanks,
welly
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | search_api_attachments_2188735_2.patch | 1.05 KB | izus |
Comments
Comment #1
izus commentedi think i've got it, we try accessing a constant not a property.
i'll upload a patch
Comment #2
izus commentedhere is a patch for it.
can you plase try it and give feedback if it worked well ?
Thanks
Comment #3
izus commentedComment #4
maximpodorov commentedAbsolutely right. The patch solves the problem.
Comment #5
izus commentedmerged.
Thanks all
Comment #6
welly commentedThanks very much Izus for rolling out this fix so quickly! Very much appreciated!