marcosgdf / dolibarr-otp Goto Github PK
View Code? Open in Web Editor NEWHOTP implementation for Dolibarr
HOTP implementation for Dolibarr
I am unable to install in Dolibarr version 6.0.1. It's showing "McryptNotActive" error message. And the mcrypt is deprecated since php7 so what's your plan now?
Page: http://dolibarr.local/admin/modules.php?mainmenu=home
( ! ) Fatal error: Cannot call constructor in /var/www/dolibarr/htdocs/otp/core/modules/modOtp.class.php on line 104
Call Stack
# Time Memory Function Location
1 0.0391 244384 {main}( ) .../modules.php:0
2 0.7995 4114608 modOtp->__construct( $db = class DoliDBPgsql { public $type = 'pgsql'; public $forcecharset = 'SQL_ASCII'; public $forcecollate = 'C'; private $_results = resource(91) of type (pgsql result); public $unescapeslashquot = NULL; public $standard_conforming_strings = NULL; public $db = resource(2) of type (pgsql link); public $connected = 1; public $database_selected = 1; public $database_name = 'dolibarr37'; public $database_user = 'postgres'; public $database_host = 'localhost'; public $database_port = '5432'; public $transaction_opened = 0; public $lastquery = 'SELECT name, label, fieldrequired FROM llx_extrafields WHERE elementtype = \'socpeople\' AND entity = 1'; public $lastqueryerror = NULL; public $lasterror = NULL; public $lasterrno = NULL; public $ok = 1; public $error = NULL; private ${DoliDB}:_results = NULL } ) .../modules.php:142
Hi,
I would like to use your system on the new Dolibarr version (9.0.3) but unfortunately, I have got this message when I try to connect to my Dolibarr account with your system:
Error: Bug into hook getLoginPageOptions of module class ActionsOtp. Method must not return a string but an int (0=OK, 1=Replace, -1=KO) and set string into ->resprints
Do you have any idea of how I can make your system operational?
Thanks
Hi,
Everything went OK with installing the module, extracted, and activated on Dolibarr... when i go to User Card to generate the Code, i receive an error (500) saying that it's not accessible.
And when i disable the OTP module, the Use Card page is accessible without problem.
Would you please help me solve this issue.
Thank you.
[Sat Sep 10 12:40:54.089672 2016] [:error] [pid 17965] [client 5.225.130.43:61816] PHP Fatal error: Cannot call constructor in htdocs/otp/core/modules/modOtp.class.php on line 104, referer: admin/company.php?mainmenu=home
Hi,
i tested your module on dolibarr 3.8.3 on my local machine Win not problem. but once i want to implemented on my prod machine Linux shared hosted with dolibarr 3.5.5 when i click on Module on the left bar the Module tabs did not load, so i cannot find where to activate the module.
once i delete or take off the otp folder from htdocs everything works fine
thank you for your support
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.