Forum

JiFile for Joomla!

JIFile
JiFile is a component for Joomla! that allows you to index file contents (PDF, DOC, etc..) to perform searches in them.

Learn more...  Demo

JoomPhoto Mobile

JPhotoMobile
JoomPhoto Mobile is a component for Joomla! that allows you to share the photos from your Android device to your site Joomla.

Learn more...  Demo

iFile Framework

IFile
IFile is an open source framework written entirely in PHP, allows the indexing of textual content of a document (DOC, PDF, EXCEL, etc.) and a quick search within them.

Learn more...  Demo

Easy Language

EasyLanguage
Easy Language is a plugin for easy and immediate management of multilingual texts in every possible area of joomla, articles, components, modules, metadata, template, other components(example K2) etc.

Learn more...

Article Book Effect

Article Book Effect
View Joomla articles with the effect turns the page of a book. This plugin will display the contents of an article in Joomla as a real book or magazine, using all the benefits of HTML5

Learn more...  Demo

 

Passport photo

Passport photo
The most popular Android app that allows you to print photos cards for your documents with your Android smartphone, in a simple and intuitive way.

Learn more...

 

Crazy Shadow

Crazy Shadow
Crazy Shadow is the 3D fast-paced and fun puzzle Android game! Try to rotate and drag shapes in the position of their shadows without fail! Solve in succession all combinations of levels of the game.

Learn more...

 

Admin Countdown

Admin Countdown
Module for Joomla! 2.5 and 3.x displays in the administration part of the site, a timer with countdown of the time remaining in your session.

Learn more...  Demo

 
Welcome, Guest
Username: Password: Remember me

TOPIC: Indexing fails - empty body

Indexing fails - empty body 01 Feb 2013 12:14 #965

Thanks - not complaining about the time just the fact that there was no response - I have sent you an email with the requested info and asked the hosting provider to enable Popen.
The administrator has disabled public write access.

Indexing fails - empty body 01 Feb 2013 12:57 #966

  • Giampaolo
  • Giampaolo's Avatar
  • OFFLINE
  • Administrator
  • Posts: 465
  • Thank you received: 43
Hi,
in a first analysis, in your hosting server they are two problems:

1. popen (you have already reported to the hosting provider)
2. Unexecutable pdftotxt (we have tried to change permission but not works) permission must be given on some server providers.
You should make a new request to the "hosting provider" for:
a. put in "/libraries/ifile/adapter/helpers/binaries/linux/" the pdftotxt that your "server provider" uses in the server linux.
b. this pdftotxt must be executable

We now verify because the JiFile not read the filesystem folder configured in the options.
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.

Indexing fails - empty body 01 Feb 2013 13:11 #967

:) Decided to load the extension on the main server I use for production - not a normal thing to do as I like to test befor. However the product has worked on one PDF file so I do not think you need to progress the test server. I will now see if the product does what we require - thank you for your efforts.
The administrator has disabled public write access.

Indexing fails - empty body 01 Feb 2013 13:13 #968

Did not see your response above - thanks - I will try to continue to resolve this problem myself
The administrator has disabled public write access.

Indexing fails - empty body 01 Feb 2013 14:26 #969

  • Giampaolo
  • Giampaolo's Avatar
  • OFFLINE
  • Administrator
  • Posts: 465
  • Thank you received: 43
ok,
we stop.
If have problem contact us.
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.

Indexing fails - empty body 02 Feb 2013 10:49 #970

Can you check out these PDF's please - the auto index says to check the encoding but I ddo not know how to do so. These are typical of some old documents I need to index.
Attachments:
  • Attachment This attachment is hidden for guests. Please log in or register to see it.
  • Attachment This attachment is hidden for guests. Please log in or register to see it.
The administrator has disabled public write access.

Indexing fails - empty body 02 Feb 2013 16:23 #971

  • Giampaolo
  • Giampaolo's Avatar
  • OFFLINE
  • Administrator
  • Posts: 465
  • Thank you received: 43
Hi,
we test the PDF files to verify the problem.
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.

Indexing fails - empty body 02 Feb 2013 16:58 #972

  • Giampaolo
  • Giampaolo's Avatar
  • OFFLINE
  • Administrator
  • Posts: 465
  • Thank you received: 43
Hi,
the first PDF "JournalisticJottings.pdf" is a OCR file created as an image.
JiFile uses XPDF, and this component not reads text from Image.
In fact if you try to select text from your PDF file, you can not copy text (see image).

This image is hidden for guests. Please log in or register to see it.


Your PDF is created how a image, you can scan your document using a OCR instrument, for create a PDF file in text form.
Warning!!!!, a PDF file, with OCR scan, could have problems when XPDF reads text (you could have loss of information).


The second PDF "TwoYoungScholars.pdf" works (see image).

This image is hidden for guests. Please log in or register to see it.


You must configured JiFile correctly.
The problem is the encoding of PDFs and the type of encodicg with which the contents are saved in index.

Let me explain better.
If you have a PDF wrote in UTF-8 Encoding, the XPDF must be configured for reading the content of PDF in UTF-8 (the default XPDF is configured for ISO-8859-1 Latin), and this is possible in "xpdfrc" file.

Now you must configured Lucene for indexing the content that the XPDF has read.
You must tell to Lucene that the content that must indexing is in UTF-8 encoding. This because Lucene, uses "iconv" function, for convert the content, the read content from XPDF, in encoding that has been configured in the "Analyzer Type".

In "Analyzer Type" it is recommended to always use "Utf8Num_CaseInsensitive" (this index test and number) or "Utf8_CaseInsensitive" (this index only text, if you search an number Lucene does not return results).

When you choose an "Analyzer Type", this should not be changed, otherwise you have problem in search terms.

Procedure:
1. open this file:
yourJoomlaRoot/libraries/ifile/adapter/helpers/binaries/xpdfrc/xpdfrc
the "xpdfrc" file not has extension, and not the must have.

- uncomment line 7 (delete # ):
textEncoding UTF-8

2. Set UTF-8 Encoding 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.