Hi maintainer. I encounter blank screen issue after login using 2FA @ php74. And error message as below [10-Jun-2020 13:49:22 Asia/Taipei] PHP Fatal error: Uncaught BaconQrCode\Exception\RuntimeException: You need to install the libxml extension to use this back end in /home/www/phpmyadmin.epopen.com/vendor/bacon/bacon-qr-code/src/Renderer/Image/SvgImageBackEnd.php:46 Stack trace: #0 /home/www/phpmyadmin.epopen.com/libraries/classes/Plugins/TwoFactor/Application.php(47): BaconQrCode\Renderer\Image\SvgImageBackEnd->__construct() #1 /home/www/phpmyadmin.epopen.com/libraries/classes/TwoFactor.php(196): PhpMyAdmin\Plugins\TwoFactor\Application->__construct(Object(PhpMyAdmin\TwoFactor)) #2 /home/www/phpmyadmin.epopen.com/libraries/classes/TwoFactor.php(74): PhpMyAdmin\TwoFactor->getBackend() #3 /home/www/phpmyadmin.epopen.com/libraries/classes/Plugins/AuthenticationPlugin.php(342): PhpMyAdmin\TwoFactor->__construct('epopen') #4 /home/www/phpmyadmin.epopen.com/libraries/common.inc.php(402): PhpMyAdmin\Plugins\AuthenticationPlugin->checkTwoFactor() #5 /home/www/phpmyadmin.epopen.com/index.php(23): require_once('/home/www/phpmy...') #6 {main} thrown in /home/www/phpmyadmin.epopen.com/vendor/bacon/bacon-qr-code/src/Renderer/Image/SvgImageBackEnd.php on line 46 The issue can fix by install dependence extensions as below # portmaster textproc/php74-xmlwriter Other user got same issue at https://github.com/phpmyadmin/phpmyadmin/issues/16064 Please help to fix the issue. Thanks a lot.
This should be fix your problem: http://joneum.joneumbox.org/phpmyadmin5-xmlwriter.diff
(In reply to Jochen Neumeister from comment #1) Hi Jochen Thanks your solution.
A commit references this bug: Author: joneum Date: Thu Jul 9 10:52:25 UTC 2020 New revision: 541743 URL: https://svnweb.freebsd.org/changeset/ports/541743 Log: Add xmlwriter for USE_PHP: this fix a Problem with 2FA PR: 247134 Reported by: epopen@gmail.com Sponsored by: Netzkommune GmbH Changes: head/databases/phpmyadmin5/Makefile
A commit references this bug: Author: joneum Date: Thu Jul 9 21:58:58 UTC 2020 New revision: 541827 URL: https://svnweb.freebsd.org/changeset/ports/541827 Log: MFH: r541743 Add xmlwriter for USE_PHP: this fix a Problem with 2FA PR: 247134 Reported by: epopen@gmail.com Sponsored by: Netzkommune GmbH Approved by: ports-secteam (with hat) Changes: _U branches/2020Q3/ branches/2020Q3/databases/phpmyadmin5/Makefile