Loading


Advertisement:

Author Topic: Warning: session_start(): Cannot send session cookie - headers already sent by (  (Read 542 times)

mrtsoftware

  • Jr. Member
  • **
  • Posts: 62
When I try to login www.aytgroup.info/oc-admin/  I am receiving error below;

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/mrtsoftw/public_html/www.aytgroup.info/config.php:1) in /home/mrtsoftw/public_html/www.aytgroup.info/oc-includes/osclass/core/Session.php on line 47

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/mrtsoftw/public_html/www.aytgroup.info/config.php:1) in /home/mrtsoftw/public_html/www.aytgroup.info/oc-includes/osclass/core/Session.php on line 47

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/mrtsoftw/public_html/www.aytgroup.info/config.php:1) in /home/mrtsoftw/public_html/www.aytgroup.info/oc-includes/osclass/core/Session.php on line 47

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/mrtsoftw/public_html/www.aytgroup.info/config.php:1) in /home/mrtsoftw/public_html/www.aytgroup.info/oc-includes/osclass/core/Session.php on line 47

Warning: Cannot modify header information - headers already sent by (output started at /home/mrtsoftw/public_html/www.aytgroup.info/config.php:1) in /home/mrtsoftw/public_html/www.aytgroup.info/oc-includes/osclass/core/Cookie.php on line 90

Warning: Cannot modify header information - headers already sent by (output started at /home/mrtsoftw/public_html/www.aytgroup.info/config.php:1) in /home/mrtsoftw/public_html/www.aytgroup.info/oc-includes/osclass/core/AdminSecBaseModel.php on line 95


How to solve it?

SteveJohnson

  • Sr. Member
  • ****
  • Posts: 285
  • Golden tip - Clear your cache :|
Look for any empty spaces as the first lines in your config.php , and other configuration files.
The files should start with php tags

mrtsoftware

  • Jr. Member
  • **
  • Posts: 62
I checked all files on server, date of files are not changed...I did not make a change since long time ago
I downloaded and checked into files, no space at first line in config.php

I am really getting crazy, who can help me to solve this?

mrtsoftware

  • Jr. Member
  • **
  • Posts: 62
Warning: Cannot modify header information - headers already sent by (output started at /home/mrtsoftw/public_html/www.aytgroup.info/config.php:1) in /home/mrtsoftw/public_html/www.aytgroup.info/oc-includes/osclass/core/Cookie.php on line 90 ( here code for this line )  setcookie($this->name, $cookie_val, $this->expires, REL_WEB_URL);

What is wrong ? please help?

teseo

  • Hero Member
  • *****
  • Posts: 5644
Hi,

Make a copy of your config.php, replace your personal data with dummy strings and attach it here.

Regards