setPrefixedCookie: Can't set cookie, headers already sent!

12 posts by 4 authors in: Forums > CMS Builder
Last Post: July 8, 2016   (RSS)

By degreesnorth - February 10, 2016

Hi

I continue to get this issue (seems at random), on this page.  

http://www.geneticalliance.org.au/conditions_detail.php?Cardio-Facial-Cutaneous-Syndrome-93

It is actually a page which Interactive Tools developed for me, so not sure what/why it's happening.  It also continues on from a previous post http://www.interactivetools.com/forum/forum-posts.php?postNum=2236750#post2236750   where this was happening.

Could anyone shed some light on this?

Thankds

Carole

By degreesnorth - February 11, 2016

Hi Greg

There is no space, and <?php header('Content-type: text/html; charset=utf-8'); ?> is the very first line.

I have attached the file - perhaps I am overlooking something else?

Thanks in advance.

Attachments:

conditions_detail.php 13K

By Toledoh - February 11, 2016

Check on line 92 to 94 and change:

?>

<!DOCTYPE html>

to

?><!DOCTYPE html>

That may help.

Cheers,

Tim (toledoh.com.au)

By degreesnorth - February 11, 2016

Hi Tim

Thanks for the suggestion.  Tried that but still the same error.  

It appears to have errors with the following, as if the cms code is conflicting with:

<?php include_once("analyticstracking.php") ?> and 

<?php include("genetics_header.php") ?>

Hmmm... does anyone have any suggestions?  Many thanks in advance.

By Toledoh - February 11, 2016

It looks like you may have empty lines in genetics_header.php?

Cheers,

Tim (toledoh.com.au)

By degreesnorth - February 11, 2016

No, it's not that either.  It's coming up as the google analytics code which is incorrect.  If I delete that, then it moves to the header.  I honestly think something is conflicting with the code, rather than empty spaces.

????

By Toledoh - February 11, 2016

Im in the office for another 30 mins if you want me to have a look - grab me on skype? tim at toledoh dot com dot au

Cheers,

Tim (toledoh.com.au)

By gregThomas - February 15, 2016

Hi degreesnorth, 

I'll need to take a look at the sites codebase to be able to work out what the exact issue is, please could you fill out a second level support request:

https://www.interactivetools.com/support/email_support_form.php

Then I can take a closer look at the problem.

Cheers,

Greg

Greg Thomas







PHP Programmer - interactivetools.com

By wolf66 - July 7, 2016

Did you get a fix for this as I have the same issue at present trying to integrate the Membership plugin which I haven't used before.