Indexed search: index of external files not work on TYPO3 6.04
I'm using TYPO3 6.04 for a new project. The search index is basically functioning properly. Only with the indexing of external files I have my problems. Files such as a PDF file will not be indexed. My basic installation is very simple and is proven (Window / Linux).
Only with the TYPO3 version 6.x does not indexing with external files. I will not take long to explain what I've configured everything, but I'm pretty sure there is something not in order. I can inform you that everything works fine with the same installation in the TYPO3 version 4.5 and 4.7. Perhaps it is also because of crawler.
I can not figure out unfortunately! It is perhaps possible that I have something in TYPO3 6.x certain renewals have not read carefully - - but I think it's more of a bug in the Index search program.
Please check it yourself. If I still might be wrong, I apologize.
Thank you so much
Sent along: sreenshot of error messages of the crawler
Updated by Mikael Conley over 8 years ago
I have the exact same problem. Both on a version. 6.1.0. and the "old" 6.0.x.
We have two experienced TYPO3 integrators here that agree that everything is set up correct. Still we get the "Error: No Object" message in our crawler log and no indexing of files.
Updated by Christian Kirchhoff over 8 years ago
Here is what I think causes the problem:
In file /typo3/sysext/indexed_search/Classes/Indexer, lines 799 and 811, there is this call:
$crawler->addQueueEntry_callBack(0, $params, 'EXT:indexed_search/class.crawler.php:&TYPO3\\CMS\\IndexedSearch\\Controller\\SearchFormController_files', $this->conf['id']);
That Controller named SearchFormController_files does not exist. In the former version it was tx_indexedsearch_files, so I guess there is a typo in the current version.
I exchanged the above lines with…
$crawler->addQueueEntry_callBack(0, $params, 'EXT:indexed_search/class.crawler.php:&tx_indexedsearch_files', $this->conf['id']);
…and now I get an "OK" when I try to index a file.
Updated by Alban Cousinie over 8 years ago
I have met the same problem with Typo3 6.1.2 and 6.1.1
Everything has been configured super precisely by following step by step Xavier Perseguers tutorial frome here : http://xavier.perseguers.ch/tutoriels/typo3/articles/indexed-search-crawler.html
But I get the error displaying truncated in the crawler log :
Error: No object: EXT:indexed_search/class.crawler...
I could not find the complete error message in my website error log nor into typo3 error log. This makes debugging hard ! The error message should be displayed fully in the crawler log rather than truncated !
I tried to apply Christian's fix with greate expectations, unfortunately it didn't make the trick for me.
Obviously there misses a file SearchFormController_files in the Classes/Controller directory.
Also since Typo3 6.0, the class tx_indexedsearch_files has been renamed to CrawlerFilesHook, so the suggested fix above should now rather read :
$crawler->addQueueEntry_callBack(0, $params, 'EXT:indexed_search/class.crawler.php:&CrawlerFilesHook', $this->conf['id']);
Unfortunately for some reason it doesn't work either on my installation.
This is another thing broken in Typo3 6.0. I have met so many of these while doing my first Typo3 6.0 website. This new version is a real regression, this is a fact, despite of all the generous work done by open source developers. Recoding such important parts of the CMS while Typo3 NEOS is coming behind is a total nonsense and waste of time, while being dramatically bug prone.
So, starting from the begining, how to get the full error message ?