What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Sick of PHP Error

Pages: (2): « First « 1 [ 2 ] Last »
Sick of PHP Error
Author: Message:
Eddie
Veteran Member
*****


Posts: 2078
Reputation: 30
32 / Male / Flag
Joined: Oct 2005
Status: Away
O.P. RE: Sick of PHP Error
quote:
Originally posted by hmaster
It's because you already have a bit of the page outputted before that page is called, like Napbree said just use ob_*
Yes i will if you would tell me where to put it, there are a few includes and stuff on my site.
...there used to be a signature here :)
08-26-2007 11:07 AM
Profile PM Web Find Quote Report
WDZ
Former Admin
*****

Avatar

Posts: 7106
Reputation: 107
– / Male / Flag
Joined: Mar 2002
RE: Sick of PHP Error
spotlight/index.php - sends the image
beta.php - the page that the image should be shown on

You can't just include spotlight/index.php in beta.php... you need to use an image tag, silly! :P

code:
<div class="navMAIN" align="center" style="margin-bottom:4px;">Random Habbo</div>
<img src="spotlight/index.php" />
</div>
08-26-2007 11:08 AM
Profile PM Web Find Quote Report
Eddie
Veteran Member
*****


Posts: 2078
Reputation: 30
32 / Male / Flag
Joined: Oct 2005
Status: Away
O.P. RE: Sick of PHP Error
Well that gets rid of the errors, but the image does not come up*-)

When you go to here it says there is an error.

This post was edited on 08-26-2007 at 11:29 AM by Eddie.
...there used to be a signature here :)
08-26-2007 11:18 AM
Profile PM Web Find Quote Report
WDZ
Former Admin
*****

Avatar

Posts: 7106
Reputation: 107
– / Male / Flag
Joined: Mar 2002
RE: Sick of PHP Error
You have more unrelated errors in spotlight/index.php...

code:
Warning: imagecreatefromgif(spotlight/spotlight.gif) [function.imagecreatefromgif]: failed to open stream: No such file or directory in /home/haboz/public_html/beta1/spotlight/index.php on line 12

Warning: imagecreatefrompng() [function.imagecreatefrompng]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/haboz/public_html/beta1/spotlight/index.php on line 23

Warning: imagecreatefrompng(http://www.habbo/habbo-imaging/...) [function.imagecreatefrompng]: failed to open stream: Permission denied in /home/haboz/public_html/beta1/spotlight/index.php on line 23

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'];

This post was edited on 08-26-2007 at 11:33 AM by WDZ.
08-26-2007 11:29 AM
Profile PM Web Find Quote Report
Eddie
Veteran Member
*****


Posts: 2078
Reputation: 30
32 / Male / Flag
Joined: Oct 2005
Status: Away
O.P. RE: Sick of PHP Error
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.

Ok i can get the picture to come up, but i dont get all the right stuff lol :P Im getting there now, thank you very much all, especially WDZ :)

This post was edited on 08-26-2007 at 12:41 PM by Eddie.
...there used to be a signature here :)
08-26-2007 11:43 AM
Profile PM Web Find Quote Report
Pages: (2): « First « 1 [ 2 ] Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On