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: Basic installation problems

Re: Basic installation problems 16 Jan 2012 12:11 #94

  • Antonio
  • Antonio's Avatar
  • OFFLINE
  • Administrator
  • Posts: 486
  • Thank you received: 66
ok, try to place the file pdftotext 64-bit (attached) in the folder
libraries/ifile/adapter/helpers/binaries/linux


This attachment 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
Last Edit: 16 Jan 2012 12:15 by Antonio.
The administrator has disabled public write access.

Re: Basic installation problems 16 Jan 2012 12:35 #95

  • Hit Man
  • Hit Man's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 14
I cant' ftp this file right now, but is it the same as is included in the XPDF package?

ftp://ftp.foolabs.com/pub/xpdf/xpdfbin-linux-3.03.tar.gz

I already uploaded that one (offcourse the 64-bit version and in binary format).
The administrator has disabled public write access.

Re: Basic installation problems 16 Jan 2012 12:43 #96

  • Antonio
  • Antonio's Avatar
  • OFFLINE
  • Administrator
  • Posts: 486
  • Thank you received: 66
It is the same (sorry I did not understand), and you put the file "pdftotext" in the correct folder?
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: Basic installation problems 16 Jan 2012 12:58 #97

  • Hit Man
  • Hit Man's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 14
Yes, I did. I even copied the file in all OS directories (just to be sure).
The administrator has disabled public write access.

Re: Basic installation problems 16 Jan 2012 14:16 #98

  • Antonio
  • Antonio's Avatar
  • OFFLINE
  • Administrator
  • Posts: 486
  • Thank you received: 66
Ok, is to understand what pdftotext uses ...

I do not know if you know programming, but try adding in the file:
/libraries/ifile/adapter/Adapter_Search_Lucene_Document_PDF.php
at line 116 and 125
...
if(file_exists("/usr/bin/pdftotext")){
    die('usrbin'); //line 116
    ...
}else if(strtoupper(substr(PHP_OS, 0, 3)) === 'LIN'){
    die('helpers');//line 125
    ...
and now tries to do a manual indexing (floppy icon) and let me know the results and restores the php file modified.
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: Basic installation problems 16 Jan 2012 21:25 #99

  • Hit Man
  • Hit Man's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 14
Ok, tried it, with the result:
0755helpers
(the 755 is from the earlier editing I guess).


Edit: I also tried the file you attached earlier just to be sure: same problem.
Last Edit: 16 Jan 2012 21:44 by Hit Man.
The administrator has disabled public write access.

Re: Basic installation problems 22 Jan 2012 21:13 #101

  • Hit Man
  • Hit Man's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 14
Hi, any idea what could be the problem? I'd like to help with fixing this if possible.
The administrator has disabled public write access.

Re: Basic installation problems 22 Jan 2012 22:40 #102

  • Antonio
  • Antonio's Avatar
  • OFFLINE
  • Administrator
  • Posts: 486
  • Thank you received: 66
Can't understand where is the problem...
do another test:
try edit the file:
/libraries/ifile/adapter/Adapter_Search_Lucene_Document_PDF.php
about at line 205
[code type=php-brief]$handle2 = popen($pathBinaryFile . "helpers/binaries/osx/pdftotext -q \"{$this->getFilename()}\" - 2>/dev/null", 'r');[/code]
** to **
[code type=php-brief]$handle2 = popen($pathBinaryFile . "helpers/binaries/linux/pdftotext \"{$this->getFilename()}\" - 2>&1", 'r');[/code]
and now tries to do a manual indexing (floppy icon) and let me know the results.

Thx
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.