Hello everyone, I’ve been using Openemr for 6 months but when I installed it I missed the MFA security part.
Hope someone can show me how to reinstall this feature without reinstalling everything? Since I’ve adapted the changes to how the base structure works, it’s a pain to set it all up again from scratch. Thanks everyone.
Dear Mr. @DrBassmanOD Thank you for supporting me, but I had done that way for TOTP and had pass by the password requirement then the QR code not show up at the TOTP Registrasion page.
There was a bug in that screen where you MUST click the button with your mouse after typing your password. If you hit the enter button, the QR code was not displayed, but if you clicked it with the mouse it was. It is fixed in version 7.0.2 if you are running an older version, the bug is still there.
Try that.
Thank you @DrBassmanOD . With that bug, I will install version 7.0.2. My system is currently running version 7.0.0 custom is old for now.
Hi, I´m using version 7.03 bun I have the same problem, I cant get the Qcode niether some code number. I have a 500 error on my server and this mesage.
Failed to load resource: the server responded with a status of 500 (Internal Server Error) mfa_totp.php:1
Fatal error: Uncaught Error: Call to undefined function BaconQrCode\Encoder\iconv() in /home/wwipao/public_html/expediente/vendor/bacon/bacon-qr-code/src/Encoder/Encoder.php:616 Stack trace: #0 /home/wwipao/public_html/expediente/vendor/bacon/bacon-qr-code/src/Encoder/Encoder.php(532): BaconQrCode\Encoder\Encoder::append8BitBytes(‘otpauth://totp/…’, Object(BaconQrCode\Common\BitArray), ‘ISO-8859-1’) #1 /home/wwipao/public_html/expediente/vendor/bacon/bacon-qr-code/src/Encoder/Encoder.php(82): BaconQrCode\Encoder\Encoder::appendBytes(‘otpauth://totp/…’, Object(BaconQrCode\Common\Mode), Object(BaconQrCode\Common\BitArray), ‘ISO-8859-1’) #2 /home/wwipao/public_html/expediente/vendor/bacon/bacon-qr-code/src/Writer.php(46): BaconQrCode\Encoder\Encoder::encode(‘otpauth://totp/…’, Object(BaconQrCode\Common\ErrorCorrectionLevel), ‘ISO-8859-1’, NULL) #3 /home/wwipao/public_html/expediente/vendor/robthree/twofactorauth/lib/Providers/Qr/BaconQrCodeProvider.php(99): BaconQrCode\Writer->writeString(‘otpauth://totp/…’) #4 /home/wwipao/public_html/expediente/vendor/robthree/twofactorauth/lib/Providers/Qr/BaconQrCodeProvider.php(62): RobThree\Auth\Providers\Qr\BaconQrCodeProvider->getQRCodeByBackend(‘otpauth://totp/…’, 200, Object(BaconQrCode\Renderer\Image\SvgImageBackEnd)) #5 /home/wwipao/public_html/expediente/vendor/robthree/twofactorauth/lib/TwoFactorAuth.php(120): RobThree\Auth\Providers\Qr\BaconQrCodeProvider->getQRCodeImage(‘otpauth://totp/…’, 200) #6 /home/wwipao/public_html/expediente/library/classes/Totp.class.php(65): RobThree\Auth\TwoFactorAuth->getQRCodeImageAsDataUri(‘neuromurillo’, ‘6AQK36JOBNQWFKC…’) #7 /home/wwipao/public_html/expediente/interface/usergroup/mfa_totp.php(164): Totp->generateQrCode() #8 {main} thrown in /home/wwipao/public_html/expediente/vendor/bacon/bacon-qr-code/src/Encoder/Encoder.php on line 616
Sorry I could fix the problem. I activated the php extension inconv, and now the qcode is working.
Thanks
Here are some extensions that you may need:
The correct PHP settings:
Restart the services

