zuc0001
Member
- Apr 21, 2012
- 37
- 7
Hey guys, I just installed thehabbos onto my test server. I have edited the config etc, and whenever I go to api.php, I keep getting this:
If anyone knows why I am getting this, all help would be greatly appreciated
If you need any more information, I am also using IIS.
I have not touched any of the other pages. Curl is enabled in PHP.
If anyone knows why I am getting this, all help would be greatly appreciated
If you need any more information, I am also using IIS.
<?php
////////////////////////////////////////////////////////
// # TheHabbos Topsites API Script - Release 1.0.3 //
// # © Copyright TheHabbos 2011. All rights reserved. //
////////////////////////////////////////////////////////
if(!defined('IN_THEHABBOS_API')) {
die('Sorry, but you can not access this file directly. ');
}
/* FEEL F TO EDIT ANYTHING BELOW */
$CONFIG['Username'] = 'zuc0001'; //thehabbos topsites username
$CONFIG['URL'] = 'You must be registered for see links//the location to the file api.php on your website (i.e.You must be registered for see links)
$CONFIG['Type'] = 'client'; //current options: other or client (thehabbos_api/types)
$CONFIG['Style'] = 'Habbo Sleek'; //don't change this unless you have created your own style (thehabbos_api/styles)
$CONFIG['Credits'] = '1000'; //you can use this if you are using a specific type above - your users will be rewarded this many credits for voting
/* ADVANCED OPTIONS */
$CONFIG['Timeout'] = 2; //max amount of seconds before the api stops trying to connect to votingapi.com
$CONFIG['Curl_Enabled'] = 1; //mark this 0 if cURL isn't installed/enabled on your server, although cURL is recommended
/* DO NOT EDIT ANYTHING BELOW */
$votingValidation = new Validate();
$CONFIG['Status'] = $votingValidation->validateVote();
I have not touched any of the other pages. Curl is enabled in PHP.