I've followed README.txt to add qrcodejs and twilio-php to the tfa_basic/includes/ directory.

Having the library as twilio under sites/all/libraries/twilio works insofar as the configuration form displays Twilio as an option. When using that route, however, I get the following error:

Error: Call to a member function sendMessage() on null in TfaBasicSms->sendCode() (line 132 of /path/to/sites/all/modules/tfa_basic/includes/tfa_sms.inc).

However using the sites/all/modules/tfa_basic/includes directory doesn't work, the page shows

Not available for use because Twilio PHP library is not installed. See TFA Basic README.txt.

Adding qrcodejs to includes/ directory results in the setup page no longer displaying a QR code.

There must be some steps missing.

I'm using Drupal 7 on nginx 1.10.3 and php-fpm 7.0.25, on Ubuntu 16.04.

Comments

henrythor created an issue. See original summary.

damienmckenna’s picture

Version: 7.x-1.0 » 7.x-1.x-dev