Old 06-28-2007   #1 (permalink)
Registered User
 
Join Date: Jun 2007
Posts: 4

Getting an error after checking whle google??

I've been checking whole google to solve this but i can't....

the error is:
Warning: Cannot modify header information - headers already sent by (output started at /customers/lostworld.be/lostworld.be/httpd.www/bizzlife/config.php:7) in /customers/lostworld.be/lostworld.be/httpd.www/bizzlife/login.php on line 55

-Most of the sites i've been looking for are syaing that it is a space in config.php but heres the code of config:

Code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<title>Bizzlife</title>
</head>
<body>
<?php
$l = mysql_connect ( "localhost" , "HIDDEN" , "HIDDEN" ) or die("Error connecting: <br><br>".mysql_error());
mysql_select_db( "HIDDEN" ) or die("Error getting db: <br><br>".mysql_error());
?>
</body>
</html>
(HIDDEN=removed pass and user)

Thanks for help any1
jelleke60 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 06-28-2007   #2 (permalink)
Janitor of Lunacy
 
tamlin's Avatar
 
Join Date: May 2006
Location: Sitting in the Wishing Chair
Posts: 4,829

This has already been answered here: http://forums.biorust.com/html-php-a...or-please.html (Help me whit this php error please)
__________________


Religion: It's all fun and games until someone gets burned at the stake...
tamlin is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 06-28-2007   #3 (permalink)
Registered User
 
Join Date: Jun 2007
Posts: 4

It isn't that.....Its somthing else to do with config.php
jelleke60 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 06-28-2007   #4 (permalink)
Rusty Bio-Hazard!
 
notjustgraphics's Avatar
 
Join Date: Sep 2006
Location: Toronto, Ontario, Canada
Posts: 1,034

Send a message via MSN to notjustgraphics
Try taking all of the HTML headers out of the config.php file.. it should just be this:

<php><?php
$l = mysql_connect ( "localhost" , "HIDDEN" , "HIDDEN" ) or die("Error connecting: <br><br>".mysql_error());
mysql_select_db( "HIDDEN" ) or die("Error getting db: <br><br>".mysql_error());
?></php>

This setup is causing a second html header to be sent before the HTML is closed.

Also, for symantec markup (Standards Compliancy) your line break tags should be escaped... use <br /> instead of just <br> This has nothing to do with your problem though...

Anytime you call a page that has the <html> tag, the server will generate a header and initiate output... This CANNOT occurr before the session is established. If you have any HTML in your file before the session_start(); you will get an error.

If you are the same user who posted the problem in the thread yesterday, you will continue to get errors until you move the session_start(); to BEFORE the <HTML> tag.

Mike.
__________________
notjustgraphics is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 06-28-2007   #5 (permalink)
Registered User
 
Join Date: Jun 2007
Posts: 4

I am the same user but i was with my friend yesterday I already set the sessions before the html that worked fine now i'll try the config
jelleke60 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools
Display Modes

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 On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Google SketchUp Bub 3D Modelling 4 03-08-2007 09:16 PM
Put ur website to top 10 on Google with a specified keyword.Legal or not? ParaSnake General Discussions 4 07-14-2005 07:27 PM
Google Wallet May Compete With PayPal ConceptualMind General Discussions 2 06-20-2005 09:42 PM
Google Sitemaps (BETA) ConceptualMind Announcements 5 06-04-2005 11:06 PM
Google PageRank - Entertainment Only? ConceptualMind General Discussions 2 12-07-2004 07:54 PM


All times are GMT +1. The time now is 09:43 PM.
Content Relevant URLs by vBSEO 3.2.0

Design & Content © BioRUST 2007 :: PRIVACY STATEMENT :: LEGAL INFORMATION :: ADVERTISING MEDIA KIT