phpbb captcha uses depricated syntax
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
phpbb3 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Relevant installed packages:
phpbb3/xenial,now 3.0.14-1ubuntu1 all [installed]
php7.0-
php7.0-
I believe the package phpbb3 uses a version of phpbb that has a depricated syntax (when used with the php version it pulls in via APT) in its captcha plugin.
It is located in /usr/share/
All I had to do to fix it was change
$instance =& new phpbb_captcha_gd();
to
$instance = new phpbb_captcha_gd();
as described here: https:/
It seems these files in the same folder also needs changing:
./phpbb_ captcha_ qa_plugin. php:104: $instance =& new phpbb_captcha_qa(); recaptcha_ plugin. php:59: $instance =& new phpbb_recaptcha(); captcha_ nogd_plugin. php:45: $instance =& new phpbb_captcha_ nogd();
./phpbb_
./phpbb_