Benvenuto,
Ospite
|
|
|
Thanks! It works great despite the warning that remains on the control page. Great workaround.
Cheers |
L\'Amministratore ha disattivato l\'accesso in scrittura al pubblico.
|
|
Marc ha scritto:
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! 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 ). |
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: 08/02/2012 10:43 da Antonio.
L\'Amministratore ha disattivato l\'accesso in scrittura al pubblico.
|
|
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
L\'Amministratore ha disattivato l\'accesso in scrittura al pubblico.
|
|
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 |
L\'Amministratore ha disattivato l\'accesso in scrittura al pubblico.
I seguenti utenti ringraziano:: Antonio
|
|
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
L\'Amministratore ha disattivato l\'accesso in scrittura al pubblico.
|
|
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... |
L\'Amministratore ha disattivato l\'accesso in scrittura al pubblico.
|
|
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
L\'Amministratore ha disattivato l\'accesso in scrittura al pubblico.
|
|
Facendo click su qualunque link della pagina si accetta il loro utilizzo. Per saperne di piu'