[CDB] phpBB two factor authentication

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Scam Warning
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
igorbond
Registered User
Posts: 119
Joined: Sun Mar 24, 2013 5:54 pm

Re: [3.2][BETA] phpBB two factor authentication

Post by igorbond »

I just installed the extension, and I tried the installation option through the extension and standardly. Uploaded via extension
Image
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 27130
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: [3.2][BETA] phpBB two factor authentication

Post by Paul »

Make sure you properly uploaded the vendor/ folder from the download, as that seems to be partly missing.
igorbond
Registered User
Posts: 119
Joined: Sun Mar 24, 2013 5:54 pm

Re: [3.2][BETA] phpBB two factor authentication

Post by igorbond »

Code: Select all

Fatal error: Uncaught Error: Class 'paul999\u2f\U2F' not found in /var/www/southklad/data/www/southklad.ru/phpBB3.2/ext/paul999/tfa/modules/u2f.php:67 Stack trace: #0 [internal function]: paul999\tfa\modules\u2f->__construct(Object(phpbb\db\driver\factory), Object(phpbb\user), Object(phpbb\request\request), Object(phpbb\template\twig\twig), 'phpbb_tfa_regis...', './../') #1 /var/www/southklad/data/www/southklad.ru/phpBB3.2/vendor/symfony/dependency-injection/ContainerBuilder.php(933): ReflectionClass->newInstanceArgs(Array) #2 /var/www/southklad/data/www/southklad.ru/phpBB3.2/vendor/symfony/dependency-injection/ContainerBuilder.php(467): Symfony\Component\DependencyInjection\ContainerBuilder->createService(Object(Symfony\Component\DependencyInjection\Definition), Object(SplObjectStorage), 'paul999.tfa.mod...') #3 /var/www/southklad/data/www/southklad.ru/phpBB3.2/phpbb/di/service_collection.php(72): Symfony\Component\DependencyInjection\ContainerBuilder->get('paul999.tfa.mod...') #4 /var/www/southklad/data/www/southklad.ru in /var/www/southklad/data/www/southklad.ru/phpBB3.2/ext/paul999/tfa/modules/u2f.php on line 67
forum https://southklad.ru/phpBB3.2/
Image
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 27130
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: [3.2][BETA] phpBB two factor authentication

Post by Paul »

Again, did you properly upload the vendor/ map which is included in the extension?
igorbond
Registered User
Posts: 119
Joined: Sun Mar 24, 2013 5:54 pm

Re: [3.2][BETA] phpBB two factor authentication

Post by igorbond »

Paul wrote:
Thu Apr 09, 2020 7:49 am
Again, did you properly upload the vendor/ map which is included in the extension?
Of course, right, do I upload all files via FTP? checked several times. Trial on versions 3.2.7, as well as on 3.2.9
My PHP version is 7.1.33
Image
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 27130
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: [3.2][BETA] phpBB two factor authentication

Post by Paul »

Does the file ext\paul999\tfa\vendor\paul999\u2flib-server\U2F.php exists on your board?
igorbond
Registered User
Posts: 119
Joined: Sun Mar 24, 2013 5:54 pm

Re: [3.2][BETA] phpBB two factor authentication

Post by igorbond »

It is not in the archive at all

Image
Image
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 27130
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: [3.2][BETA] phpBB two factor authentication

Post by Paul »

igorbond
Registered User
Posts: 119
Joined: Sun Mar 24, 2013 5:54 pm

Re: [3.2][BETA] phpBB two factor authentication

Post by igorbond »

Yes, I found, just in the first post there are several links and different files
Image
igorbond
Registered User
Posts: 119
Joined: Sun Mar 24, 2013 5:54 pm

Re: [3.2][BETA] phpBB two factor authentication

Post by igorbond »

Thanks, it works, but is it possible to make sure that each user can choose whether he needs this function or not?
Image
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 27130
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: [3.2][BETA] phpBB two factor authentication

Post by Paul »

Depending on your settings it is already optional.
User avatar
Siguza
Registered User
Posts: 315
Joined: Wed Apr 22, 2020 10:59 am
Location: Melbourne, Australia
Contact:

Re: [3.2][BETA] phpBB two factor authentication

Post by Siguza »

Hi,

I got the following exception when I enable this on a phpbb3.3 forum

"The migration "\paul999\tfa\migrations\version_005" is not fulfillable, missing migration "\paul999\tfa\migrations\initial_version_interface".
Formerly known as qcz When replying directly to me please quote me so I get notified. Thanks.

I am now inactive. I might read posts from time to time, however I will very rarely create or reply to a topic.
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 27130
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: [3.2][BETA] phpBB two factor authentication

Post by Paul »

User avatar
Siguza
Registered User
Posts: 315
Joined: Wed Apr 22, 2020 10:59 am
Location: Melbourne, Australia
Contact:

Re: [3.2][BETA] phpBB two factor authentication

Post by Siguza »

I don't get thrown an exception, which is good. But i get an AJAX error saying something went wrong while processing.
Formerly known as qcz When replying directly to me please quote me so I get notified. Thanks.

I am now inactive. I might read posts from time to time, however I will very rarely create or reply to a topic.
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 27130
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: [3.2][BETA] phpBB two factor authentication

Post by Paul »

At what point do you get that error?
Locked

Return to “Extensions in Development”