Skip to content
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

Force devs to turn off zlib.output_compression ini in 'pre-system' event #2986

Merged
merged 1 commit into from
May 14, 2020
Merged

Force devs to turn off zlib.output_compression ini in 'pre-system' event #2986

merged 1 commit into from
May 14, 2020

Conversation

paulbalandan
Copy link
Member

Description
This answers issue #2980 and is related to #2182.

In the 'pre-system' event, added a check if zlib.output_compression ini is turned on. If it does, pages will be blank so this check warns devs for this scenario. The exception thrown will be managed by the exception_handler, resulting to these snippets:

// browser
image

// terminal
image

Checklist:

  • Securely signed commits
  • Component(s) with PHPdocs
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@paulbalandan
Copy link
Member Author

Does travis have a problem lately? Or this is my problem?

image

I keep getting these errors.

@lonnieezell
Copy link
Member

Travis does occasionally have that issue. It's a random occurrence as far as I can tell.

@lonnieezell lonnieezell merged commit 376b741 into codeigniter4:develop May 14, 2020
@paulbalandan paulbalandan deleted the zlib-compression branch May 14, 2020 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants