VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: WebStuff on September 27, 2016, 20:09:47 PM

Title: Content Encoding Error after upgrade to 3.0.18 from 3.0.16
Post by: WebStuff on September 27, 2016, 20:09:47 PM
Getting a content encoding error below when gzip compression is set to on this worked fine before the upgrade. No Debug options set which is the only other time I've seen this.
Any help greatly appreciated.

Joomla! 3.6.2 Stable
VM 3.0.18
Title: Re: Content Encoding Error after upgrade to 3.0.18 from 3.0.16
Post by: PRO on September 27, 2016, 21:03:22 PM
did you clear cache?


Title: Re: Content Encoding Error after upgrade to 3.0.18 from 3.0.16
Post by: WebStuff on September 28, 2016, 16:31:06 PM
Thanks PRO should have mentioned that. I cleared joomla cache and browser cache.
The install seemed to go okay but then went to the Content Encoding error where it would normally go to the success screen I'd imagine so something in the install isn't playing nicely.
It's a test system so I'll rollback and see if I can track it whilst doing the upgrade.
Title: Re: Content Encoding Error after upgrade to 3.0.18 from 3.0.16
Post by: WebStuff on September 28, 2016, 16:36:23 PM
I've narrowed it down to the AIO update it doesn't happen with the main VM update only once the AIO is applied.
So it would seem to be one of the plugins not playing nicely. :-)
Title: Re: Content Encoding Error after upgrade to 3.0.18 from 3.0.16
Post by: WebStuff on September 28, 2016, 16:46:39 PM
It turns out to be the Amazon vmpayment plugin that is having a problem with gzip compression.
If compression is on and Amazon plugin disabled ... OR ... compression is off and Amazon plugin is enabled then all works fine
As soon as I enable the Amazon plugin with compression enabled then Content Error occurs.
Title: Re: Content Encoding Error after upgrade to 3.0.18 from 3.0.16
Post by: Milbo on September 30, 2016, 10:49:11 AM
The problem is that the amazon library is ANSI encoded. Maybe we missed it also for amazon.php mainfile and the templates. Usually there is no problem to mix ANSI with UTF-8. Would be good to know more, you may test it.
Title: Re: Content Encoding Error after upgrade to 3.0.18 from 3.0.16
Post by: WebStuff on October 04, 2016, 17:28:21 PM
I'll keep at it Milbo and see if I can narrow it down. :-)