Bug #58877
class.indexer.php not available when start cli_dispatch.phpsh crawler
Status: | Resolved | Start date: | 2014-05-16 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | Indexed Search | Spent time: | - | |
Target version: | - | |||
TYPO3 Version: | 6.2 | Is Regression: | No | |
PHP Version: | 5.5 | Sprint Focus: | ||
Complexity: |
Description
If I run the crawler from the cron job I got an error message:
PHP Fatal error: require_once(): Failed opening required '/home/domain/public_html/typo3/sysext/indexed_search/class.indexer.php' (include_path='/home/domain/public_html/typo3/contrib/pear/:.:/usr/share/pear:/usr/share/php') in /home/domain/typo3_src-6.2.1/typo3/sysext/indexed_search/Classes/Hook/CrawlerFilesHook.php on line 76
TYPO3 Version 6.2.1
crawler Version 3.6 dev
After changing the path under typo3/sysext/indexed_search/Classes/Hook/CrawlerFilesHook.php it works!
public function loadIndexerClass() { global $TYPO3_CONF_VARS; /** require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('indexed_search') . 'class.indexer.php'; */ require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('indexed_search') . 'class.crawler.php'; }
Related issues