Welcome Guest, Not a member yet? Register   Sign In
Empty page with index.php in plain text

Hi @all,

Hope someone can help me sort this issue out.

I'm working in a local vagrant machine (Ubuntu 18.01, PHP 7.2) environment on a SaaS project on CodeIgniter 4.0.3. That all works great and the project is almost ready to be deployed. But I wanted to switch to CodeIgniter 4.0.4 and PHP 7.4 and now I'm running into issues.

I made a new vagrant machine with PHP 7.4, then installed CodeIgniter 4.0.4 on it and this works without any issues. I do get the standard CodeIgniter welcome screen.

I then remove the app and public folders and copy the app and public folders of my project on to the new machine. I then adjust the settings in the app.php file and the .env file.

If I try to start the application I first got a "Whoops! We seem to have hit a snag. Please try again later..." warning. After some searching I found an error logging that indicated the change of the before and after functions in the FilterInterface class (https://codeigniter4.github.io/CodeIgnit...e_404.html). So adding the $arguments parameters to the functions I used in an authentication class of my own fixed that.

But now, when I try to access the application I get an empty page with only the text index.php in it. The source of the page also has only index.php in it.

Unfortunately there is no error log or anything that could indicate where to look for a solution.

Any suggestions about a cause or how I could debug this issue?

Messages In This Thread
Empty page with index.php in plain text - by michelJ-5 - 12-20-2020, 03:28 AM

Theme © iAndrew 2016 - Forum software by © MyBB