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

Edited by PFMaBiSmAd
link removed upon request
Link to comment
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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.