Wrox Programmer Forums
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 28th, 2005, 12:20 AM
Registered User
Join Date: Jul 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to NutzyNobs
Default Warning message

So 7,000 brain cells ago, we installed a shopping cart,
and it is saying the following when you pull that page:

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/winkhere/public_html/goodiebag/index.php:2) in /home/winkhere/public_html/goodiebag/includes/functions/sessions.php on line 67

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/winkhere/public_html/goodiebag/index.php:2) in /home/winkhere/public_html/goodiebag/includes/functions/sessions.php on line 67

...Then line 67 in sessions.php is:

return session_start();

...and intact with lines 66-68 it reads:

function tep_session_start() {
    return session_start();

Anyone ever see this before? Help me! Help me! I'm running out of hair to pull out, also I've begun to find Dr. Teeth from the muppets irresistably attractive. Me-Ow!
Mrs. Nicole Teeth

Old July 28th, 2005, 02:31 PM
Friend of Wrox
Join Date: Mar 2004
Posts: 357
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to anshul

Simply don't modify the HTTP headers, after you sent o/p to client browser. Do you understand?


Similar Threads
Thread Thread Starter Forum Replies Last Post
Warning Message (Exception ex) dbcook8 BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 1 December 1st, 2008 05:18 PM
Warning Window Message in Struts!!! petemotu Struts 0 September 25th, 2006 08:48 PM
Warning Message when creating Outlook email Paulsh Access VBA 3 September 5th, 2005 06:27 AM
Warning Message AMP_Engineer BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 4 September 29th, 2004 08:55 PM
Avoid Warning Message on C lose Windows qazi_nomi Javascript 9 September 11th, 2004 11:19 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.