Welcome,
Guest
|
|
Dear Team,
I tried more pdf indexers. There is not really good one. This why I would like to force JiFile 1.0.7 work on our server. After install I have this error message: Warning: fileperms() [function.fileperms]: stat failed for ...../libraries/ifile/servercheck/..//usr/bin/pdftotext in ...../libraries/ifile/servercheck/LuceneServerCheck.php on line 561 I can not index pdfs. I have success with an other program to index pdf files. Server details: Database Version 5.0.51a-3ubuntu5.8 Database Collation utf8_general_ci PHP Version 5.2.4-2ubuntu5.18 Web Server Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.18 with Suhosin-Patch WebServer to PHP Interface apache2handler Joomla! Version Joomla! 2.5.4 Stable [ Ember ] 2-April-2012 14:00 GMT Joomla! Platform Version Joomla Platform 11.4.0 Stable [ Brian Kernighan ] 03-Jan-2012 00:00 GMT The report is good, only this line is failed: XPDF Binaries File Unexecutable CHMOD 0755 Permission XPDF Binaries File (/usr/bin/pdftotext): - Please set to 0755 for binaries XPDF in LIN Used only for PDF file parser WebSite: www.foolabs.com I would like to ask for your help, please. |
The administrator has disabled public write access.
|
|
Hi,
try this work around www.isapp.it/en/forum-en/7-component/166...?limit=8&start=8#405 and set permissions to 755 on the file libraries/ifile/adapter/helpers/binaries/linux/pdftotext |
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.
|
|
Dear Antonio,
Thank You very much for your fast answer. I tried these things but these didn't help. If I delete this part of LuceneServerCheck.php, then my failure notice disappears: // 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) ; } else { $configmod = octdec(substr(sprintf('%o', fileperms($path)), -4)); $trcss = (($configmod == $perm || $configmod == "777") ? true : false) ; } After this the problem is during indexing: XPDF_not_executable. So I checked the /usr/bin/pdftotex file and it was 0755 I also changed libraries/ifile/adapter/helpers/binaries/linux/pdftotext to 0755. It didn't help as well. The "Report Check System" shows this still: XPDF Binaries File Unexecutable CHMOD 0755 Permission XPDF Binaries File (/usr/bin/pdftotext): - Please set to 0755 for binaries XPDF in LIN Used only for PDF file parser WebSite: www.foolabs.com What can cause this problem? |
The administrator has disabled public write access.
|
|
I have an other problem: When I save Configuration it says that Configuration saved but above that it says: "Copy failed" twice. Can this info help to solve the problem?
|
The administrator has disabled public write access.
|
|
I am having a similar problem. It seems to be looking up a relative file path when it should be absolute. I have tried the fixes above but it didn't make any difference. The files are 755.
Warning: fileperms() [function.fileperms]: stat failed for /var/www/hosted/demo3/public_html/recfishwest/libraries/ifile/servercheck/..//usr/bin/pdftotext in /var/www/hosted/demo3/public_html/recfishwest/libraries/ifile/servercheck/LuceneServerCheck.php on line 561 #TimeMemoryFunctionLocation 10.000387908{main}( )../index.php:0 20.05504656664JAdministrator->dispatch( )../index.php:46 30.05864986712JComponentHelper::renderComponent( )../application.php:153 40.06255028108JComponentHelper::executeComponent( )../helper.php:351 50.06265079724require_once( '/var/www/hosted/demo3/public_html/recfishwest/administrator/components/com_jifile/jifile.php' )../helper.php:383 60.06805618464JifileController->execute( )../jifile.php:36 70.06805618464JifileController->display( )../controller.php:36 80.07686422000JController->getModel( )../controller.php:108 90.07686422000JController->createModel( )../controller.php:792 100.07686422000JModel::getInstance( )../controller.php:599 110.07796532400JifileModelLucene->__construct( )../model.php:201 120.07796532996IFileFactory->getIFileIndexing( )../lucene.php:36 130.08377158148ReflectionClass->newInstance( )../IFileFactory.php:110 140.08377158852IFile_Indexing_Lucene->__construct( )../IFile_Indexing_Lucene.php:0 150.08377158904IFile_Indexing_Lucene->__createIndex( )../IFile_Indexing_Lucene.php:50 160.08377159168LuceneServerCheck->serverCheck( )../IFile_Indexing_Lucene.php:63 170.08417172988LuceneServerCheck->checkPermissionXPDF( )../LuceneServerCheck.php:130 180.08417173840LuceneServerCheck->checkPermits( )../LuceneServerCheck.php:285 190.08417174144fileperms ( )../LuceneServerCheck.php:561 |
The administrator has disabled public write access.
|
|
Actually I 'fixed' this by editing libraries/ifile/servercheck/LuceneServerCheck.php:
FROM: 56: const BINARIES_DEFAULT = '/usr/bin/pdftotext'; TO: 56: const BINARIES_DEFAULT = 'adapter/helpers/binaries/linux/pdftotext'; PDF files seem to be indexing OK now, but I get this when viewing index detail: ( ! ) Notice: Undefined index: encoding in /var/www/hosted/demo3/public_html/recfishwest/administrator/components/com_jifile/views/filedetail/view.html.php on line 47 Call Stack #TimeMemoryFunctionLocation 10.000389476{main}( )../index.php:0 20.05514658612JAdministrator->dispatch( )../index.php:46 30.05874988760JComponentHelper::renderComponent( )../application.php:153 40.06285030944JComponentHelper::executeComponent( )../helper.php:351 50.06295082404require_once( '/var/www/hosted/demo3/public_html/recfishwest/administrator/components/com_jifile/jifile.php' )../helper.php:383 60.06875656952JifileControllerLucene->execute( )../jifile.php:36 70.06875656952JifileControllerLucene->display( )../lucene.php:62 80.14999792488JController->display( )../lucene.php:88 90.15029793744JifileViewFiledetail->display( )../controller.php:721 |
The administrator has disabled public write access.
|
|
Hi,
the notice is not important. Joomla in the production environment must be configured to not display errors |
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.
|
If you not change browser settings, you agree to it. Learn more