mavromytis Posted February 8, 2013 Share Posted February 8, 2013 (edited) Hello to all, I truly need help, first of all, I know basic php and I'ma front end developer so advice here would be greatly appreciated. I get these errors: Message: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/aphotel/public_html/application/config/config.php:1) Filename: classes/rapyd_session.php Line Number: 53 A PHP Error was encountered Severity: Warning Message: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/aphotel/public_html/application/config/config.php:1) Filename: classes/rapyd_session.php Line Number: 53 A PHP Error was encountered Severity: Warning Message: Cannot modify header information - headers already sent by (output started at /home/aphotel/public_html/application/config/config.php:1) Filename: libraries/Session.php Line Number: 366 It is going beyond my knowledge of php and I would help is greatly appreciated. Thank you Edited February 8, 2013 by PFMaBiSmAd link removed upon request Quote Link to comment https://forums.phpfreaks.com/topic/274196-php-help/ Share on other sites More sharing options...
mavromytis Posted February 8, 2013 Author Share Posted February 8, 2013 Update, I commented out the sessio_start() function and seams to be working, but still getting the : Message: Cannot modify header information - headers already sent by (output started at /home/aphotel/public_html/application/config/config.php:1) Filename: libraries/Session.php Line Number: 366 Quote Link to comment https://forums.phpfreaks.com/topic/274196-php-help/#findComment-1410961 Share on other sites More sharing options...
mavromytis Posted February 8, 2013 Author Share Posted February 8, 2013 Solved, thank you, for anyone else having probs: I just found the solution this by the follwing: place this ob_start(); on first line of index.php under your application directory like this : <?php ob_start(); /* *--------------------------------------------------------------- * APPLICATION ENVIRONMENT *--------------------------------------------------------------- ' Quote Link to comment https://forums.phpfreaks.com/topic/274196-php-help/#findComment-1410967 Share on other sites More sharing options...
Barand Posted February 8, 2013 Share Posted February 8, 2013 You shouldn't need to resort to buffering, this should help http://forums.phpfreaks.com/index.php?act=findpost&pid=1405508 Quote Link to comment https://forums.phpfreaks.com/topic/274196-php-help/#findComment-1410968 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.