Welcome Guest, Not a member yet? Register   Sign In
website is getting blank when upload to server of codeigniter 4 application
#1

Hi
I have built a website using CodeIgniter 4 and uploaded it to my server. But once I upload it, It is showing the blank white page without displaying anything. 

This is where I uploaded it. 
dnationsoft.com

I have checked my error log. The error log report is:

[12-Apr-2021 10:23:07 Asia/Dhaka] PHP Fatal error:  Uncaught ErrorException: Cannot modify header information - headers already sent by (output started at /home/dnations/app/Config/Events.php:27) in /home/dnations/system/Debug/Exceptions.php:162
Stack trace:
#0 [internal function]: CodeIgniter\Debug\Exceptions->errorHandler(2, 'Cannot modify h...', '/home/dnations/...', 162, Array)
#1 /home/dnations/system/Debug/Exceptions.php(162): header('HTTP/1.1 500 In...', true, 500)
#2 [internal function]: CodeIgniter\Debug\Exceptions->exceptionHandler(Object(ErrorException))
#3 {main}
  thrown in /home/dnations/system/Debug/Exceptions.php on line 162



I have search on google and stackoverflow to find any solution, But I could not. Can anyone please help me why is this happening? and how to solve it?
Using Codeigniter since 2016 ( skype: imranertaza )
Reply


Messages In This Thread
website is getting blank when upload to server of codeigniter 4 application - by webdeveloper011 - 04-11-2021, 09:26 PM



Theme © iAndrew 2016 - Forum software by © MyBB