There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
antivirus audio avg avg 8 backup bios boot browser bsod computer cpu crash css desktop driver dvd email error excel explorer firefox firefox 3 freeze game graphics hard drive hardware help please hijackthis hjt hjt log install internet internet explorer itunes javascript lan laptop malware missing monitor msn network networking openoffice outlook outlook 2003 outlook express php popups problem router screen seo slow sound sp3 spyware trojan usb video virtumonde virus vista vundo windows windows vista windows xp wireless word
Web Design & Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
Solved: Help with php error message


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
colinsp's Avatar
Computer Specs
Member with 94 posts.
 
Join Date: Sep 2007
Location: Spain
Experience: Adv PC, int HTML, noob PHP
08-May-2008, 03:50 PM #1
Solved: Help with php error message
When I call a page I am getting the following error message

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/u3avdp/public_html/news/admin.php:11) in /home/u3avdp/public_html/news/admin.php on line 47

And line 47 just says

session_start();

I am using a free php script and all I have done is paste the original page into one of my own (own header footer etc)

I have read about the session command in PHP and I am none the wiser.

Any thoughts most welcome

Colin
Mudley's Avatar
Computer Specs
Member with 99 posts.
 
Join Date: Apr 2008
Experience: Advanced
08-May-2008, 08:03 PM #2
there cannot be ANY html output sent to the browser before that function is called...not even DOCTYPE stuff or empty lines
colinsp's Avatar
Computer Specs
Member with 94 posts.
 
Join Date: Sep 2007
Location: Spain
Experience: Adv PC, int HTML, noob PHP
09-May-2008, 12:59 AM #3
Thanks I'll check that out.

Colin
colinsp's Avatar
Computer Specs
Member with 94 posts.
 
Join Date: Sep 2007
Location: Spain
Experience: Adv PC, int HTML, noob PHP
09-May-2008, 02:06 AM #4
Thanks that sorted it I just removed the DOCTYPE
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 06:13 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.