good evening
here I am now about to try installing a data gear
I put below if the file copy entete.php
<? Php
/ **
* Empire Universe 2 - Data Engine
*
* Basa © Work Christophe Couprie alias Elessar81
© * Fixes, ama drawing correctness © © on express authorization by alex10336
*
* @ Author Alex10336
* Last modification: $ Id: Entete.dist.php 202 2010-04-28 3:54:35 p.m. Z $ Alex10336
* @ License GNU Public License 3.0 (
http://www.gnu.org/licenses/gpl-3.0.txt)
* @ License Creative Commons 3.0 BY-SA (
http://creativecommons.org/licenses/by-sa/3.0/deed.fr)
*
** /
final class Config implements iDataEngine_Config {
static private $ connection;
/ **
* @ Var localhost server address
* /
static protected $ BaseMysql = 'mysql4.000webhost.com';
/ **
* @ Var user Username for mysql server
* /
static protected $ BaseUser = 'a2597441';
/ **
* @ Var pass Password for mysql server
* /
static protected $ BasePass = 'xxxxxw';
/ **
* @ Var database name of the database used e © © by the mysql server
* (In Gà © nà © ral mà ª me that the $ BaseUser)
* /
static protected $ BaseName = 'a2597441_eu2';
/ **
* Initialization function spa © cial ...
* /
static function init () {
/ **
* If the particular server configuration ¨ re.
* And that the designation would have automatic protection © Ã © © cabbage.
* Symptoms when à © Failed:
* - Login page blank
* - The session does not stay (nothing works, so)
* @ Const ROOT_URL
* @ Link
http://app216.free.fr/eu2/tracker/view.php?id=160
* @ Example
* [Code]
* Define ('ROOT_URL','/');
* Define ('ROOT_URL', '/ DataEngine /');
* [/ Code]
* Remove '/ /' at beginning © dun'e goal line to be activated The parameter
* /
define ('ROOT_URL','/');
/ **
Prà © * Fixed table has changed to allow multiple DataEngine mà ª me on the basis ...
* The default is blank ©
* @ Staticvar SQL_PREFIX_''
* /
define ('',''); SQL_PREFIX_
/ **
* What language pack to use?
* /
define ('LNG_CODE', 'en');
}
/ **
* @ Return string Link to the forum
* /
GetForumLink static function () {
return'';
}
/ **
* Grade is © by default
* 'Id' displays on the page © "Membre.php" the right
* @ Return integer rank id
* /
GetDefaultGrade static function () {
return 3;
}
/ **
* Enables the possibility © the member of the empire created their account © st mà ª me.
* @ Return boolean
* /
CanRegister static function () {
return false;
}
/ **
* DÃ © end here <b> exact name </ b> of your empire
* @ Return string (100) Name of the empire
* /
GetMyEmpire static function () {
return'';
}
/ **
* Max time before giving up search for better identification ©
* @ Since 1.4.1
* @ Return integer default: 0 (ie. Time Max © Authorized by the server 20/30sec ~.)
* /
Parcours_Max_Time static public function () {
return 0;
}
/ **
* Calculation "Nearest Neighbor" da © Max ends the search radius around the starting point by © / © arrival
* Do not get too high. Ã ‡ a more Integral would reserve © ª ts, and would add more than anything else
* @ Since 1.4.1
* @ Return integer default: 5, Max © Advised: 8 min © Advised: 3
* /
Parcours_Nearest static public function () {
return 5;
}
/ **
*
* @ Example
* [Code]
* Return''; / / to any server without restriction
* Return 'australis.fr' / / to australis
* Return 'borealis.fr' / / to borealis
* Return 'beta.de' / / for testing. Of
* Return 'eu2.com' / / for eu2 English
* [/ Code]
* /
eude_srv static public function () {
return'';
}
/ **
* Connection to the database © e.
* @ Return MySQLi_Driver
* /
static function DB_Connect() {
if (self::$connexion) return self::$connexion;
self::$connexion = mysql_connect(self::$BaseMysql,self::$BaseUser,sel f::$BasePass)
or die(mysql_error());
mysql_select_db(self::$BaseName) or die(mysql_error());
return self::$connexion;
}
}
can you tell me where I made a mistake because when I want to go on that site I receive the following message
WARNING [2] mysql_connect () [function.mysql-connect]: Host '10 .50.0.43 'is Not Allowed to connect to this MySQL server (File Script / Entete.php: 135)
Host .50.0.43 '10 'is not Allowed to connect to this MySQL server
thank you in advance