CI4 cannot start session |
I add a line in Base Controller and run session.
PHP Code: <?php namespace App\Controllers; When I run my page, it show this massage : Quote:Fatal error: Uncaught ErrorException: Cannot modify header information - headers already sent by (output started at C:\Users\hoffm\Dropbox\anaso\app\Config\Events.php:27) in C:\Users\hoffm\Dropbox\anaso\system\Debug\Exceptions.php:162 Stack trace: #0 [internal function]: CodeIgniter\Debug\Exceptions->errorHandler(2, 'Cannot modify h...', 'C:\\Users\\hoffm\\...', 162, Array) #1 C:\Users\hoffm\Dropbox\anaso\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 C:\Users\hoffm\Dropbox\anaso\system\Debug\Exceptions.php on line 162 Do you have any suggestion for me ? please ~ |
Messages In This Thread |
CI4 cannot start session - by hoffmanchan - 05-12-2020, 10:06 PM
RE: CI4 cannot start session - by InsiteFX - 05-13-2020, 03:17 AM
RE: CI4 cannot start session - by hoffmanchan - 05-13-2020, 04:00 AM
RE: CI4 cannot start session - by InsiteFX - 05-14-2020, 04:10 AM
|