Error PHP CodeIgniter Message: session_start (): Can not send session cookie

1

I get this error on my site PHP is mounted on CodeIniter And check the drivers that do not lack signs or have space. And I do not know where to look anymore, I'm using PHP 7

A PHP Error was encountered
Severity: Warning
Message: session_start(): Cannot send session cookie - headers already sent by (output started at /home/lckmx/public_html/application/config/autoload.php:1)
Filename: Session/Session.php
Line Number: 140
Backtrace:
File: /home/lckmx/public_html/index.php
Line: 293
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/lckmx/public_html/application/config/autoload.php:1)
Filename: Session/Session.php
Line Number: 140
Backtrace:
File: /home/lckmx/public_html/index.php
Line: 293
Function: require_once
    
asked by Rickzize 12.01.2017 в 21:45
source

1 answer

1

in the folder application / config / there is a file called autoload in which you can load libraries as the session this is done in this way

$autoload['libraries'] = array('session');

Anything will be aware, anyway more information is not available and would help solve the problem more quickly

    
answered by 04.01.2018 в 06:43