Page 1 of 1

install error at step 4 setup resume indexing on CentOS 5

Posted: 06 Dec 2010, 19:44
by crazydog
Hi. I am installing the latest version (0.9.1a) of opencats on a cPanel (shared web hosting) account. The server is running CentOS. I have got antiword, pdftotext, html2text and unrtf installed at /usr/bin.

But then it returned very strange error when I clicked on "Test Configuration":

Test Results
Warning: array_map() [function.array-map]: Argument #2 should be an array in /PATH/lib/DocumentToText.php on line 199

Warning: implode() [function.implode]: Invalid arguments passed in /PATH/lib/DocumentToText.php on line 200

Warning: array_map() [function.array-map]: Argument #2 should be an array in /PATH/lib/DocumentToText.php on line 199

Warning: implode() [function.implode]: Invalid arguments passed in /PATH/lib/DocumentToText.php on line 200

Warning: array_map() [function.array-map]: Argument #2 should be an array in /PATH/lib/DocumentToText.php on line 199

Warning: implode() [function.implode]: Invalid arguments passed in /PATH/lib/DocumentToText.php on line 200
Antiword binary failed to convert a DOC file to text properly (Should have returned 'This is a test document', returned '').
Pdftotext binary failed to convert a PDF file to text properly (Should have returned 'This is a test document', returned '').
Html2Text binary failed to convert a HTML file to text properly (Should have returned 'This is a test document', returned '').
UnRTF depends on Html2Text and can not execute.
One or more tests failed. Please correct the errors and try again.

Is there something wrong with the code or I need to set up something else? Please help. Thanks a lot.

Re: install error at step 4 setup resume indexing on CentOS 5

Posted: 02 Jan 2011, 00:35
by RussH
HI! looks like the apps (antiword etc) aren't reachable via the path statement. Can you test at a command line?