Jump to content

Warning: Session_start() Error


Guest paulabakerparkin

Recommended Posts

Guest paulabakerparkin

Hi,

I have just moved a site to a new server and receiving the following errors:

[b]Warning[/b]:  session_start() [[url="http://klubpaparazzi.com/shop/function.session-start"]function.session-start[/url]]: Cannot send session cookie - headers already sent by (output started at /home/klubp46/public_html/shop/includes/global.inc.php:2) in [b]/home/klubp46/public_html/shop/classes/session/cc_session.php[/b] on line [b]200[/b]

 

 [b]Warning[/b]:  session_start() [[url="http://klubpaparazzi.com/shop/function.session-start"]function.session-start[/url]]: Cannot send session cache limiter - headers already sent (output started at /home/klubp46/public_html/shop/includes/global.inc.php:2) in [b]/home/klubp46/public_html/shop/classes/session/cc_session.php[/b] on line [b]200[/b]

 

 [b]Warning[/b]:  session_regenerate_id() [[url="http://klubpaparazzi.com/shop/function.session-regenerate-id"]function.session-regenerate-id[/url]]: Cannot send session cookie - headers already sent by (output started at /home/klubp46/public_html/shop/includes/global.inc.php:2) in [b]/home/klubp46/public_html/shop/classes/session/cc_session.php[/b] on line [b]201[/b]

 

 [b]Warning[/b]: Cannot modify header information - headers already sent by (output started at /home/klubp46/public_html/shop/includes/global.inc.php:2) in [b]/home/klubp46/public_html/shop/classes/session/cc_session.php[/b] on line [b]216[/b]

This is what I know:

- Server is Linux based

- Database has been carried over once before with no problems

- Globals, from my understanding, are set correctly

The URL for the site is:

http://klubpaparazzi.com/shop/index.php

Any help would be really appreciated.

Paula

Link to comment
Share on other sites

  • 2 months later...

Guest sallieann

Hi Paula,

Did you manage to find a solution to the problem? I'm having exactly the same issue with my cart and am unable to find any help within the forum.

Any help greatly appreciated.

Thanks

Sallie-ann

Link to comment
Share on other sites

  • 3 weeks later...
Guest estelle

This error message indicates that a file contains some sort of characters, typically whitespace or newline characters, before or after the special php tags at the start of end of a file. The PHP start tag is:

<?php


The PHP end tag is:


?>

If you look at the error message, find where it says "output started at...". That indicates which file contains the problem. Then you have to edit that file and make sure there are NO characters before the PHP start tag (<?php) or after the PHP end tag (?>)

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...