Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I'm experiencing the gibberish bug, I've seen reported in issues for Drupal 7... Can you please clarify how I should fix this on my Drupal 6 site...
I'd really appreciate your help...
In the chrome browser it will first return this error:
Error code: ERR_CONTENT_DECODING_FAILED
Occasionally when you hit refresh, all is well. Most of the time though, it then sends the gibberish on subsequent page refreshes.
It seems to be the same thing as the Drupal 7 issue, just not sure what to do for drupal 6...
Many thanks...
Comment | File | Size | Author |
---|---|---|---|
#1 | gibberish.PNG | 86.88 KB | gMaximus |
Comments
Comment #1
gMaximus CreditAttribution: gMaximus commentedComment #2
gMaximus CreditAttribution: gMaximus commentedComment #3
znerol CreditAttribution: znerol commentedDisable Page compression on the performance settings config page.
You also may enforce this from within
settings.php
by adding the following line:Comment #4
gMaximus CreditAttribution: gMaximus commented@znerol Many many thanks... I knew it was something like that... You saved me from a lot of anxiety...
Changing it on the settings page wasn't working for me it just kept changing itself back to on. Adding that line to settings.php done the trick though... Been hitting lots of pages and haven't had the gibberish since.
So does this mean the pages are not being compressed at all? Should I use Apache to do this for me?
Thanks again...
Comment #5
znerol CreditAttribution: znerol commentedYes, use Apache
mod_defalte
to deliver compressed versions of your page.Comment #6
znerol CreditAttribution: znerol commentedComment #7
gMaximus CreditAttribution: gMaximus commentedThank you so much for your advice... You really have helped me out with this... Kind regards ...
Comment #9
sameerpalsingh CreditAttribution: sameerpalsingh commentedThanks for this trick.. it saved my day..