<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><br></div><div><div><div>On 13 Nov 2013, at 14:25, Wayne Morris <<a href="mailto:waynelists@machx.co.uk">waynelists@machx.co.uk</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
  
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    Moving my websites from the Good Ole Boy Adam Sweet, to the big
    nasty corporation UK2.<br>
    <br>
    Sessions were working fine, no longer work properly with eg:<br>
    <br>
    <b style="font-family: verdana; font-size: inherit; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Warning</b><span style="font-family: verdana; font-size: inherit; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;">: session_start() [</span><a href="http://j9accommodation.co.uk/j9/function.session-start" style="text-decoration: none; font-family: tahoma; cursor: pointer; font-size: inherit; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">function.session-start</a><span style="font-family: verdana; font-size: inherit; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;">]: Cannot send session cookie - headers already sent by
      (output started at /home/j9accomm/public_html/j9/updatetest.php:7)
      in</span><b style="font-family: verdana; font-size: inherit; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">/home/j9accomm/public_html/j9/updatetest.php</b><span style="font-family: verdana; font-size: inherit; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;"><span class="Apple-converted-space"> </span>on line<span class="Apple-converted-space"> </span></span><b style="font-family: verdana; font-size: inherit; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">416</b><br style="font-family: verdana; font-size: inherit; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
    <br style="font-family: verdana; font-size: inherit; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
    <b style="font-family: verdana; font-size: inherit; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Warning</b><span style="font-family: verdana; font-size: inherit; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;">: session_start() [</span><a href="http://j9accommodation.co.uk/j9/function.session-start" style="text-decoration: none; font-family: tahoma; cursor: pointer; font-size: inherit; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">function.session-start</a><span style="font-family: verdana; font-size: inherit; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;">]: Cannot send session cache limiter - headers already sent
      (output started at /home/j9accomm/public_html/j9/updatetest.php:7)
      in</span><b style="font-family: verdana; font-size: inherit; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">/home/j9accomm/public_html/j9/updatetest.php</b><span style="font-family: verdana; font-size: inherit; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;"><span class="Apple-converted-space"> </span>on line<span class="Apple-converted-space"> </span></span><b style="font-family: verdana; font-size: inherit; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">416<br>
      <br>
      gooogled the hell out of it, can't find anything that fixes it -
      all thats changed is server - any ideas?<br></b></div></blockquote><br></div><div><br></div>Your previous host had output buffering turned on. Your new host doesn’t.<div><br></div><div>You need to either put ‘ob_start()’ at the top of your scripts/pages, or find a way to change the php.ini settings (perhaps through a .htaccess rule like at <a href="http://stackoverflow.com/questions/4642097/php-htaccess-output-buffering">http://stackoverflow.com/questions/4642097/php-htaccess-output-buffering</a> )</div><div><br></div><div>OR remove whatever is outputting content BEFORE you call session_start(). This may be blank lines or echo statements or just inline HTML.</div><div><br></div><div><br></div><div>David.</div></div><div><br></div></body></html>