• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hi, Please Help on this error

#1
[eluser]almarjin[/eluser]
Hi Guys,

I got this error some times.

A PHP Error was encountered
Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at C:\server2go\htdocs\UMDP\system\application\controllers\phones.php:124)

Filename: libraries/Db_session.php

Line Number: 248


Thanks.

#2
[eluser]Nick Husher[/eluser]
Somewhere you're printing out a character before the session library is executing.

You may have a space before your opening <?php in your controller file, or you're using the echo command before loading the session libraries.

#3
[eluser]almarjin[/eluser]
I checked the controller files I didn't find any space before <?php. In my DB_session.php there is no echo command.

Thanks for your time.

#4
[eluser]Derek Jones[/eluser]
The error tells you where the output started, line 124 of your phones.php controller. Check that line of that file, my guess is whitespace, perhaps after the closing PHP tag (which is one reason we have removed closing PHP tags from all of CI's files.

#5
[eluser]almarjin[/eluser]
Nick Husher and Derek Jones,

Thanks guys. I think the problem was solved. I can't see the error anymore. I removed white spaces after the ?> at the end ef every conroller file.

Thanks again.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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