Welcome Guest, Not a member yet? Register   Sign In
Blank page on the web server
#6

(04-15-2020, 10:29 AM)PHS Wrote: These errors are returning:

PHP Code:
<?php defined('SYSTEMPATH') || exit('No direct script access allowed'); ?>

CRITICAL - 2020-04-15 14:13:43 --> ini_set(): Headers already sent. You cannot change the session module's ini settings at this time
#0 [internal function]: CodeIgniter\Debug\Exceptions->errorHandler(2, 'ini_set(): Head...', '/home/user/pr...', 101, Array)
#1 /home/user/project/vendor/codeigniter4/framework/system/Session/Handlers/FileHandler.php(101): ini_set('session.save_pa...', '/home/user/pr...') 
Error logs usually look far worse because the errors are cumulative. Clear the first error and the rest disappear.

The very first error concerns something is being written before ini_set();

Search for ini_set(), add the following script and examine what is being written and clear the problem.

Code:
ini_set();
exit; // die; // stop browser execution.

Also note if the error log is deleted it will be regenerated until all errors and warnings are cleared. Far easier to only have a few errors showing.
Reply


Messages In This Thread
Blank page on the web server - by PHS - 04-14-2020, 06:48 PM
RE: Blank page on the web server - by John_Betong - 04-14-2020, 08:36 PM
RE: Blank page on the web server - by PHS - 04-15-2020, 06:39 AM
RE: Blank page on the web server - by John_Betong - 04-15-2020, 07:00 AM
RE: Blank page on the web server - by PHS - 04-15-2020, 10:29 AM
RE: Blank page on the web server - by John_Betong - 04-15-2020, 07:25 PM
RE: Blank page on the web server - by PHS - 04-17-2020, 07:13 AM
RE: Blank page on the web server - by maxxd - 04-17-2020, 03:31 PM
RE: Blank page on the web server - by PHS - 04-18-2020, 10:00 AM
RE: Blank page on the web server - by PHS - 04-21-2020, 02:55 PM
RE: Blank page on the web server - by John_Betong - 04-21-2020, 05:36 PM
RE: Blank page on the web server - by PHS - 04-21-2020, 07:23 PM
RE: Blank page on the web server - by John_Betong - 04-21-2020, 11:54 PM
RE: Blank page on the web server - by PHS - 04-22-2020, 07:09 AM
RE: Blank page on the web server - by John_Betong - 04-22-2020, 07:14 AM
RE: Blank page on the web server - by PHS - 04-22-2020, 07:25 AM
RE: Blank page on the web server - by John_Betong - 04-22-2020, 08:22 AM
RE: Blank page on the web server - by PHS - 04-22-2020, 11:26 AM
RE: Blank page on the web server - by John_Betong - 04-22-2020, 03:54 PM
RE: Blank page on the web server - by ivanfdr - 04-22-2020, 08:47 PM
RE: Blank page on the web server - by ivanfdr - 04-22-2020, 09:44 PM
RE: Blank page on the web server - by PHS - 04-23-2020, 07:12 AM
RE: Blank page on the web server - by John_Betong - 04-23-2020, 08:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB