You are here:  » Content Encoding Error on product page

Support Forum



Content Encoding Error on product page

Submitted by jonny5 on Mon, 2010-09-20 12:10 in

Hi David , one of my sites has started displaying the below error when a product page is displayed, so when a product is clicked all that is displayed is the below.

seems strange to me as it has been working ok for a long time , just wondering if you have seen this before??

"Content Encoding Error (content_encoding_error)

Server response could not be decoded using encoding type returned by server.
This is typically caused by a Web Site presenting a content encoding header of one type, and then encoding the data differently.

For assistance, contact your network support team. "

Submitted by support on Mon, 2010-09-20 12:17

Hi jonny,

That must be a browser error (or an error generated by a proxy server somewhere between you and your site).

If the error is only happening with some product pages, e.g. those form a particular merchant, check whether you might need to use either a UTF8 Encode (ISO-88590-1 to UTF 8 conversion) or UTF 8 Decode (UTF-8 to ISO-8859-1 conversion) depending on the character encoding of your site as set by $config_charset in config.php.

That might be all it is - if you're not sure - or you have suddenly started seeing the problem for all URLs if you could post an example product URL (i'll hide the link from your post) I'll check it out for you...

Cheers,
David.
--
PriceTapestry.com

Submitted by jonny5 on Mon, 2010-09-20 12:53

i believe its all the product pages , its one of my first sites and i only check it every few months as it just ticks along , so i have only just noticed

{link saved}

Submitted by support on Mon, 2010-09-20 13:01

Hi Jonny,

Firefox is saying "Invalid compression". I notice that the home page is OK, but search.php is also returning the error... could you email me your index.php, search.php, products.php and html/header.php and I'll check it out for you...

Cheers,
David.
--
PriceTapestry.com

Submitted by jonny5 on Mon, 2010-09-20 13:41

Hi David , all sorted, I had added GZIP to the pages which for some reason had stopped working , ive removed it and all seems fine now.

cheers