Jump to content

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/274196-php-help/
Share on other sites

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

Link to comment
https://forums.phpfreaks.com/topic/274196-php-help/#findComment-1410961
Share on other sites

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 *--------------------------------------------------------------- '

Link to comment
https://forums.phpfreaks.com/topic/274196-php-help/#findComment-1410967
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.