Re: Avantfax 3.3.5 - notify.php - Call to undefined function: MDB2_Driver_mysql::raiseError()

Leonid Isaev <[email protected]> Mon, 25 Nov 2019 13:22:25 +0000
Newsgroups gmane.comp.telephony.fax.hylafax.user
Message-ID <20191125132225.GA12485@orca>
On Sun, Nov 24, 2019 at 01:00:19AM -0600, David C. Rankin wrote:
> Yes, sorry, I am running php56 from AUR -- just rebuilt a day or two ago do to
> the ICU... update.
> 
> # pear list
> Installed packages, channel pear.php.net:
> =========================================
> Package            Version State
> Archive_Tar        1.4.8   stable
> Auth_SASL          1.1.0   stable
> Config             1.10.12 stable
> Console_Getopt     1.4.3   stable
> DB                 1.9.3   stable
> Log                1.13.1  stable
> MDB2               2.4.1   stable
> MDB2_Driver_mysql  1.4.1   stable
> MDB2_Driver_mysqli 1.4.1   stable

On my centos 7 machine, MDB2 is v2.5.0b5 and MDB2_Driver_mysql is v1.5.0b5. I
don't use avantfax, so don't know why it works for me :P

Also, can you actually verify that raiseError() is not mentioned in your
MDB2-related php files? FWIW, I grepped the output of rpm -ql php-pear-MDB2 and
there is raiseError() method.

I don't know php at all, but it seems pear is like pip, so you might try
updating with "pear upgrade". BE WARNED though that this might break your
system because you'll write files unknown to pacman to the rootfs and in the
future may run into file conflicts.

My personal advice is to never ever use pip, pear or other similar tools as
root (and preferrably otherwise) because they are unsafe and insecure. If
avantfax had a place in my workflow, I'd try to package all necessary pear
packages, similar to what we do with python (python-* stuff).

HTH,
L.

-- 
Leonid Isaev
Linux Support Engineer
iFAX Solutions, Inc.
www.ifax.com

+1.215.825.8700 ext 8126 (office)
+1.215.825.8767 (fax)


____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe [email protected] < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail [email protected].*