Closed
Description
Describe the bug
When appstarter installation is finished, a blank page is displayed instead Welcome Home.
It's not an error 500, it think is related to the output buffer.
CodeIgniter 4 version
CI4-beta.2
Affected module(s)
Views
Expected behavior, and steps to reproduce if appropriate
The expected behavior is see the Welcome Page (and/or other pages)
The steps to reproduce the issue are:
- Run 'composer create-project codeigniter4/appstarter my-project -s beta'
- Update Config/App.php with the regarding $baseUrl and remove $indexPage value
- When you try to access via browser to the site, you will get a blank page.
As previously said: The problem is in Config/Events.php
For some reason,in https://github.com/codeigniter4/CodeIgniter4/blob/develop/app/Config/Events.php#L25, if I change ob_end_flush() by ob_get_clean() or ob_end_clean() the problem is solved. I don't know why, since both function do similar stuff.
Context
- OS: Debian on Docker Container (Host Machine: Windows 10)
- Web server [Apache 2]
- PHP version [7.3]
Metadata
Metadata
Assignees
Labels
No labels
Activity