Forum

JiFile per Joomla!

JIFile
JiFile è una componente per Joomla! che permette di indicizzare il contenuto dei file(PDF, DOC, ecc.) per poter effettuare delle ricerche al loro interno.

Scopri di più...  Demo

JoomPhoto Mobile

JPhotoMobile
JoomPhoto Mobile è una componente per Joomla! che ti permette di condividere le foto dal tuo dispositivo Android sul tuo portale Joomla!.

Scopri di più...  Demo

iFile Framework

IFile
IFile è un framework open source scritto interamente in PHP, permette l'indicizzazione dei contenuti testuali di un documento (DOC, PDF, EXCEL, etc) e una rapida ricerca all'interno degli stessi.

Scopri di più...  Demo

Easy Language

EasyLanguage
Easy Language è un plugin per la gestione semplice ed immediata di testi multilingua in ogni parte possibile di joomla, articoli, componenti, moduli, metadata, template, altri componenti(esempio K2) ecc.

Scopri di più...

Article Book Effect

Article Book Effect
Visualizza gli articoli di Joomla con l'effetto volta pagina di un libro. Questo plugin consente di visualizzare il contenuto di un articolo Joomla come un vero e proprio libro o una rivista, utilizzando tutti i vantaggi di HTML5

Scopri di più...  Demo

 

Fototessera

Article Book Effect
La più famosa Android App che ti permette di stampare le foto tessere per i tuoi documenti con il tuo smartphone Android, in modo semplice ed intuitivo.

Scopri di più...

 

Ombra pazza 3D

Ombra pazza 3D
Ombra Pazza è il puzzle game 3D frenetico e divertente per Android! Prova a ruotare le forme portandole nella posizione delle proprie ombre senza mai fallire! Risolvi una dopo l'altra tutte le combinazioni dei livelli di gioco.

Scopri di più...

 

Admin Countdown

Admin Countdown
Modulo per Joomla! 2.5 e 3.x visualizza nella parte di amministrazione del sito, un timer con il conto alla rovescia del tempo rimanente della tua sessione.

Scopri di più...  Demo

 
Benvenuto, Ospite
Nome utente: Password: Ricordami
  • Pagina:
  • 1
  • 2

ARGOMENTO: unknwon error

unknwon error 06/09/2012 13:44 #577

  • nabbo
  • Avatar di nabbo
  • OFFLINE
  • Fresh Boarder
  • Messaggi: 15
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
L\'Amministratore ha disattivato l\'accesso in scrittura al pubblico.

Re: unknwon error 06/09/2012 14:16 #578

  • nabbo
  • Avatar di nabbo
  • OFFLINE
  • Fresh Boarder
  • Messaggi: 15
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
Ultima modifica: 06/09/2012 14:17 da nabbo.
L\'Amministratore ha disattivato l\'accesso in scrittura al pubblico.

Re: unknwon error 06/09/2012 15:57 #579

  • nabbo
  • Avatar di nabbo
  • OFFLINE
  • Fresh Boarder
  • Messaggi: 15
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 ?
L\'Amministratore ha disattivato l\'accesso in scrittura al pubblico.

Re: unknwon error 06/09/2012 16:08 #580

  • Antonio
  • Avatar di Antonio
  • OFFLINE
  • Administrator
  • Messaggi: 486
  • Ringraziamenti ricevuti 66
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
Ultima modifica: 06/09/2012 16:11 da Antonio.
L\'Amministratore ha disattivato l\'accesso in scrittura al pubblico.

Re: unknwon error 06/09/2012 16:56 #582

  • nabbo
  • Avatar di nabbo
  • OFFLINE
  • Fresh Boarder
  • Messaggi: 15
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).
L\'Amministratore ha disattivato l\'accesso in scrittura al pubblico.

Re: unknwon error 07/09/2012 10:20 #583

  • Antonio
  • Avatar di Antonio
  • OFFLINE
  • Administrator
  • Messaggi: 486
  • Ringraziamenti ricevuti 66
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
L\'Amministratore ha disattivato l\'accesso in scrittura al pubblico.

Re: unknwon error 07/09/2012 11:51 #584

  • nabbo
  • Avatar di nabbo
  • OFFLINE
  • Fresh Boarder
  • Messaggi: 15
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
L\'Amministratore ha disattivato l\'accesso in scrittura al pubblico.

Re: unknwon error 14/09/2012 09:55 #593

  • Giampaolo
  • Avatar di Giampaolo
  • OFFLINE
  • Administrator
  • Messaggi: 465
  • Ringraziamenti ricevuti 43
Hi,
you have configured duplicate field in JiFile Configuration (see image)


Questa immagine è nascosta ai visitatori. Prego accedi o registrati per visualizzarli.
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
L\'Amministratore ha disattivato l\'accesso in scrittura al pubblico.
  • Pagina:
  • 1
  • 2