CodeIgniter Forums
Session lock and header information - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Session lock and header information (/showthread.php?tid=67363)



Session lock and header information - monkeytesiorna - 02-14-2017

mulitiple query call then one stored procedure, but when i comment the procedure it works fine and i test on the mysql server and it works, i need to run the procedure for the output


A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/www/sdssu.surigaocitynationalhigh.com/system/core/Output.php:537)
Filename: core/Common.php
Line Number: 573
Backtrace:

A Database Error Occurred
Error Number: 2014
Commands out of sync; you can't run this command now
INSERT INTO `ci_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('02g231n5fcpabeumnlet8fjmtmrk00ea', '175.158.225.7', 1487127656, '__ci_last_regenerate|i:1487127656;')
Filename: libraries/Session/drivers/Session_database_driver.php
Line Number: 236
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/www/sdssu.surigaocitynationalhigh.com/system/core/Output.php:537)
Filename: core/Common.php
Line Number: 573
Backtrace:

A Database Error Occurred
Error Number: 2014
Commands out of sync; you can't run this command now
SELECT RELEASE_LOCK('02g231n5fcpabeumnlet8fjmtmrk00ea') AS ci_session_lock
Filename: libraries/Session/drivers/Session_database_driver.php
Line Number: 399