Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error 330 (net::ERR_CONTENT_DECODING_FAILED):

Tags:

php

openx

Recently we migrated to a new server. After 2 days, I got the following issues

1) We had a crash on a session table, which we easily fixed by reparing it

2) We run OpenX as our adserver, and it also crashed, but there is no evidence in error.log It let's you login, but at the moment of looking to dashboard.php, we get the:

Error 330 (net::ERR_CONTENT_DECODING_FAILED): (Google Chrome)

and

The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression. (Firefox)


OpenX uses the following services on PHP:

OpenX requires: http://www.openx.com/docs/2.8/adminguide/System%20requirements

OpenX uses the default PHP settings. However, server administrators sometimes change these settings. Before you install OpenX check that the following settings are correct:

magic_quotes_runtime must be off safe_mode must be off register_argc_argv must be on if you want to run maintenance via command line file_uploads need to be turned on to allow HTTP file uploads OpenX requires the following PHP extensions:

Either the mysql extension, or the pgsql. The mysqli extension is not supported. The ZLib extension, to convert links inside compressed Flash files generated by Flash MX. The FTP extension. If this is not present OpenX will try to simulate it, which can be a less stable solution.

The GD extension, to generate graphs on the Home page. If the extension is not enabled you will not be able to view graphs or statistics on your Home page. Either the openssl extension or an SSL-enabled curl extension are required in order to logon to the Home page. If SSL is not enabled you will receive an error message in the Home page, but there is no impact on operations.


Any clue on possible reasons or on how to gather more information will be much appreciated. Thanks

like image 468
user1929691 Avatar asked Dec 26 '12 11:12

user1929691


2 Answers

It happens when your HTTP request's headers claim that the content is gzip encoded, but it isn't. Turn off gzip encoding setting or make sure the content is in fact encoded.

like image 107
THE ONLY ONE Avatar answered Nov 11 '22 12:11

THE ONLY ONE


I enabled zlib.output_compression in php.ini and it seemed to fix the issue for me.

like image 59
Francisco Cortes Avatar answered Nov 11 '22 10:11

Francisco Cortes