Re: Avantfax 3.3.5 new Notify.php error Call to undefined function: MDB2_Driver_mysql::raiseError()?
"David C. Rankin" <[email protected]> Tue, 21 May 2019 22:16:14 -0500
| Newsgroups | gmane.comp.telephony.fax.hylafax.user |
|---|---|
| Organization | Rankin Law Firm, PLLC |
| Message-ID | <[email protected]> |
On 02/26/2019 03:52 PM, David C. Rankin wrote: > On 02/21/2019 05:17 PM, David C. Rankin wrote: >> recvfrom(3, "7Incorrect integer value: '' for"..., 97, MSG_DONTWAIT, NULL, >> NULL) = 87 >> 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 > > David, > > I think this is a fluke based on the specific recipient/sender. In both > cases the problem was caused by the fax sent to/from the local Sheriff's > office. The phone system does some special manipulation with the law > enforcement caller ID/fax ID to ensure it is blocked. > > I don't know for sure, but I suspect that is the root of why some incorrect > integer value got mixed into the caller-ID/fax-ID processing of those faxes. > Notify is working correctly this morning on other faxes sent with the > thumbnails correctly appearing in the Archive. > > I looked though the .php, but I'm not familiar enough with it to see where > or how a stray caller/fax ID would cause the problem. Maybe for 3.3.6 look > though how a worst-case scenario is handled that could result in something > like this. > > Put this on the back burner. If it is just due to special caller/fax ID in > use by law enforcement, then at least I know what to watch out for. > David, Let me bump this thread again as it has happened again (with php56_5.6.40 built this evening just to make sure). The error is the same: bin/notify.php doneq/q116 done 0:02:30 1 notify> Executing: doneq/q116 done 0:02:30 1 (5) totpages: 1 external: 1202225xxxx mailaddr: [email protected] jobid: 116 receiver: company: location: voice: regarding: owner: david groupid: 116 status: Found file: docq/doc119.pdf PHP Fatal error: Call to undefined function: MDB2_Driver_mysql::raiseError(). in /usr/share/php56/pear/MDB2.php on line 1936 Fatal error: Call to undefined function: MDB2_Driver_mysql::raiseError(). in /usr/share/php56/pear/MDB2.php on line 1936 The strace is largely the same: recvfrom(3, "AddressBookFAX\16AddressBookFAX\5fa"..., 97, MSG_DONTWAIT, NULL, NULL) = 97 poll([{fd=3, events=POLLIN|POLLERR|POLLHUP}], 1, 1471228928) = 1 ([{fd=3, revents=POLLIN}]) recvfrom(3, "kFAX\7printer\7printer\f!\0,\1\0\0\375\0\0\0\0"..., 97, MSG_DONTWAIT, NULL, NULL) = 83 mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1d1bb12000 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#22007I", 14, MSG_DONTWAIT, NULL, NULL) = 14 poll([{fd=3, events=POLLIN|POLLERR|POLLHUP}], 1, 1471228928) = 1 ([{fd=3, revents=POLLIN}]) recvfrom(3, "ncorrect integer value: '' for c"..., 97, MSG_DONTWAIT, NULL, NULL) = 85 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 The error seems the same as well, UPDATE AddressBookFAX SET a"..._\0\0\1\377V\5#22007Incorrect integer value: '' for c" The full doneq/q116 (with my xxxx and 'me' to protect the e-mail and destination) is: # cat doneq/q116 tts:1558485067 killtime:1558495740 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:1202225xxxx number:1202225xxxx mailaddr:[email protected] sender:me jobid:116 jobtag: pagehandling: modem:any faxnumber: tsi:RankinLawFirmPLLC receiver: company: location: voice: fromcompany:Rankin Law Firm, PLLC fromlocation:xxxx Ochiltree St. fromvoice:(936) 564-xxxx regarding: comments: cover: client:host.3111skyline.com owner:david groupid:116 signalrate:9600 bit/s dataformat:1-D MH jobtype:facsimile tagline: subaddr: passwd: doneop:default commid:000000285 csi:HouseFax nsf:Equipment:unknown :Station: pagerange: status: statuscode:0 returned:2 notify:when done+requeued pagechop:default chopthreshold:3 !pdf:0::docq/doc119.pdf I don't know if the 'c' that doesn't have the current integer value is one of: coverpages:0 company: comments: cover: client:host.3111skyline.com commid:000000285 csi:HouseFax chopthreshold:3 Or if it is something else completely. This doesn't happen all the time, but it has now happened twice, both when sending to government faxes -- if that makes any difference. So this isn't a huge issue, but it is a strange one. Food for thought. -- 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].*