View Full Version : Status signatures, need help.
Swearwolf
03-12-2007, 08:54 PM
www.totalhabbo.com/statussig.php
wont work and says image contains errors or w.e
point is, i had it working on my old host, but wont on new host. any help?
Pazza
03-12-2007, 09:11 PM
<br />
<b>Fatal error</b>: Call to undefined function: imagettftext() in <b>/home/totalhab/public_html/sig/habboProfile_uk.php</b> on line <b>28</b><br />
Is that what's wrong?
I don't know, but it must be something with code, like wrong extension or just something small and silly. Or, it may just be bandwith etc, if there isnt enough space but I think i'm wrong on both
EDIT: Check home/totalhab/public_html/sig/habboClass.php
Mr Macro
03-12-2007, 10:44 PM
That error means that imagettftext(); doesn't exist. So when you try to call the function it can't find it so it gives a error.
Swearwolf
04-12-2007, 10:23 AM
thanks +rep both
still havent got a clue how to fix :(
Hitman
04-12-2007, 10:44 AM
Post the code for statussig.php please.
Swearwolf
04-12-2007, 11:10 AM
<?php
$url = "http://www.totalhabbo.com"; // Your website address
$country = $_POST['country'];
$habbo = $_POST['habboname'];
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Status Signature</title>
<style type="text/css">
<!--
body, td, th {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #000000;
}
-->
</style>
</head>
<body>
<center>
<form method="POST">
<strong>Habbo Name</strong>
<input type="text" name="habboname" size="20"><br>
<br>
<b>Country</b> <select size="1" name="country">
<option value="au">Australia</option>
<option value="ca">Canada</option>
<option value="sg">Singapore</option>
<option value="uk">United Kingdom</option>
<option value="us">USA</option>
</select><br><br>
<input type="submit" value="Submit" name="send"></p>
</form>
<br>
<?
if($habbo){
echo "<img src=\"$url/sig/$country/$habbo\" alt=\"Broken?\"><br /><br />";
?>
<b>Direct Link:</b><br><input type="text" name="web" size="20" onFocus="this.select()" value="<? echo "$url/sig/$country/$habbo"; ?>"><br /><br />
<b>Forum Code:</b><br><input type="text" name="web" size="20" onFocus="this.select()" value="<? echo "$url/sig/$country/$habbo"; ?>"><br /><br />
<b>Forum Code:</b><br><input type="text" name="web" size="20" onFocus="this.select()" value="<img src="<? echo "$url/sig/$country/$habbo"; ?>" >"><br /><br><br>
</center>
</body>
</html>
<?
?>
MrCraig
04-12-2007, 11:29 AM
Er...
try downloading one off habboring and you might have more luck.
Swearwolf
04-12-2007, 11:32 AM
that is the habboring one
Your host probably doesnt support/allow imagettftext().
Lots of hosts dont allow it, don't know why though.
Swearwolf
04-12-2007, 06:41 PM
is it something i can ask them to enable easily?
Mr Macro
04-12-2007, 08:23 PM
is it something i can ask them to enable easily?
Yeah, its quite simple to enable.
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.