docsearch-help-in-need
Hello!
I'm trying to set up the Docsearch Plugin on a corporate wiki. The Dokuwiki runs on a hosted linux server.
The things I've done:
- installed the docsearchplugin
- installed the converter: pdftotext (under: ~/public_html/bin64/pdftotext)
- set up a CronJob (/usr/local/bin/php -f ~/public_html/dokuwiki/lib/plugins/docsearch/cron.php)
- edited the converter.php (pdf /home/"USER"/public_html/bin64/pdftotext %in% %out%)
Now I'm getting a warning from the cron daemon:
Warning: file_get_contents(/home/"USER"/public_html/dokuwiki/./data/docsearch/pages/anleitungen/user/test/123.pdf.txt): failed to open stream: No such file or directory in /home/"USER"/public_html/dokuwiki/lib/plugins/docsearch/cron.php on line 95
/home/"USER"/public_html/bin64/pdftotext: Permission denied
Command failed: /home/"USER"/public_html/bin64/pdftotext '/home/"USER"/public_html/dokuwiki/data/media/applikationen/auftragsbearbeitung/update_auf_neue_ean-definition_bereit_probleme_-_kopie.pdf' '/home/"USER"/public_html/dokuwiki/./data/docsearch/pages/applikationen/auftragsbearbeitung/update_auf_neue_ean-definition_bereit_probleme_-_kopie.pdf.txt'
PHP Warning: file_get_contents(/home/"USER"/public_html/dokuwiki/./data/docsearch/pages/applikationen/auftragsbearbeitung/update_auf_neue_ean-definition_bereit_probleme_-_kopie.pdf.txt): failed to open stream: No such file or directory in /home/"USER"/public_html/dokuwiki/lib/plugins/docsearch/cron.php on line 95
The permissions on all folders are CHMOD: 755
Unfortunately I haven't found any solution using the search.
I'm grateful for any help I can get.
Thank you.
docsearch-help-in-need
Hello,
So I've got a step further.
I checked the permissions on the pdftotext file and they were wrong.
I changed them to 775 and the error I am getting now is "Exec format error"
Can anybody help me with that?
Thanks a lot.