• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Log file ERRORs but no URI, Controller, Model or View details

#2
Hi John,
When I review my log files, I see that when errors come from the CI system itself, there is a previous log line with the same time stamp that points out where the error comes from in my own files. Like this.
Code:
ERROR - 2015-02-18 12:32:05 --> Severity: Warning  --> Cannot modify header information - headers already sent by (output started at C:\Users\admin\Apache\htdocs\ci\index.php:178) C:\Users\admin\Apache\htdocs\ci\system\libraries\Session.php 688
ERROR - 2015-02-18 12:32:05 --> Severity: Warning  --> Cannot modify header information - headers already sent by (output started at C:\Users\admin\Apache\htdocs\ci\index.php:178) C:\Users\admin\Apache\htdocs\ci\application\controllers\home.php 10

In any case, do you have PHP's error reporting turned on to E_ALL? That's what I use instead of CI's error logs.
Hey, don't work without a PHP debugger. Several free IDEs have this features built in. Two are NetBeans and CodeLobster. Without a debugger, it's like you're driving with a blindfold on -- you are going to crash!
Reply


Messages In This Thread
RE: Log file ERRORs but no URI, Controller, Model or View details - by RobertSF - 03-20-2015, 10:52 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.