CodeIgniter Forums
phpbb3 session error - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: phpbb3 session error (/showthread.php?tid=40910)



phpbb3 session error - El Forum - 04-22-2011

[eluser]MrCrozer[/eluser]
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1024: Cannot modify header information - headers already sent by (output started at /application/libraries/phpbb_library.php:1)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1024: Cannot modify header information - headers already sent by (output started at /application/libraries/phpbb_library.php:1)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1024: Cannot modify header information - headers already sent by (output started at /application/libraries/phpbb_library.php:1)


How to fix this ?

I red in the phpbb3 author theme, one of the posts has the same issue, and he fixed it by 'not cloasing the controller file', but what did he mean realy ? Sme help ?


phpbb3 session error - El Forum - 04-22-2011

[eluser]InsiteFX[/eluser]
It means you have white space before or after the PHP TAGS!

In PHP 5 you do not need the PHP closing tag but you should place a comment on the bottom.

Also make sure when you save your files that you save them without the BOM!

InsiteFX


phpbb3 session error - El Forum - 04-26-2011

[eluser]MrCrozer[/eluser]
Tnx, so that was the problem, but i fixed it, but forgot to tell you, but still tnx some people may need it Smile