Post by jayce2000 » Tue Oct 19, 2010 10:19 am

I am now getting
Cannot send session cache limiter - headers already sent in when trying to login into the Admin section. The stroer front is working fine but cant login to Admin. Any help would be great.

TIA

This is my full error

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home7/sellitf1/public_html/store/admin/config.php:65) in /home7/sellitf1/public_html/store/system/library/session.php on line 11Warning: Cannot modify header information - headers already sent by (output started at /home7/sellitf1/public_html/store/admin/config.php:65) in /home7/sellitf1/public_html/store/system/library/currency.php on line 45Warning: Cannot modify header information - headers already sent by (output started at /home7/sellitf1/public_html/store/admin/config.php:65) in /home7/sellitf1/public_html/store/system/engine/controller.php on line 27

Newbie

Posts

Joined
Fri Aug 20, 2010 8:35 am

Post by JAY6390 » Tue Oct 19, 2010 6:36 pm

OK, go to your admin/config.php file and take a look at line 11. It's likely there are extra spaces that there shouldn't be, or something else that is causing it to output something, giving the error. If you're unsure, paste the code here and blank out the sensitive data

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom

Post by jayce2000 » Wed Oct 20, 2010 1:59 am

Here is the code...I didnt see any out of the ordinary blanks....Thanks for the help on this.

Code: Select all

<?php
// HTTP
define('HTTP_SERVER', 'http://www.sellit4lessonline.com/store/admin/');
define('HTTP_CATALOG', 'http://www.sellit4lessonline.com/store/');
define('HTTP_IMAGE', 'http://www.sellit4lessonline.com/store/image/');

// HTTPS
define('HTTPS_SERVER', 'http://www.sellit4lessonline.com/store/admin/');
define('HTTPS_IMAGE', 'http://www.sellit4lessonline.com/store/image/');
define('HTTPS_CATALOG', 'http://www.sellit4lessonline.com/store/');

// DIR
define('DIR_APPLICATION', '/home7/sellitf1/public_html/store/admin/');
define('DIR_SYSTEM', '/home7/sellitf1/public_html/store/system/');
define('DIR_DATABASE', '/home7/sellitf1/public_html/store/system/database/');
define('DIR_LANGUAGE', '/home7/sellitf1/public_html/store/admin/language/');
define('DIR_TEMPLATE', '/home7/sellitf1/public_html/store/admin/view/template/');
define('DIR_CONFIG', '/home7/sellitf1/public_html/store/system/config/');
define('DIR_IMAGE', '/home7/sellitf1/public_html/store/image/');
define('DIR_CACHE', '/home7/sellitf1/public_html/store/system/cache/');
define('DIR_DOWNLOAD', '/home7/sellitf1/public_html/store/download/');
define('DIR_LOGS', '/home7/sellitf1/public_html/store/system/logs/');
define('DIR_CATALOG', '/home7/sellitf1/public_html/store/catalog/');

// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'xxxxxxx');
define('DB_PASSWORD', 'xxxxxxx');
define('DB_DATABASE', 'xxxxxx');
define('DB_PREFIX', '');
?>

Code: Select all

<?php
function sanitize_title($title) {

// Preserve escaped octets.
  $title=preg_replace('|%([a-fA-F0-9][a-fA-F0-9])|','---$1---',$title);

// Remove percent signs that are not part of an octet.
  $title=str_replace('%','',$title);

// Restore octets.
  $title=preg_replace('|---([a-fA-F0-9][a-fA-F0-9])---|','%$1',$title);
  $title=strtolower($title);
  $title=preg_replace('/&.+?;/','',$title);

// kill entities
  $title=preg_replace('/[^%a-z0-9 _-]/','',$title);
  $title=preg_replace('/\s+/','-',$title);
  $title=preg_replace('|-+|','-',$title);
  $title=trim($title,'-');
  return $title;
}
?>
Last edited by i2Paq on Wed Oct 20, 2010 2:15 am, edited 1 time in total.
Reason: Code-tags added

Newbie

Posts

Joined
Fri Aug 20, 2010 8:35 am
Who is online

Users browsing this forum: No registered users and 23 guests