-
-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enabling gzip throws an error #756
Comments
I tested on 2 seperate sites/servers... one running PHP 7 the other running PHP 5.6, same error |
I'm not able to replicate this. I'm running Gzip fine on my mac and on the ubuntu-based getgrav.org server. What is your server setup? |
CentOS, Apache, suPHP Gzip is running fine, the error is just associated with enabling it (which does work) from the Admin plugin |
ah! yes, i never changed it from admin.. will look into this. |
Uhm, replicated too |
Replicated the same issue on LiteSpeed server with the latest version of PHP. The error renders the whole admin unusable. |
@askel45 Can you output the whole error? |
Grav 1.1.3, Admin 1.1.4
With Caching enabled when I enable gzip I get this error
Server Error
Sorry, something went terribly wrong!
E_WARNING - Cannot modify header information - headers already sent by (output started at /[root]/public_html/system/src/Grav/Common/Grav.php:341)
For further details please review your logs/ folder, or enable displaying of errors in your system configuration.
Logs:
2016-08-31 15:42:19] grav.CRITICAL: Cannot modify header information - headers already sent by (output started at /[root]/public_html/system/src/Grav/Common/Grav.php:341) - Trace: #0 [internal function]: Whoops\Run->handleError(2, 'Cannot modify h...', '/[root]/p...', 351, Array) #1 /[root]/public_html/system/src/Grav/Common/Grav.php(351): header('Content-Length:...') #2 [internal function]: Grav\Common\Grav->shutdown() #3 {main} [] []
The change persists/is successful
The text was updated successfully, but these errors were encountered: