piWallet icon indicating copy to clipboard operation
piWallet copied to clipboard

$this->getCode not compatible with PHP7

Open jfm-so opened this issue 7 years ago • 4 comments

"In the classes/User.php file, you use this->getCode() which is a builtin method in php7 at least. This causes 2 factor authentication not to work. I rectified this in my instance by changing it to getCodePin() as the function/method name, but to each his own." - TW (via eMail)

jfm-so avatar Sep 07 '17 03:09 jfm-so

Didn't mean to close. piWallet is not officially compatible with PHP7 to begin with, but I will make this change.

jfm-so avatar Sep 07 '17 03:09 jfm-so

Is piWallet now working with PHP7, I've been trying to setup using ubuntu 16.04 with PHP7 and Nginx as the web server but having some issues. Do I need to start over with PHP 5 and use apache2?

NicoDFS avatar Jul 12 '18 21:07 NicoDFS

Please use PHP5 for the time being - and I don't plan on having any future compatibility with NGINX or WAMP, for that matter.

jfm-so avatar Jul 13 '18 05:07 jfm-so

yup, reverting back to php5.6 and apache2 did the trick, thanks

NicoDFS avatar Jul 13 '18 17:07 NicoDFS