When uploading a pdf to our site, we get the error Call to undefined function popen ( ).
How could this be solved?Call stack#FunctionLocation1()JROOT/plugins/edocman/indexer/adapters/pdf.php:212PDF2Text->getText()JROOT/plugins/edocman/indexer/adapter.php:403IndexerAdapter::getText()JROOT/plugins/edocman/indexer/indexer.php:324plgEDocmanIndexer->onDocumentAfterSave()JROOT/libraries/src/Plugin/CMSPlugin.php:2795Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin\{closure}()JROOT/libraries/vendor/joomla/event/src/Dispatcher.php:4866Joomla\Event\Dispatcher->dispatch()JROOT/libraries/src/Application/EventAware.php:1077Joomla\CMS\Application\WebApplication->triggerEvent()JROOT/administrator/components/com_edocman/libraries/rad/model/admin.php:2258OSModelAdmin->save()JROOT/administrator/components/com_edocman/model/common/document.php:5969EDocmanModelCommonDocument->save()JROOT/administrator/components/com_edocman/libraries/rad/controller/admin.php:21210OSControllerAdmin->save()JROOT/components/com_edocman/controller/document.php:40411EDocmanControllerDocument->save()JROOT/administrator/components/com_edocman/libraries/rad/controller/controller.php:30112OSController->execute()JROOT/components/com_edocman/edocman.php:3913require_once()JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:7114Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}()JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:7315Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch()JROOT/libraries/src/Component/ComponentHelper.php:35516Joomla\CMS\Component\ComponentHelper::renderComponent()JROOT/libraries/src/Application/SiteApplication.php:20017Joomla\CMS\Application\SiteApplication->dispatch()JROOT/libraries/src/Application/SiteApplication.php:24118Joomla\CMS\Application\SiteApplication->doExecute()JROOT/libraries/src/Application/CMSApplication.php:29419Joomla\CMS\Application\CMSApplication->execute()JROOT/includes/app.php:6120require_once()JROOT/index.php:32
Joomla version: 4.2.3
Edocman version: 1.24.3
PHP version: 8.1.10
Best regards, Niels
Last edit: 4 years 2 weeks ago by Niels van Strien.
Hi,
Popen is core PHP function, you need that function to be enabled if you want to index content of pdf files. If your server doesn't support that function, you can disable the plugin: Edocman PDF Indexer to avoid this matter
Thanks
Dam