Page 1 of 2

3.0.1.9 Part 11 not found

Posted: 26 Mar 2017 00:28
by dgrover
Hi

When viewing an email in the message viewer under MIME Type: text/plain it displays the text 'Part 11 not found' and 'Part 12 not found' under MIME Type: text/html instead of the body of the message.

This is happening with all messages received pre/post upgrade

Re: 3.0.1.9 Part 11 not found

Posted: 26 Mar 2017 11:12
by shawniverson
Sounds like the MIME parser isn't working properly here. Do you have any messages that display properly, or is it affecting all of them in your setup?

Re: 3.0.1.9 Part 11 not found

Posted: 26 Mar 2017 12:19
by dgrover
Hi

It seems to be every email, a quick check of those sent since the upgrade and random ones checked in the historical qurantine folder.

I have two installations of EFA, one for sending and one for receiving, this is the sending gateway. I've yet to upgrade the receiving.

Thanks

Re: 3.0.1.9 Part 11 not found

Posted: 26 Mar 2017 12:21
by shawniverson
Do you have a raw (i.e. quarantine file) sample you could safely forward?

If so , let me know. I would like to run it through some tests.

Re: 3.0.1.9 Part 11 not found

Posted: 26 Mar 2017 12:23
by shawniverson
Or, you can just email to this address: shawniverson@summitgrid.org

I have a 3.0.1.9 installation running there :)

Re: 3.0.1.9 Part 11 not found

Posted: 26 Mar 2017 14:16
by shawniverson
Found issue and prepared a fix.

***Removed post, see most recent fix below****

Re: 3.0.1.9 Part 11 not found

Posted: 26 Mar 2017 15:52
by dgrover
Thanks, applied fix and it's now working

Re: 3.0.1.9 Part 11 not found

Posted: 26 Mar 2017 16:08
by dgrover
Hi

After further investigation, it seems some are not displaying correctly, they are now showing 'Error: unable to validate input'

Thanks

Re: 3.0.1.9 Part 11 not found

Posted: 26 Mar 2017 17:23
by shawniverson
Ok, at least we are making progress. Let me run some more tests...

Re: 3.0.1.9 Part 11 not found

Posted: 26 Mar 2017 17:35
by shawniverson
dgrover wrote: 26 Mar 2017 16:08 Hi

After further investigation, it seems some are not displaying correctly, they are now showing 'Error: unable to validate input'

Thanks
Can you confirm line #115 in viewpart.php?

Code: Select all

    if (!validateInput($part, 'float')) {

Re: 3.0.1.9 Part 11 not found

Posted: 26 Mar 2017 22:20
by dgrover
Hi

Line 115 is correct

Code: Select all

if (!validateInput($part, 'float')) {

Re: 3.0.1.9 Part 11 not found

Posted: 26 Mar 2017 23:34
by shawniverson
Ok, let's do this...

Change line #116 as follows:

Code: Select all

 die(__('dievalidate99') . ' Value:' . $part);
View the message and post the value that you see.

Re: 3.0.1.9 Part 11 not found

Posted: 27 Mar 2017 15:24
by solarthread
I'm seeing the same behaviour on my install

Re: 3.0.1.9 Part 11 not found

Posted: 27 Mar 2017 16:02
by shawniverson
Need someone to try my post above and report back the value they have.

Re: 3.0.1.9 Part 11 not found

Posted: 27 Mar 2017 16:06
by solarthread
Ive done it on mine now. Where will i see that value?

Re: 3.0.1.9 Part 11 not found

Posted: 27 Mar 2017 17:26
by shawniverson
If you place this instead on line 116 in viewpart.php

Code: Select all

 die(__('dievalidate99') . ' Value:' . $part);
And view a message that is still having trouble, should show you the value.

Re: 3.0.1.9 Part 11 not found

Posted: 27 Mar 2017 17:33
by solarthread
Got you. It's corrected itself for now at least since doing original changes and rebooting. Random!

Re: 3.0.1.9 Part 11 not found

Posted: 28 Mar 2017 22:33
by AITCS
Also having this issue across 3 recently upgraded servers.
Is there a way to automate this fix, or does it require manual intervention?

Also receiving a lot of "Error: unable to validate security token" problems after upgrade.

Re: 3.0.1.9 Part 11 not found

Posted: 29 Mar 2017 07:32
by solarthread
The security token issue just logout clear your cache and log back in and it should behave

Re: 3.0.1.9 Part 11 not found

Posted: 29 Mar 2017 21:33
by AITCS
solarthread wrote: 29 Mar 2017 07:32 The security token issue just logout clear your cache and log back in and it should behave
Except it still happens after a cache & cookie clear. This is not a definitive fix for us.

Re: 3.0.1.9 Part 11 not found

Posted: 30 Mar 2017 04:33
by ramtech
Hi All,
I'm now also getting "Part 11 not found" and "Part 12 not found" issues on some emails now (as well as any quarantined emails older than 10 days not showing in the GUI).
I have had look at line #115 in viewpart.php and mine is different.

Code: Select all

if (!validateInput($part, 'num')) {
My line #116 reads,

Code: Select all

die(__('dievalidate99'));
Sorry to sound so ignorant here, but should I alter this / apply the fix or not, given i don't have the same starting point (and my code is different :think: ) as the above topic, but the same symptom?
As always. Any help is greatly appreciated.

Re: 3.0.1.9 Part 11 not found

Posted: 30 Mar 2017 05:04
by ramtech
Actually after having a better look at the fix suggested by Shawn above on Git, my line numbers are much different. My case 'float': doesn't start until #4340, so I'm assumming there's other issues at play here. I am curious though as to why my code is different on the same version (3.0.1.9)

Re: 3.0.1.9 Part 11 not found

Posted: 30 Mar 2017 09:05
by solarthread
My float line also starts later, but the fix worked ok

Re: 3.0.1.9 Part 11 not found

Posted: 30 Mar 2017 09:12
by solarthread
shawniverson wrote: 27 Mar 2017 17:26 If you place this instead on line 116 in viewpart.php

Code: Select all

 die(__('dievalidate99') . ' Value:' . $part);
And view a message that is still having trouble, should show you the value.
Its happened again on another of my servers - just copied what its showing

Error: unable to validate inputValue:1.1.1

Error: unable to validate inputValue:1.1.2

Re: 3.0.1.9 Part 11 not found

Posted: 30 Mar 2017 11:59
by shawniverson
Fix can be found here:

https://github.com/mailwatch/1.2.0/pull/714/files

Plan to roll out this and other fixes hopefully this weekend.