Home > Backend Development > PHP Tutorial > How to Fix \'Error 330: net::ERR_CONTENT_DECODING_FAILED\' in OpenX After Server Migration?

How to Fix \'Error 330: net::ERR_CONTENT_DECODING_FAILED\' in OpenX After Server Migration?

Susan Sarandon
Release: 2024-10-29 20:11:02
Original
912 people have browsed it

How to Fix

Troubleshooting "Error 330: net::ERR_CONTENT_DECODING_FAILED"

After migrating to a new server, you are encountering an issue with OpenX, your adserver, resulting in the error "Error 330: net::ERR_CONTENT_DECODING_FAILED." This error occurs when there is a discrepancy between the HTTP request headers claiming gzip encoding and the actual content not being encoded.

To resolve this issue, follow these steps:

Review PHP Configuration

Ensure that your PHP settings align with OpenX requirements. Specifically, confirm that the following settings are correct:

  • magic_quotes_runtime: off
  • safe_mode: off
  • register_argc_argv: on (if using command-line maintenance)
  • file_uploads: on (if allowing HTTP file uploads)

Verify PHP Extensions

OpenX requires the following PHP extensions:

  • mysql or pgsql (not mysqli)
  • ZLib (for Flash file link conversion)
  • FTP (or simulated)
  • GD (for graphs on the Home page)
  • openssl or an SSL-enabled curl extension (for Home page login)

Confirm Gzip Encoding

Check your HTTP request headers to ensure that they accurately claim gzip encoding. If the content is not actually encoded, turn off gzip encoding in your server settings.

Gather More Information

If the above steps do not resolve the issue, gather additional information by:

  • Inspecting error logs for specific details about the failure
  • Checking the OpenX configuration files for any relevant settings
  • Consulting the OpenX documentation for further troubleshooting guidance

By following these steps, you can identify the cause of the "Error 330" and restore the proper functioning of OpenX.

The above is the detailed content of How to Fix \'Error 330: net::ERR_CONTENT_DECODING_FAILED\' in OpenX After Server Migration?. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
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
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template