Hi everybody,
I encountered an error described as: https:Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/xxx/xxx.com/config.php:1) in /home/xxx/xxx.com/system/library/session.php on line 21.
This happened after we edited the config.php in both admin and main site folder to HTTPS:
// HTTPS
define('HTTPS_SERVER', 'https://www.domain.com/');
define('HTTPS_CATALOG', 'https://www.domain.com/');
define('HTTPS_IMAGE', 'https://www.domain.com/image/');
define('HTTPS_ADMIN', 'https://www.domain.com/admin/');
Even though we enabled SSL in the dashboard, this error still happened, not sure why, thank you for your assistance and help.
BT
Please check your index file or config file. Make sure no line break after PHP tag start .
Also you can follow the below link for more information . https://stackoverflow.com/questions/802 ... es#tab-top
Code: Select all
<?php /* Your Code */ ?>
The error message is telling you that output (tags and/or text) is being sent to the browser at the very first line of config.php. That means you have something before the opening <?php. It may be as simple as an extra carriage return or a blank line. Some editors are notorious for adding such stuff, or a UTF-8 BOM, at the beginning of a file. The <?php should be the very first characters of the file.
Who is online
Users browsing this forum: No registered users and 53 guests