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

"David C. Rankin" <[email protected]> Thu, 21 Nov 2019 20:28:29 -0600
Newsgroups gmane.comp.telephony.fax.hylafax.user
Organization Rankin Law Firm, PLLC
Message-ID <[email protected]>
David,

  Every once in a while I run into a problem where notify.php does not work.
Instead there are pear error like:

PHP Fatal error:  Call to undefined function: MDB2_Driver_mysql::raiseError().
in /usr/share/php56/pear/MDB2.php on line 1936

  This isn't consistent, as I had faxes earlier in the day go through just
fine. A strace shows:

# strace bin/notify.php "doneq/q127" "done" "0:01:02"
...
sendto(3, "\351\0\0\0\3UPDATE AddressBookFAX SET a"..., 237, MSG_DONTWAIT,
NULL, 0) = 237
poll([{fd=3, events=POLLIN|POLLERR|POLLHUP}], 1, 1471228928) = 1 ([{fd=3,
revents=POLLIN}])
recvfrom(3, "_\0\0\1\377V\5#22007Incorrect integer v"..., 59, MSG_DONTWAIT,
NULL, NULL) = 59
poll([{fd=3, events=POLLIN|POLLERR|POLLHUP}], 1, 1471228928) = 1 ([{fd=3,
revents=POLLIN}])
recvfrom(3, "ax`.`AddressBookFAX`.`faxcatid` "..., 188, MSG_DONTWAIT, NULL,
NULL) = 40
write(2, "PHP Fatal error:  Call to undefi"..., 126PHP Fatal error:  Call to
undefined function: MDB2_Driver_mysql::raiseError(). in
/usr/share/php56/pear/MDB2.php on line 1936
) = 126
write(1, "\nFatal error: Call to undefined "..., 122
Fatal error: Call to undefined function: MDB2_Driver_mysql::raiseError(). in
/usr/share/php56/pear/MDB2.php on line 1936
) = 122

  Which seems to suggest an error sending the sql update of AddressBookFAX
which is the actual error, but then though whatever error reporting from
MDB2.php turn into an undefined function error due to the error function being
invoked not being defined.

  The doneq/q127 file is:

tts:1574378343
killtime:1574389019
retrytime:0
state:7
npages:1
totpages:1
nskip:0
skippages:0
ncover:0
coverpages:0
ntries:0
ndials:0
totdials:1
maxdials:12
tottries:1
maxtries:3
pagewidth:215
resolution:98
pagelength:279
priority:127
schedpri:127
minbr:0
desiredbr:13
desiredst:0
desiredec:2
desireddf:3
desiredtl:0
useccover:1
usexvres:0
external:12022253404
number:12022253404
mailaddr:[email protected]
sender:david
jobid:127
jobtag:
pagehandling:
modem:any
faxnumber:
tsi:RankinLawFirmPLLC
receiver:
company:
location:
voice:
fromcompany:Rankin Law Firm, PLLC
fromlocation:510 Ochiltree St.
fromvoice:(936) 715-9xxx
regarding:
comments:
cover:
client:valkyrie.mydomain.com
owner:david
groupid:127
signalrate:9600 bit/s
dataformat:1-D MH
jobtype:facsimile
tagline:
subaddr:
passwd:
doneop:default
commid:000000299
csi:HouseFax
nsf:Equipment:unknown :Station:
pagerange:
status:
statuscode:0
returned:2
notify:when done+requeued
pagechop:default
chopthreshold:3
!pdf:0::docq/doc130.pdf

  Any idea what this error actually is and why it only occurs on some doneq
documents?


-- 
David C. Rankin, J.D.,P.E.


____________________ 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].*