Sick of PHP Error - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Skype & Technology (/forumdisplay.php?fid=9) +---- Forum: Tech Talk (/forumdisplay.php?fid=17) +----- Thread: Sick of PHP Error (/showthread.php?tid=77019) Sick of PHP Error by Eddie on 08-26-2007 at 08:34 AM
I am TOTALLY sick of the following php error.. code:Whenever i put PHP into my website it stuffs up and comes up with that error. I dont know why it does it and i have searched google and this forum and found various solutions but i just cant seem to fix the stupid thing...the code that my index page links to is in the attachment. RE: Sick of PHP Error by NanaFreak on 08-26-2007 at 08:37 AM
code: do you have any text on the page before this? RE: Sick of PHP Error by Eddie on 08-26-2007 at 08:40 AM
code: thats before what you asked in that file, its in the attachment as you can see ^.^ Ok i uploaded my index page to this post to now. RE: Sick of PHP Error by Nathan on 08-26-2007 at 09:13 AM
After <?php use ob_start(); RE: Sick of PHP Error by Eddie on 08-26-2007 at 09:58 AM
quote:After what one? RE: Sick of PHP Error by user35870 on 08-26-2007 at 10:05 AM
quote: Move code: Up before any output: html/etc. RE: Sick of PHP Error by Eddie on 08-26-2007 at 10:07 AM
code:isn't on a page with any html on it, its on its own php document. RE: RE: Sick of PHP Error by hmaster on 08-26-2007 at 10:10 AM
quote:Yes but it's included on a page with outputted text? RE: Sick of PHP Error by Eddie on 08-26-2007 at 10:27 AM
quote:The page that the header is on is meant to send an image to the index page yes, here is where it should be...http://www.haboz.net/beta1/beta.php RE: Sick of PHP Error by hmaster on 08-26-2007 at 11:05 AM It's because you already have a bit of the page outputted before that page is called, like Napbree said just use ob_* RE: Sick of PHP Error by Eddie on 08-26-2007 at 11:07 AM
quote:Yes i will if you would tell me where to put it, there are a few includes and stuff on my site. RE: Sick of PHP Error by WDZ on 08-26-2007 at 11:08 AM
spotlight/index.php - sends the image code: RE: Sick of PHP Error by Eddie on 08-26-2007 at 11:18 AM
Well that gets rid of the errors, but the image does not come up RE: Sick of PHP Error by WDZ on 08-26-2007 at 11:29 AM
You have more unrelated errors in spotlight/index.php... code: Suggestions... 1. Change imagecreatefromgif("spotlight/spotlight.gif") to imagecreatefromgif("./spotlight.gif") 2. Figure out what this code is for, and fix it: $hotel = $_GET['.com.au']; RE: Sick of PHP Error by Eddie on 08-26-2007 at 11:43 AM
The second bit there is for the hotel address, if you look just below that in the link it has $hotel there which is why i need the .com.au in there. |