Cannot send session cache limiter - headers already sent

Permalink
Ack! I can't figure this one out. Upon trying to enable advanced permissions, this issue occured. I simply placed the advanced permissions command in the config/site.php file, uploaded it and got this error:

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /homepages/17/d155932622/htdocs/designheights/clients/nexus/concrete/config/site.php:4) in /homepages/17/d155932622/htdocs/designheights/clients/nexus/concrete/concrete/startup/session.php on line 18



See the error here:
http://www.designheights.net/clients/nexus/concrete/index.php...


Even after deleting the file, and reverting back to the old one, I'm continuing to get the error. (I'm pretty sure I've uploaded the right site.php, any way I can tell what it was like before I made the change?)
Is there any way to fix this problem? I'm in pretty urgent need to get it fixed, as I'd like to copy everything from this site to another one.

Any help is appreciated, thanks in advance.

 
DSSUPPORT replied on at Permalink Reply
please take note I'm unable to even log in, so anything to do with the dashboard is out of the question at the moment :(

Thanks,
Chris
andrew replied on at Permalink Reply
andrew
You can't print anything, or even have any line breaks at the end of the file, since this file is included before concrete5's session handling functions.
invision replied on at Permalink Reply
invision
This is an old post, but just to add some reference to the discussion:

I moved a c5 site over by zipping the entire site, then unzipping on the new server. Also exported the database to an SQL file, imported it into a database on the new site, updated the site.php file with the new db settings.

The site came up fine right away in IE8. Firefox gave me the same error from the OP.

To fix the problem I cleared the cookie for the site in FF: TOOLS>OPTIONS>PRIVACY (Windows) or FIREFOX>OPTIONS>PRIVACY (Mac OS), click 'remove individual cookies' then browsed to the cookie for this site.

HTH others.
aowslimited replied on at Permalink Reply
aowslimited
hi there, i had a similar issue and to fix it i've just edits my index.php

i recently installed the security wall module which seems to screw the site up.

if you use textpad and show spaces open your index.php then check to be sure you only have this in there with no space before:

<?php
require('concrete/dispatcher.php');


you can then access your site without the error and once again log in to your admin...

let me know if it worked for you.

ta
dan
DSSUPPORT replied on at Permalink Reply
I actually meant to post that I had this fixed after a few of the earlier posts.

The fix you posted was what worked, though!

I do appreciate your help in the matter though, thanks a lot! :)