[Pkg-cacti-maint] Bug#815987: libphp-adodb requires porting to php7.0; mysql_pconnect is removed

Paul Gevers elbrus at debian.org
Mon Apr 4 18:37:13 UTC 2016


Hi TheSin,

On 04-04-16 18:46, TheSin wrote:
> I believe the real issue isn’t with adodb, it’s line 38 of /usr/share/cacti/site/lib/database.php

Without any change except for database_type, my testing was already
successful. Do you have any idea when and how this code would be triggered?

> $dsn = "$db_type://" . rawurlencode($user) . ":" . rawurlencode($pass) . "@" . rawurlencode($host) . "/" . rawurlencode($db_name) . "?persist”;
> 
> I believe we must remove the persist, so it no longer uses _pconnect in adodb, and it’ll switch to using _connect instead.
> 
> This is untested though I plan to test it in a bit, but I believe this should fix it.

As said, switching from mysql to mysqli already fixed issues. Are you
sure there is more that needs fixing?

Paul


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-cacti-maint/attachments/20160404/4d0477ec/attachment.sig>


More information about the Pkg-cacti-maint mailing list