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

Displaying Error Page with 4.4 with PHP 8.3 #8398

Closed
Tracked by #7850
demyr17 opened this issue Jan 4, 2024 · 1 comment · Fixed by #8401
Closed
Tracked by #7850

Displaying Error Page with 4.4 with PHP 8.3 #8398

demyr17 opened this issue Jan 4, 2024 · 1 comment · Fixed by #8401
Labels
bug Verified issues on the current code behavior or pull requests that will fix them

Comments

@demyr17
Copy link

demyr17 commented Jan 4, 2024

PHP Version

8.3

CodeIgniter4 Version

4.4

CodeIgniter4 Installation Method

Composer (as dependency to an existing project)

Which operating systems have you tested for this bug?

macOS

Which server did you use?

apache

Database

MySQL

What happened?

.env file is set to development but it doesn't display the error page. When I check the development.php file under Config/Boot I see that display_errors is already set to 1. Then, when I set display_errors to 1 in production.php, it shows the error page. However, in the error page there is no error listed. Plus, it detects environment as production.

PHP Version 8.3 (there was no option for this in the selectbox)

CI-Error-php83-v44

BTW, I'm not posting for the security error there. I know, It's because of the CSRF data that I forgot.

Steps to Reproduce

nothing

Expected Output

to be able to display the error page

Anything else?

No response

@demyr17 demyr17 added the bug Verified issues on the current code behavior or pull requests that will fix them label Jan 4, 2024
@kenjis
Copy link
Member

kenjis commented Jan 5, 2024

This is a bug because of the change in PHP 8.3.
Try this: #8399

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Verified issues on the current code behavior or pull requests that will fix them
Projects
None yet
2 participants