- Posts: 16
- Thank you received: 0
All questions about EDocman extension
Call to undefined function popen ( )
- Niels van Strien
- Topic Author
- Offline
- New Member
Less
More
2 years 1 month ago - 2 years 1 month ago #154337
by Niels van Strien
Call to undefined function popen ( ) was created by Niels van Strien
Hello,
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
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: 2 years 1 month ago by Niels van Strien.
Please Log in or Create an account to join the conversation.
- Mr. Dam
- Offline
- Administrator
Less
More
- Posts: 12818
- Thank you received: 1659
2 years 1 month ago #154340
by Mr. Dam
Replied by Mr. Dam on topic Call to undefined function popen ( )
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
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
Please Log in or Create an account to join the conversation.
- Alison
- Offline
- Platinum Member
1 year 10 months ago #155987
by Alison
Replied by Alison on topic Call to undefined function popen ( )
I have raised a ticket on this and had the same answer.
We have enabled popen function on the server and still get the same error message.
Turning off indexer plugin is OK as a short term fix but we need our docuements indexing, otherwise our users will not be able to search for them!!
Please can we find a better solution?
Thanks
Alison
We have enabled popen function on the server and still get the same error message.
Turning off indexer plugin is OK as a short term fix but we need our docuements indexing, otherwise our users will not be able to search for them!!
Please can we find a better solution?
Thanks
Alison
Please Log in or Create an account to join the conversation.
- Mr. Dam
- Offline
- Administrator
Less
More
- Posts: 12818
- Thank you received: 1659
1 year 10 months ago #155995
by Mr. Dam
Replied by Mr. Dam on topic Call to undefined function popen ( )
Hi Alison,
Please update the ticket and provide your site url with super admin account. I will have deeper checking for you
Thanks
Dam
Please update the ticket and provide your site url with super admin account. I will have deeper checking for you
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Alison
- Offline
- Platinum Member
1 year 10 months ago #155997
by Alison
Replied by Alison on topic Call to undefined function popen ( )
I already did on ticket 125777 (you will need to reopen it please).
Be aware that indexer is turned off, you will need to turn it back on to recreate the problem.
Thanks
Be aware that indexer is turned off, you will need to turn it back on to recreate the problem.
Thanks
Please Log in or Create an account to join the conversation.
- Mr. Dam
- Offline
- Administrator
Less
More
- Posts: 12818
- Thank you received: 1659
1 year 10 months ago #156050
by Mr. Dam
Replied by Mr. Dam on topic Call to undefined function popen ( )
Hi Alison,
I am waiting for your response
Thanks
Dam
I am waiting for your response
Thanks
Dam
The following user(s) said Thank You: Alison
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.