INFO - 2024-09-07 14:20:52 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver. INFO - 2024-09-07 14:20:53 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver. INFO - 2024-09-07 14:20:54 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver. INFO - 2024-09-07 14:20:54 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver. INFO - 2024-09-07 14:21:11 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver. INFO - 2024-09-07 14:21:11 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver. INFO - 2024-09-07 14:21:11 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver. INFO - 2024-09-07 14:21:18 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver. INFO - 2024-09-07 14:21:18 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver. ERROR - 2024-09-07 14:21:48 --> Error connecting to the database: mysqli_sql_exception: No connection could be made because the target machine actively refused it in C:\Projects\webroot\www\kwpayroll\system\Database\MySQLi\Connection.php:184 Stack trace: #0 C:\Projects\webroot\www\kwpayroll\system\Database\MySQLi\Connection.php(184): mysqli->real_connect('localhost', 'root', Object(SensitiveParameterValue), 'kwpaydb', 3306, '', 0) #1 C:\Projects\webroot\www\kwpayroll\system\Database\BaseConnection.php(392): CodeIgniter\Database\MySQLi\Connection->connect(false) #2 C:\Projects\webroot\www\kwpayroll\system\Database\BaseConnection.php(575): CodeIgniter\Database\BaseConnection->initialize() #3 C:\Projects\webroot\www\kwpayroll\system\Database\BaseBuilder.php(1616): CodeIgniter\Database\BaseConnection->query('SELECT *\nFROM `...', Array, false) #4 C:\Projects\webroot\www\kwpayroll\app\ThirdParty\settings-2.2.0\src\Handlers\DatabaseHandler.php(186): CodeIgniter\Database\BaseBuilder->get() #5 C:\Projects\webroot\www\kwpayroll\app\ThirdParty\settings-2.2.0\src\Handlers\DatabaseHandler.php(51): CodeIgniter\Settings\Handlers\DatabaseHandler->hydrate(NULL) #6 C:\Projects\webroot\www\kwpayroll\app\ThirdParty\settings-2.2.0\src\Settings.php(59): CodeIgniter\Settings\Handlers\DatabaseHandler->has('Config\\Auth', 'sessionConfig', NULL) #7 C:\Projects\webroot\www\kwpayroll\app\ThirdParty\settings-2.2.0\src\Helpers\setting_helper.php(25): CodeIgniter\Settings\Settings->get('Auth.sessionCon...') #8 C:\Projects\webroot\www\kwpayroll\app\ThirdParty\shield-1.0.3\src\Authentication\Authenticators\Session.php(685): setting('Auth.sessionCon...') #9 C:\Projects\webroot\www\kwpayroll\app\ThirdParty\shield-1.0.3\src\Authentication\Authenticators\Session.php(703): CodeIgniter\Shield\Authentication\Authenticators\Session->getSessionUserInfo() #10 C:\Projects\webroot\www\kwpayroll\app\ThirdParty\shield-1.0.3\src\Authentication\Authenticators\Session.php(390): CodeIgniter\Shield\Authentication\Authenticators\Session->getSessionKey('id') #11 C:\Projects\webroot\www\kwpayroll\app\ThirdParty\shield-1.0.3\src\Authentication\Authenticators\Session.php(374): CodeIgniter\Shield\Authentication\Authenticators\Session->checkUserState() #12 C:\Projects\webroot\www\kwpayroll\app\ThirdParty\shield-1.0.3\src\Filters\SessionAuth.php(54): CodeIgniter\Shield\Authentication\Authenticators\Session->loggedIn() #13 C:\Projects\webroot\www\kwpayroll\system\Filters\Filters.php(182): CodeIgniter\Shield\Filters\SessionAuth->before(Object(CodeIgniter\HTTP\IncomingRequest), NULL) #14 C:\Projects\webroot\www\kwpayroll\system\CodeIgniter.php(475): CodeIgniter\Filters\Filters->run('hr/adddept', 'before') #15 C:\Projects\webroot\www\kwpayroll\system\CodeIgniter.php(361): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false) #16 C:\Projects\webroot\www\kwpayroll\public\index.php(79): CodeIgniter\CodeIgniter->run() #17 C:\Projects\webroot\www\kwpayroll\system\Commands\Server\rewrite.php(47): require_once('C:\\Projects\\web...') #18 {main} Next CodeIgniter\Database\Exceptions\DatabaseException: No connection could be made because the target machine actively refused it in C:\Projects\webroot\www\kwpayroll\system\Database\MySQLi\Connection.php:229 Stack trace: #0 C:\Projects\webroot\www\kwpayroll\system\Database\BaseConnection.php(392): CodeIgniter\Database\MySQLi\Connection->connect(false) #1 C:\Projects\webroot\www\kwpayroll\system\Database\BaseConnection.php(575): CodeIgniter\Database\BaseConnection->initialize() #2 C:\Projects\webroot\www\kwpayroll\system\Database\BaseBuilder.php(1616): CodeIgniter\Database\BaseConnection->query('SELECT *\nFROM `...', Array, false) #3 C:\Projects\webroot\www\kwpayroll\app\ThirdParty\settings-2.2.0\src\Handlers\DatabaseHandler.php(186): CodeIgniter\Database\BaseBuilder->get() #4 C:\Projects\webroot\www\kwpayroll\app\ThirdParty\settings-2.2.0\src\Handlers\DatabaseHandler.php(51): CodeIgniter\Settings\Handlers\DatabaseHandler->hydrate(NULL) #5 C:\Projects\webroot\www\kwpayroll\app\ThirdParty\settings-2.2.0\src\Settings.php(59): CodeIgniter\Settings\Handlers\DatabaseHandler->has('Config\\Auth', 'sessionConfig', NULL) #6 C:\Projects\webroot\www\kwpayroll\app\ThirdParty\settings-2.2.0\src\Helpers\setting_helper.php(25): CodeIgniter\Settings\Settings->get('Auth.sessionCon...') #7 C:\Projects\webroot\www\kwpayroll\app\ThirdParty\shield-1.0.3\src\Authentication\Authenticators\Session.php(685): setting('Auth.sessionCon...') #8 C:\Projects\webroot\www\kwpayroll\app\ThirdParty\shield-1.0.3\src\Authentication\Authenticators\Session.php(703): CodeIgniter\Shield\Authentication\Authenticators\Session->getSessionUserInfo() #9 C:\Projects\webroot\www\kwpayroll\app\ThirdParty\shield-1.0.3\src\Authentication\Authenticators\Session.php(390): CodeIgniter\Shield\Authentication\Authenticators\Session->getSessionKey('id') #10 C:\Projects\webroot\www\kwpayroll\app\ThirdParty\shield-1.0.3\src\Authentication\Authenticators\Session.php(374): CodeIgniter\Shield\Authentication\Authenticators\Session->checkUserState() #11 C:\Projects\webroot\www\kwpayroll\app\ThirdParty\shield-1.0.3\src\Filters\SessionAuth.php(54): CodeIgniter\Shield\Authentication\Authenticators\Session->loggedIn() #12 C:\Projects\webroot\www\kwpayroll\system\Filters\Filters.php(182): CodeIgniter\Shield\Filters\SessionAuth->before(Object(CodeIgniter\HTTP\IncomingRequest), NULL) #13 C:\Projects\webroot\www\kwpayroll\system\CodeIgniter.php(475): CodeIgniter\Filters\Filters->run('hr/adddept', 'before') #14 C:\Projects\webroot\www\kwpayroll\system\CodeIgniter.php(361): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false) #15 C:\Projects\webroot\www\kwpayroll\public\index.php(79): CodeIgniter\CodeIgniter->run() #16 C:\Projects\webroot\www\kwpayroll\system\Commands\Server\rewrite.php(47): require_once('C:\\Projects\\web...') #17 {main} CRITICAL - 2024-09-07 14:21:48 --> CodeIgniter\Database\Exceptions\DatabaseException: Unable to connect to the database. Main connection [MySQLi]: No connection could be made because the target machine actively refused it in SYSTEMPATH\Database\BaseConnection.php on line 428. 1 SYSTEMPATH\Database\BaseConnection.php(575): CodeIgniter\Database\BaseConnection->initialize() 2 SYSTEMPATH\Database\BaseBuilder.php(1616): CodeIgniter\Database\BaseConnection->query('SELECT * FROM `settings` WHERE `context` IS NULL', [], false) 3 APPPATH\ThirdParty\settings-2.2.0\src\Handlers\DatabaseHandler.php(186): CodeIgniter\Database\BaseBuilder->get() 4 APPPATH\ThirdParty\settings-2.2.0\src\Handlers\DatabaseHandler.php(51): CodeIgniter\Settings\Handlers\DatabaseHandler->hydrate(null) 5 APPPATH\ThirdParty\settings-2.2.0\src\Settings.php(59): CodeIgniter\Settings\Handlers\DatabaseHandler->has('Config\\Auth', 'sessionConfig', null) 6 APPPATH\ThirdParty\settings-2.2.0\src\Helpers\setting_helper.php(25): CodeIgniter\Settings\Settings->get('Auth.sessionConfig') 7 APPPATH\ThirdParty\shield-1.0.3\src\Authentication\Authenticators\Session.php(685): setting('Auth.sessionConfig') 8 APPPATH\ThirdParty\shield-1.0.3\src\Authentication\Authenticators\Session.php(703): CodeIgniter\Shield\Authentication\Authenticators\Session->getSessionUserInfo() 9 APPPATH\ThirdParty\shield-1.0.3\src\Authentication\Authenticators\Session.php(390): CodeIgniter\Shield\Authentication\Authenticators\Session->getSessionKey('id') 10 APPPATH\ThirdParty\shield-1.0.3\src\Authentication\Authenticators\Session.php(374): CodeIgniter\Shield\Authentication\Authenticators\Session->checkUserState() 11 APPPATH\ThirdParty\shield-1.0.3\src\Filters\SessionAuth.php(54): CodeIgniter\Shield\Authentication\Authenticators\Session->loggedIn() 12 SYSTEMPATH\Filters\Filters.php(182): CodeIgniter\Shield\Filters\SessionAuth->before(Object(CodeIgniter\HTTP\IncomingRequest), null) 13 SYSTEMPATH\CodeIgniter.php(475): CodeIgniter\Filters\Filters->run('hr/adddept', 'before') 14 SYSTEMPATH\CodeIgniter.php(361): CodeIgniter\CodeIgniter->handleRequest(null, Object(Config\Cache), false) 15 FCPATH\index.php(79): CodeIgniter\CodeIgniter->run() 16 SYSTEMPATH\Commands\Server\rewrite.php(47): require_once('C:\\Projects\\webroot\\www\\kwpayroll\\public\\index.php') ERROR - 2024-09-07 14:21:59 --> Error connecting to the database: mysqli_sql_exception: No connection could be made because the target machine actively refused it in C:\Projects\webroot\www\kwpayroll\system\Database\MySQLi\Connection.php:184 Stack trace: #0 C:\Projects\webroot\www\kwpayroll\system\Database\MySQLi\Connection.php(184): mysqli->real_connect('localhost', 'root', Object(SensitiveParameterValue), 'kwpaydb', 3306, '', 0) #1 C:\Projects\webroot\www\kwpayroll\system\Database\BaseConnection.php(392): CodeIgniter\Database\MySQLi\Connection->connect(false) #2 C:\Projects\webroot\www\kwpayroll\system\Database\BaseConnection.php(575): CodeIgniter\Database\BaseConnection->initialize() #3 C:\Projects\webroot\www\kwpayroll\system\Database\BaseBuilder.php(1616): CodeIgniter\Database\BaseConnection->query('SELECT *\nFROM `...', Array, false) #4 C:\Projects\webroot\www\kwpayroll\app\ThirdParty\settings-2.2.0\src\Handlers\DatabaseHandler.php(186): CodeIgniter\Database\BaseBuilder->get() #5 C:\Projects\webroot\www\kwpayroll\app\ThirdParty\settings-2.2.0\src\Handlers\DatabaseHandler.php(51): CodeIgniter\Settings\Handlers\DatabaseHandler->hydrate(NULL) #6 C:\Projects\webroot\www\kwpayroll\app\ThirdParty\settings-2.2.0\src\Settings.php(59): CodeIgniter\Settings\Handlers\DatabaseHandler->has('Config\\Auth', 'sessionConfig', NULL) #7 C:\Projects\webroot\www\kwpayroll\app\ThirdParty\settings-2.2.0\src\Helpers\setting_helper.php(25): CodeIgniter\Settings\Settings->get('Auth.sessionCon...') #8 C:\Projects\webroot\www\kwpayroll\app\ThirdParty\shield-1.0.3\src\Authentication\Authenticators\Session.php(685): setting('Auth.sessionCon...') #9 C:\Projects\webroot\www\kwpayroll\app\ThirdParty\shield-1.0.3\src\Authentication\Authenticators\Session.php(703): CodeIgniter\Shield\Authentication\Authenticators\Session->getSessionUserInfo() #10 C:\Projects\webroot\www\kwpayroll\app\ThirdParty\shield-1.0.3\src\Authentication\Authenticators\Session.php(390): CodeIgniter\Shield\Authentication\Authenticators\Session->getSessionKey('id') #11 C:\Projects\webroot\www\kwpayroll\app\ThirdParty\shield-1.0.3\src\Authentication\Authenticators\Session.php(374): CodeIgniter\Shield\Authentication\Authenticators\Session->checkUserState() #12 C:\Projects\webroot\www\kwpayroll\app\ThirdParty\shield-1.0.3\src\Filters\SessionAuth.php(54): CodeIgniter\Shield\Authentication\Authenticators\Session->loggedIn() #13 C:\Projects\webroot\www\kwpayroll\system\Filters\Filters.php(182): CodeIgniter\Shield\Filters\SessionAuth->before(Object(CodeIgniter\HTTP\IncomingRequest), NULL) #14 C:\Projects\webroot\www\kwpayroll\system\CodeIgniter.php(475): CodeIgniter\Filters\Filters->run('hr/dept', 'before') #15 C:\Projects\webroot\www\kwpayroll\system\CodeIgniter.php(361): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false) #16 C:\Projects\webroot\www\kwpayroll\public\index.php(79): CodeIgniter\CodeIgniter->run() #17 C:\Projects\webroot\www\kwpayroll\system\Commands\Server\rewrite.php(47): require_once('C:\\Projects\\web...') #18 {main} Next CodeIgniter\Database\Exceptions\DatabaseException: No connection could be made because the target machine actively refused it in C:\Projects\webroot\www\kwpayroll\system\Database\MySQLi\Connection.php:229 Stack trace: #0 C:\Projects\webroot\www\kwpayroll\system\Database\BaseConnection.php(392): CodeIgniter\Database\MySQLi\Connection->connect(false) #1 C:\Projects\webroot\www\kwpayroll\system\Database\BaseConnection.php(575): CodeIgniter\Database\BaseConnection->initialize() #2 C:\Projects\webroot\www\kwpayroll\system\Database\BaseBuilder.php(1616): CodeIgniter\Database\BaseConnection->query('SELECT *\nFROM `...', Array, false) #3 C:\Projects\webroot\www\kwpayroll\app\ThirdParty\settings-2.2.0\src\Handlers\DatabaseHandler.php(186): CodeIgniter\Database\BaseBuilder->get() #4 C:\Projects\webroot\www\kwpayroll\app\ThirdParty\settings-2.2.0\src\Handlers\DatabaseHandler.php(51): CodeIgniter\Settings\Handlers\DatabaseHandler->hydrate(NULL) #5 C:\Projects\webroot\www\kwpayroll\app\ThirdParty\settings-2.2.0\src\Settings.php(59): CodeIgniter\Settings\Handlers\DatabaseHandler->has('Config\\Auth', 'sessionConfig', NULL) #6 C:\Projects\webroot\www\kwpayroll\app\ThirdParty\settings-2.2.0\src\Helpers\setting_helper.php(25): CodeIgniter\Settings\Settings->get('Auth.sessionCon...') #7 C:\Projects\webroot\www\kwpayroll\app\ThirdParty\shield-1.0.3\src\Authentication\Authenticators\Session.php(685): setting('Auth.sessionCon...') #8 C:\Projects\webroot\www\kwpayroll\app\ThirdParty\shield-1.0.3\src\Authentication\Authenticators\Session.php(703): CodeIgniter\Shield\Authentication\Authenticators\Session->getSessionUserInfo() #9 C:\Projects\webroot\www\kwpayroll\app\ThirdParty\shield-1.0.3\src\Authentication\Authenticators\Session.php(390): CodeIgniter\Shield\Authentication\Authenticators\Session->getSessionKey('id') #10 C:\Projects\webroot\www\kwpayroll\app\ThirdParty\shield-1.0.3\src\Authentication\Authenticators\Session.php(374): CodeIgniter\Shield\Authentication\Authenticators\Session->checkUserState() #11 C:\Projects\webroot\www\kwpayroll\app\ThirdParty\shield-1.0.3\src\Filters\SessionAuth.php(54): CodeIgniter\Shield\Authentication\Authenticators\Session->loggedIn() #12 C:\Projects\webroot\www\kwpayroll\system\Filters\Filters.php(182): CodeIgniter\Shield\Filters\SessionAuth->before(Object(CodeIgniter\HTTP\IncomingRequest), NULL) #13 C:\Projects\webroot\www\kwpayroll\system\CodeIgniter.php(475): CodeIgniter\Filters\Filters->run('hr/dept', 'before') #14 C:\Projects\webroot\www\kwpayroll\system\CodeIgniter.php(361): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false) #15 C:\Projects\webroot\www\kwpayroll\public\index.php(79): CodeIgniter\CodeIgniter->run() #16 C:\Projects\webroot\www\kwpayroll\system\Commands\Server\rewrite.php(47): require_once('C:\\Projects\\web...') #17 {main} CRITICAL - 2024-09-07 14:21:59 --> CodeIgniter\Database\Exceptions\DatabaseException: Unable to connect to the database. Main connection [MySQLi]: No connection could be made because the target machine actively refused it in SYSTEMPATH\Database\BaseConnection.php on line 428. 1 SYSTEMPATH\Database\BaseConnection.php(575): CodeIgniter\Database\BaseConnection->initialize() 2 SYSTEMPATH\Database\BaseBuilder.php(1616): CodeIgniter\Database\BaseConnection->query('SELECT * FROM `settings` WHERE `context` IS NULL', [], false) 3 APPPATH\ThirdParty\settings-2.2.0\src\Handlers\DatabaseHandler.php(186): CodeIgniter\Database\BaseBuilder->get() 4 APPPATH\ThirdParty\settings-2.2.0\src\Handlers\DatabaseHandler.php(51): CodeIgniter\Settings\Handlers\DatabaseHandler->hydrate(null) 5 APPPATH\ThirdParty\settings-2.2.0\src\Settings.php(59): CodeIgniter\Settings\Handlers\DatabaseHandler->has('Config\\Auth', 'sessionConfig', null) 6 APPPATH\ThirdParty\settings-2.2.0\src\Helpers\setting_helper.php(25): CodeIgniter\Settings\Settings->get('Auth.sessionConfig') 7 APPPATH\ThirdParty\shield-1.0.3\src\Authentication\Authenticators\Session.php(685): setting('Auth.sessionConfig') 8 APPPATH\ThirdParty\shield-1.0.3\src\Authentication\Authenticators\Session.php(703): CodeIgniter\Shield\Authentication\Authenticators\Session->getSessionUserInfo() 9 APPPATH\ThirdParty\shield-1.0.3\src\Authentication\Authenticators\Session.php(390): CodeIgniter\Shield\Authentication\Authenticators\Session->getSessionKey('id') 10 APPPATH\ThirdParty\shield-1.0.3\src\Authentication\Authenticators\Session.php(374): CodeIgniter\Shield\Authentication\Authenticators\Session->checkUserState() 11 APPPATH\ThirdParty\shield-1.0.3\src\Filters\SessionAuth.php(54): CodeIgniter\Shield\Authentication\Authenticators\Session->loggedIn() 12 SYSTEMPATH\Filters\Filters.php(182): CodeIgniter\Shield\Filters\SessionAuth->before(Object(CodeIgniter\HTTP\IncomingRequest), null) 13 SYSTEMPATH\CodeIgniter.php(475): CodeIgniter\Filters\Filters->run('hr/dept', 'before') 14 SYSTEMPATH\CodeIgniter.php(361): CodeIgniter\CodeIgniter->handleRequest(null, Object(Config\Cache), false) 15 FCPATH\index.php(79): CodeIgniter\CodeIgniter->run() 16 SYSTEMPATH\Commands\Server\rewrite.php(47): require_once('C:\\Projects\\webroot\\www\\kwpayroll\\public\\index.php') INFO - 2024-09-07 14:22:11 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver. INFO - 2024-09-07 14:22:11 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver. INFO - 2024-09-07 14:23:15 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver. INFO - 2024-09-07 14:23:15 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver. INFO - 2024-09-07 14:23:15 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver. INFO - 2024-09-07 14:23:36 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver. INFO - 2024-09-07 14:23:36 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver. INFO - 2024-09-07 14:23:36 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver. INFO - 2024-09-07 14:30:53 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver. INFO - 2024-09-07 14:30:53 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver. INFO - 2024-09-07 14:30:53 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.