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
  • Page:
  • 1
  • 2

TOPIC: JiFile problem on Mac

Re: JiFile problem on Mac 08 Feb 2012 08:30 #171

Thanks! It works great despite the warning that remains on the control page. Great workaround.
Cheers
The administrator has disabled public write access.

Re: JiFile problem on Mac 08 Feb 2012 09:40 #172

  • Antonio
  • Antonio's Avatar
  • OFFLINE
  • Administrator
  • Posts: 486
  • Thank you received: 66
Marc wrote:
For info, I commented the full block in the file "Adapter_Search_Lucene_Document_PDF.php"

if (!$reportCheckEXIF->getCheck()) {
...
}

and it works ! No time right now to search why getCheck return false !

Cheers

Thank you very much!
is an obvious bug, which not only affects osx. (from a first analysis seems just a permission problem)
For the warning on the control page It should be a problem of reading permissions on osx (is not easy for us to get a mac :unsure: ).
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: 08 Feb 2012 10:43 by Antonio.
The administrator has disabled public write access.

Re: JiFile problem on Mac 08 Feb 2012 10:33 #173

  • Antonio
  • Antonio's Avatar
  • OFFLINE
  • Administrator
  • Posts: 486
  • Thank you received: 66
If anyone can help us, we would need two information:
the operating system written in "Site > System Information > PHP Built On"
and the the result of the fileperms:
try to print the permissions from the file libraries/ifile/servercheck/LuceneServerCheck.php in the following line(about 545):
function checkPermits($path, $perm = '0755', $oct = false)
{
// @TODO da rivedere il recupero del Path
$path = dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.$path;
 
echo fileperms($path); //
...

thanks in advance
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: JiFile problem on Mac 29 Feb 2012 10:46 #239

  • Perroulaz
  • Perroulaz's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 3
I get: 33263

just to test I review the function as:

function checkPermits($path, $perm = '0755', $oct = false)
{
// @TODO da rivedere il recupero del Path
$path = dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.$path;

echo "<br>path:".$path; //
echo "<br>fileperm:".fileperms($path); //

// cerca di forzare i permessi
// chmod($path, $perm);
clearstatcache();

// alcuni sistemi operativi ritornano il valore n ottale
// vedi Macintosh o FreeBSD
if (!$oct) {
$configmod = substr(sprintf('%o', fileperms($path)), -4);
$trcss = (($configmod == $perm || $configmod == "0777") ? true : false) ;
echo "<br>no-configmod:".$configmod; //
echo "<br>no-trcss:".$trcss; //

} else {
$configmod = octdec(substr(sprintf('%o', fileperms($path)), -4));
$trcss = (($configmod == $perm || $configmod == "777") ? true : false) ;
echo "<br>o-configmod:".$configmod; //
echo "<br>o-trcss:".$trcss; //
}

and get:
path:/Users/mperroul/Sites/Joomla_2.5/libraries/ifile/servercheck/../adapter/helpers/binaries/osx/pdftotext
fileperm:33263
o-configmod:495
o-trcss:Error recovery document: XPDFpath_

Hope this help, ... what else.
Courage,
/Marc
The administrator has disabled public write access.
The following user(s) said Thank You: Antonio

Re: JiFile problem on Mac 02 Mar 2012 18:26 #246

  • Antonio
  • Antonio's Avatar
  • OFFLINE
  • Administrator
  • Posts: 486
  • Thank you received: 66
Thanks Marc,
We are working on.
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: JiFile problem on Mac 12 Feb 2013 16:09 #992

  • AL1
  • AL1's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Hi,

I'im on mac os and i don't see exactly where i must copy this little code in the file "Adapter_Search_Lucene_Document_PDF.php" ?


if (!$reportCheckEXIF->getCheck()) {
...
}


Help !me please...
The administrator has disabled public write access.

Re: JiFile problem on Mac 15 Feb 2013 10:22 #997

  • Giampaolo
  • Giampaolo's Avatar
  • OFFLINE
  • Administrator
  • Posts: 465
  • Thank you received: 43
Hi,
if you use JiFile 1.0.8 then you have this
if (!$reportCheckXPDF->getCheck()) {
   require_once 'Adapter_Search_Lucene_Exception.php';
   throw new Adapter_Search_Lucene_Exception("XPDF not executable");
} 

from line 44 to line 47.

Comment this and try again.
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.
  • Page:
  • 1
  • 2