Home  >  Article  >  Backend Development  >  Why does my OpenX ad server display \'Error 330 (net::ERR_CONTENT_DECODING_FAILED):\' after migrating to a new server?

Why does my OpenX ad server display \'Error 330 (net::ERR_CONTENT_DECODING_FAILED):\' after migrating to a new server?

Linda Hamilton
Linda HamiltonOriginal
2024-10-31 17:02:02998browse

Why does my OpenX ad server display

Troubleshooting "Error 330 (net::ERR_CONTENT_DECODING_FAILED):"

After migrating to a new server, users encountered an issue with their OpenX ad server, displaying the "Error 330 (net::ERR_CONTENT_DECODING_FAILED):" message in Google Chrome and "The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression." in Firefox.

To address this, it's important to ensure that the PHP configuration for OpenX server is correct. OpenX requires the following settings to be enabled:

  • magic_quotes_runtime = off
  • safe_mode = off
  • register_argc_argv = on (if you want to run maintenance via the command line)
  • file_uploads = on (to allow HTTP file uploads)

Additionally, the following PHP extensions are mandatory for OpenX:

  • Either mysql or pgsql extension (mysqli is not supported)
  • ZLib extension (to convert links inside compressed Flash files generated by Flash MX)
  • FTP extension (or OpenX will try to simulate it, which may be less stable)
  • GD extension (to generate graphs on the Home page)
  • Either openssl or SSL-enabled curl extension (for logging into the Home page)

Once these settings are verified, it's crucial to ensure that the HTTP request's headers correctly state that the content is gzip encoded. If this is not the case, turn off gzip encoding in the server settings or ensure that the content is actually encoded.

By addressing these aspects, users can resolve the "Error 330 (net::ERR_CONTENT_DECODING_FAILED):" issue and restore the proper functionality of the OpenX ad server.

The above is the detailed content of Why does my OpenX ad server display \'Error 330 (net::ERR_CONTENT_DECODING_FAILED):\' after migrating to a new server?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn