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: PDF indexing - Empty Body

PDF indexing - Empty Body 03 Jul 2012 02:41 #462

I have this setup on my own server which works ok, but exactly the same copy of Joomla on CloudAccess.net is not indexing pdf files, giving the error 'Empty Body'

The only warning in the report is ID3 missing
I have tried switching between 32/64 bit
All pdftotext binaries have 755 permissions
Encoding is empty
Tried setting a large memory limit

PHP Built On Linux lamp8.cloudaccess.net 2.6.18-374.12.1.el5.lve0.8.54 #1 SMP Wed Jan 4 18:40:17 EET 2012 x86_64
Database Version 5.5.25-cll
Database Collation utf8_general_ci
PHP Version 5.3.13
Web Server Apache/2.2.3 (CloudLinux)
WebServer to PHP Interface cgi-fcgi
Joomla! Version Joomla! 2.5.4 Stable [ Ember ] 2-April-2012 14:00 GMT
Last Edit: 03 Jul 2012 02:43 by Jason Turnbull.
The administrator has disabled public write access.

Re: PDF indexing - Empty Body 05 Jul 2012 12:15 #470

  • Giampaolo
  • Giampaolo's Avatar
  • OFFLINE
  • Administrator
  • Posts: 465
  • Thank you received: 43
Hi,
can you attach one PDF file for testing?
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.

Re: PDF indexing - Empty Body 07 Jul 2012 00:53 #471

All documents are private, but the text can be copied from PDF files

I created a test PDF document which is attached
Attachments:
  • Attachment This attachment is hidden for guests. Please log in or register to see it.
Last Edit: 07 Jul 2012 00:54 by Jason Turnbull.
The administrator has disabled public write access.

Re: PDF indexing - Empty Body 20 Jul 2012 10:43 #485

CloudAccess was kind enough to look into it and changed the code of LuceneServerCheck.php and working ok now.

They said the checks for file permissions the path to pdftotext gets overwritten with wrong value

...
Last Edit: 20 Jul 2012 10:45 by Jason Turnbull.
The administrator has disabled public write access.

Re: PDF indexing - Empty Body 31 Jul 2012 14:28 #500

  • Giampaolo
  • Giampaolo's Avatar
  • OFFLINE
  • Administrator
  • Posts: 465
  • Thank you received: 43
Hi,
what is the version of JiFile that you use?

You can see:

SOLVE YOUR PROBLEMS WITH XPDF NOT EXECUTABLE
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.

Re: PDF indexing - Empty Body 31 Jul 2012 14:37 #501

Latest version JiFile 1.0.7

Permissions were all correct.

Changed the PHP function to always return true on the file permission check for it to work.
The administrator has disabled public write access.

PDF indexing - Empty Body 05 Dec 2012 12:26 #789

I had the same error but it disappeared when I checked 64 bit in Configuration.

But I'm still getting a few of them. I did OCR for the attached pdf but it will not index.
Attachments:
  • Attachment This attachment is hidden for guests. Please log in or register to see it.
Last Edit: 05 Dec 2012 12:47 by Andrew Edmondson.
The administrator has disabled public write access.

PDF indexing - Empty Body 05 Dec 2012 13:08 #790

One other odd thing is happening. A pdf file was not indexing. So I applied OCR and it was recognised but the search engine was not picking up a test word. So I pressed the Refresh link and the pdf would not load into the indexer. Just sits there with an empty progress bar.

UPDATE: It just took a heck of a long time but has now indexed the file :)
Last Edit: 05 Dec 2012 13:10 by Andrew Edmondson.
The administrator has disabled public write access.