Guest paulabakerparkin Posted December 12, 2007 Share Posted December 12, 2007 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 Quote Link to comment Share on other sites More sharing options...
Guest sallieann Posted February 29, 2008 Share Posted February 29, 2008 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 Quote Link to comment Share on other sites More sharing options...
Guest estelle Posted March 17, 2008 Share Posted March 17, 2008 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 (?>) Quote Link to comment Share on other sites More sharing options...
generaldogsbody Posted May 8, 2008 Share Posted May 8, 2008 Hi I had the same error message. The problem is in the global.inc.php file. The download files come with the first line of the code in this file being 'global.inc.php'. You need to delete this first line - it appears above <?php This will resolve the problem. :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.