[Bug 1602823] Re: phpbb captcha uses depricated syntax

2016-07-13 Thread Thomas Finstad Larsen
It seems these files in the same folder also needs changing:

./phpbb_captcha_qa_plugin.php:104:  $instance =& new 
phpbb_captcha_qa();
./phpbb_recaptcha_plugin.php:59:$instance =& new 
phpbb_recaptcha();
./phpbb_captcha_nogd_plugin.php:45: $instance =& new 
phpbb_captcha_nogd();

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1602823

Title:
  phpbb captcha uses depricated syntax

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/phpbb3/+bug/1602823/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1602823] [NEW] phpbb captcha uses depricated syntax

2016-07-13 Thread Thomas Finstad Larsen
Public bug reported:

Relevant installed packages:
phpbb3/xenial,now 3.0.14-1ubuntu1 all [installed]
php7.0-common/xenial-updates,xenial-security,now 7.0.4-7ubuntu2.1 amd64 
[installed,automatic]
php7.0-gd/xenial-updates,xenial-security,now 7.0.4-7ubuntu2.1 amd64 
[installed,automatic]


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/phpbb3/www/includes/captcha/plugins/phpbb_captcha_gd_plugin.php
on line 55.

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://www.phpbb.com/community/viewtopic.php?p=12797072#p12797072

** Affects: phpbb3 (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: captcha php phpbb phpbb3

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1602823

Title:
  phpbb captcha uses depricated syntax

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/phpbb3/+bug/1602823/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs