Welcome,
Guest
|
|
|
Hello
I have been installing JiFile on a joomla version 2.5 (Linux Redhat server) Everytime I index the files, I get this error : "Unknown error" As I found on your FAQ, I have tried increasing the memory limit to 512 and I set the server bit to 64 (since my server is 64bits) I still get the same error. I there anything I need to do (I have successfully chmoded the pdf2text binary to 755) ? Is there any log somewhere, So I can try troubleshooting the stuff ? PS : I had no problem using the indexer on my desktop windows-xp machine, for the same documents (most PDFs, some xls/doc) Thanks Regards nabbo |
The administrator has disabled public write access.
|
|
Some progress :
I tried launching the pdftotext binary directly from shell, and it looks that I had an issue with the 64bits version. So I ran the 32bits one and in CLI it works fine. I replaced the 64bits binary with the 32bits one, but I still get the same error in the joomla GUI. Also, the "manual indexing" function manages to get the content out of the PDF, but when I save what it find, I get a gif-spinner, and then nothing. Anything I'm missing ? Thanks |
Last Edit: 06 Sep 2012 14:17 by nabbo.
The administrator has disabled public write access.
|
|
I got something working... dirty way.
I have been looking at the code, without understanding much (and not much time to try to...) I commented out the lines 168 and 281 in the file IFile_Indexing_Abstract.php. //$this->__checkIndexingFileFromKey($this->file->getKeyFile());
//$this->__addDocument($doc); Now I don't get any error, and it looks like I have the indexing done somehow, and I'm able to search for patterns in my frontend. I have no idea what the side-effects of that dirty change are. Any idea ? |
The administrator has disabled public write access.
|
|
Hi,
those two lines are used to index the file, so it is not a good thing for comment ![]() Try using the following link and tell me what is the result Of course change the first part "localhost/joomla25" and the file "C:\xampp\htdocs\joomla25\ifile\01_02-94.pdf" http://localhost/joomla25/administrator/index.php?option=com_jifile&task=lucene.indexAjax&file=C:\xampp\htdocs\joomla25\ifile\01_02-94.pdf |
If you like, if it was useful, consider a donation, Thanks
Se vuoi, se ti siamo stati utili, considera una donazione, Grazie Help us by voting our extensions on Joomla.org: JiFile JoomPhoto Mobile Easy Language
Last Edit: 06 Sep 2012 16:11 by Antonio.
The administrator has disabled public write access.
|
|
Hello, and thanks for the quick reply !
I get this following json as a response : {"file":"<absolute_path_to_my_files>/<myfile>.pdf","div":null,"cb":null,"message":"Indexing completed","result":"true"} Please note that I changed the real path to <absolute_path_to_my_files>/<myfile> because I can't publish this information publicly. Now if I uncomment the line (so the original code), I get an error 500 and no output on the screen. Perharps there is some strange setting on my web server, but I cannot change much (unless I really know what to change). |
The administrator has disabled public write access.
|
|
Have you tried to enable Error Reporting?
To access the page, go to Site > Global Configuration -> Server settings section Change Error Reporting to Maximum then retry your url. |
If you like, if it was useful, consider a donation, Thanks
Se vuoi, se ti siamo stati utili, considera una donazione, Grazie Help us by voting our extensions on Joomla.org: JiFile JoomPhoto Mobile Easy Language
The administrator has disabled public write access.
|
|
Hi
I have activated the reporting. It doesn't change anything. The page remains blank. However, I don't understand why my documents are still indexed, even if I comment out the lines. I have noticed that re-indexing becomes the same as indexing : the GUI doesn't tell me that the document is already indexed, but index it anyway. Not a big deal for me for the moment. But if you have an idea about the problem, it would be great Thanks |
The administrator has disabled public write access.
|
|
Hi,
you have configured duplicate field in JiFile Configuration (see image) This image is hidden for guests. Please log in or register to see it. |
If you like, if it was useful, consider a donation, Thanks
Se vuoi, se ti siamo stati utili, considera una donazione, Grazie Help us by voting our extensions on Joomla.org: JiFile JoomPhoto Mobile Easy Language
The administrator has disabled public write access.
|
|
If you not change browser settings, you agree to it. Learn more