Home >Backend Development >PHP Tutorial >Why Does OpenX Generate \'Error 330 (net::ERR_CONTENT_DECODING_FAILED)\' After Server Migration?

Why Does OpenX Generate \'Error 330 (net::ERR_CONTENT_DECODING_FAILED)\' After Server Migration?

DDD
DDDOriginal
2024-10-31 08:15:17317browse

Why Does OpenX Generate

Troubleshoot "Error 330 (net::ERR_CONTENT_DECODING_FAILED)" After Server Migration

Recently, after migrating to a new server, a system administrator encountered several issues. One of the most puzzling problems involved the adserver OpenX, which crashed and displayed the following error messages:

  • "Error 330 (net::ERR_CONTENT_DECODING_FAILED)" in Google Chrome
  • "The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression" in Firefox

To resolve the issue, the administrator should verify that the following PHP settings are correct:

  • magic_quotes_runtime must be off
  • safe_mode must be off
  • register_argc_argv must be on (if running maintenance via command line)
  • file_uploads must be turned on (for HTTP file uploads)

Additionally, OpenX requires the following PHP extensions:

  • MySQL or PostgreSQL (mysqli not supported)
  • ZLib (for converting links in Flash files)
  • FTP or SSL-enabled cURL (for logging into the Home page)

Cause of the Error

The error "Error 330 (net::ERR_CONTENT_DECODING_FAILED)" typically occurs when the HTTP request's headers indicate that the content is gzip encoded, but it is not.

Resolution

To fix the issue, the administrator can either:

  • Disable gzip encoding in the server configuration
  • Ensure that the content is actually encoded in gzip format

By checking these settings and ensuring that the content is properly encoded, the administrator can resolve the error and restore normal functionality to OpenX.

The above is the detailed content of Why Does OpenX Generate \'Error 330 (net::ERR_CONTENT_DECODING_FAILED)\' After Server Migration?. 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