Mornin' all!
When trying to install an extention via the extention manager, I get a "blank" page with only this on it (in a red box):
Error: Call to undefined function splitbrain\PHPArchive\gzopen()
An unforeseen error has occured. This is most likely a bug somewhere. It might be a problem in the extension plugin.
More info has been written to the DokuWiki error log.
I like the bit about the error being unforeseen. I guess all other errors are known in advance? 😛
Anyways, this is what's in the log - which isn't really helpful either IMHO:
2022-09-21 09:21:02
Error: Call to undefined function splitbrain\PHPArchive\gzopen() /usr/database/srv/www/htdocs/wiki/vendor/splitbrain/php-archive/src/Zip.php(212)
#0 /usr/database/srv/www/htdocs/wiki/lib/plugins/extension/helper/extension.php(1192): splitbrain\PHPArchive\Zip->extract()
#1 /usr/database/srv/www/htdocs/wiki/lib/plugins/extension/helper/extension.php(1001): helper_plugin_extension_extension->decompress()
#2 /usr/database/srv/www/htdocs/wiki/lib/plugins/extension/helper/extension.php(686): helper_plugin_extension_extension->installArchive()
#3 /usr/database/srv/www/htdocs/wiki/lib/plugins/extension/admin.php(78): helper_plugin_extension_extension->installOrUpdate()
#4 /usr/database/srv/www/htdocs/wiki/inc/Action/Admin.php(33): admin_plugin_extension->handle()
#5 /usr/database/srv/www/htdocs/wiki/inc/ActionRouter.php(83): dokuwiki\Action\Admin->preProcess()
#6 /usr/database/srv/www/htdocs/wiki/inc/ActionRouter.php(48): dokuwiki\ActionRouter->setupAction()
#7 /usr/database/srv/www/htdocs/wiki/inc/ActionRouter.php(60): dokuwiki\ActionRouter->__construct()
#8 /usr/database/srv/www/htdocs/wiki/inc/actions.php(16): dokuwiki\ActionRouter::getInstance()
#9 /usr/database/srv/www/htdocs/wiki/doku.php(126): act_dispatch()
#10 {main}
I found a thread on a similar problem here, but that is only slightly useful, because the problem was solved by updating the wiki - and that was about three years ago. I am running a fresh install of the current version (2022-07-31a "Igor"), which lets me expect that the patch should be included in my install.
AFAIK, gzopen is a php-function. I have a relatively current (and maintained) version installed.
:~ # php --version
PHP 7.4.6 (cli) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
And I have also installed the zip-extension for php7.
Ducking for "opensuse" (the distro in question) and "gzopen" brought no useful results. The results were so generic, that they even just led to the Opensuse homepage (as in the landing page).
Could someone please give me a hint on where I should be looking and reading?