• Resolved wpfan1000

    (@wpfan1000)


    Hi,

    Steps to reproduce:

    In WPSC enable:

    Compress pages so they’re served more quickly to visitors. (Recommended)

    On hosting server, turn on zlib.output_compression

    In WPSC UNcheck:

    Compress pages so they’re served more quickly to visitors. (Recommended)

    Click Update status

    Then:

    Compress pages so they’re served more quickly to visitors. (Recommended)

    – Is still checked/enabled.

    Ie I cannot disable:

    Compress pages so they’re served more quickly to visitors. (Recommended)

    when
    zlib.output_compression
    is on.

    Also in this case, when I, In WPSC UNcheck:

    Compress pages so they’re served more quickly to visitors. (Recommended)

    Click Update status

    Two warning messages are displayed.
    The message:

    Warning! You attempted to enable compression but zlib.output_compression is enabled. See #21 in the Troubleshooting section of the readme file.

    Is first shown on white screen before WP admin page loads.

    Once WP admin page loads, the message is partially hidden behind the left vertical main menu of WP admin.

    This seems to be because:

    <div class="notice notice-error"><strong>Warning!</strong> You attempted to enable compression but <code>zlib.output_compression</code> is enabled. See #21 in the Troubleshooting section of the readme file.</div>

    Is directly under the <body> tag of the page.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Sa?a

    (@stodorovic)

    I’ve found the code related to this output. It’s too early (under body tag) because it’s in admin_init action.

    Thread Starter wpfan1000

    (@wpfan1000)

    Thanks.
    I dont mean to say it is a big deal – its just minor.
    Just wanted to make you aware of it.
    I will leave it in your hands.

    The other issue of not being able to turn of compression to me is a more important one…

    Sa?a

    (@stodorovic)

    It seems that logic in the code isn’t correct (if zlib.output_compression is enabled). I’ll check more details later.

    Anyway, we need some fix. Thank you for reporting this.

    Thread Starter wpfan1000

    (@wpfan1000)

    Thanks ??
    Marking as Resolved

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cannot disable: Compress pages so they’re served more quickly to visitors.’ is closed to new replies.