POP3 Fetching: Bug?
Posted: Fri Oct 16, 2015 8:42 pm
I've got POP3 fetching configured and enabled. When I execute hesk_pop3.php, the script connects, logs in, gets the mailbox's proper message count, then times out during parsing.
The MySQL ticket insertion is where things are falling apart. MySQL returns the following error:
The following PHP notices are raised:
Based on the table structure, it looks like MySQL is expecting a zero or a one -- posting_functions.inc.php was passing a blank string, so the record insertion was failing. I changed line 147 from '".hesk_dbEscape($ticket['html'])."' to 1, re-ran hesk_pop3.php, and then received a flood of notifications from the test e-mails (that had previously been scraped).
I'm not sure what the html column's purpose is or I'd attempt to troubleshoot this further. (I'm assuming it's supposed to indicate whether the ticket's message is HTML, but I'd rather not sink any more work into anything until I know for sure.)
Running HESK v2.6.5 & Mods for HESK v2.42...
The MySQL ticket insertion is where things are falling apart. MySQL returns the following error:
Code: Select all
Error Code: 1265. Data truncated for column 'html' at row 1
Code: Select all
Notice: Undefined index: latitude in inc\posting_functions.inc.php on line 145
Notice: Undefined index: longitude in inc\posting_functions.inc.php on line 146
Notice: Undefined index: html in inc\posting_functions.inc.php on line 147
I'm not sure what the html column's purpose is or I'd attempt to troubleshoot this further. (I'm assuming it's supposed to indicate whether the ticket's message is HTML, but I'd rather not sink any more work into anything until I know for sure.)
Running HESK v2.6.5 & Mods for HESK v2.42...