Hi everyone: D,
I recently purchased a very smart and ‘expensive’ template from [REMOVED --pbmods].
You have to install it on your site etc putting in your mysql details, e-mail address, license key etc. So far everything went to plan. Installed perfect. But now it’s running I am getting a list of these messages on my site (
www.illuminati-gaming.co.uk):
Brace yourself: Quote:
Notice: Use of undefined constant host - assumed 'host' in /home/fhlinux165/i/illuminati-gaming.co.uk/user/htdocs/db.inc.php on line 7
Notice: Use of undefined constant user - assumed 'user' in /home/fhlinux165/i/illuminati-gaming.co.uk/user/htdocs/db.inc.php on line 8
Notice: Use of undefined constant pass - assumed 'pass' in /home/fhlinux165/i/illuminati-gaming.co.uk/user/htdocs/db.inc.php on line 9
Notice: Use of undefined constant db - assumed 'db' in /home/fhlinux165/i/illuminati-gaming.co.uk/user/htdocs/db.inc.php on line 10
Notice: Use of undefined constant host - assumed 'host' in /home/fhlinux165/i/illuminati-gaming.co.uk/user/htdocs/db.inc.php on line 7
Notice: Use of undefined constant user - assumed 'user' in /home/fhlinux165/i/illuminati-gaming.co.uk/user/htdocs/db.inc.php on line 8
Notice: Use of undefined constant pass - assumed 'pass' in /home/fhlinux165/i/illuminati-gaming.co.uk/user/htdocs/db.inc.php on line 9
Notice: Use of undefined constant db - assumed 'db' in /home/fhlinux165/i/illuminati-gaming.co.uk/user/htdocs/db.inc.php on line 10
Notice: Use of undefined constant login - assumed 'login' in /home/fhlinux165/i/illuminati-gaming.co.uk/user/htdocs/adminsm/config.inc.php on line 0
Notice: Use of undefined constant index - assumed 'index' in /home/fhlinux165/i/illuminati-gaming.co.uk/user/htdocs/adminsm/config.inc.php on line 0
Notice: Use of undefined constant news - assumed 'news' in /home/fhlinux165/i/illuminati-gaming.co.uk/user/htdocs/adminsm/config.inc.php on line 0
Notice: Use of undefined constant roster - assumed 'roster' in /home/fhlinux165/i/illuminati-gaming.co.uk/user/htdocs/adminsm/config.inc.php on line 0
Notice: Use of undefined constant links - assumed 'links' in /home/fhlinux165/i/illuminati-gaming.co.uk/user/htdocs/adminsm/config.inc.php on line 0
Notice: Use of undefined constant leagues - assumed 'leagues' in /home/fhlinux165/i/illuminati-gaming.co.uk/user/htdocs/adminsm/config.inc.php on line 0
Notice: Use of undefined constant matches - assumed 'matches' in /home/fhlinux165/i/illuminati-gaming.co.uk/user/htdocs/adminsm/config.inc.php on line 0
Notice: Use of undefined constant faq - assumed 'faq' in /home/fhlinux165/i/illuminati-gaming.co.uk/user/htdocs/adminsm/config.inc.php on line 0
Notice: Use of undefined constant sponsors - assumed 'sponsors' in /home/fhlinux165/i/illuminati-gaming.co.uk/user/htdocs/adminsm/config.inc.php on line 0
Notice: Use of undefined constant downloads - assumed 'downloads' in /home/fhlinux165/i/illuminati-gaming.co.uk/user/htdocs/adminsm/config.inc.php on line 0
Notice: Use of undefined constant settings - assumed 'settings' in /home/fhlinux165/i/illuminati-gaming.co.uk/user/htdocs/adminsm/config.inc.php on line 0
Notice: Use of undefined constant changepass - assumed 'changepass' in /home/fhlinux165/i/illuminati-gaming.co.uk/user/htdocs/adminsm/config.inc.php on line 0
Notice: Use of undefined constant admins - assumed 'admins' in /home/fhlinux165/i/illuminati-gaming.co.uk/user/htdocs/adminsm/config.inc.php on line 0
Notice: Use of undefined constant config - assumed 'config' in /home/fhlinux165/i/illuminati-gaming.co.uk/user/htdocs/adminsm/config.inc.php on line 0
Notice: Undefined index: uniqueid in /home/fhlinux165/i/illuminati-gaming.co.uk/user/htdocs/adminsm/req/func.inc.php on line 0
Warning: Cannot modify header information - headers already sent by (output started at /home/fhlinux165/i/illuminati-gaming.co.uk/user/htdocs/adminsm/req/func.inc.php:0) in /home/fhlinux165/i/illuminati-gaming.co.uk/user/htdocs/adminsm/req/func.inc.php on line 0
This is a major pain in the back side as its plastered everywhere. Could someone please aid me and point me in the way of fixing this problem. Helping me get my template running the way it should be: D
PHP info can be found on my site under this link:
www.illuminati-gaming.co.uk/phpinfo.php
Hosting company: [REMOVED-ajaxrand]
Copy of php code taken from db.inc.php (I have masked passwords etc with ****)
[PHP]<?php
// Setup Database Connection Variables.
// Make Sure Database Exists.
// And User Information is Correct.
$dbinfo = array();
$dbinfo[host] = "mysql11.streamline.net";
$dbinfo[user] = "********";
$dbinfo[pass] = "********";
$dbinfo[db] = "********";
if ($dbinfo) {
$connection = @mysql_connect ($dbinfo[host], $dbinfo[user], $dbinfo[pass]);
if ($connection) {
@mysql_select_db ($dbinfo[db]);
} else {
echo "Unable to connect to database";
exit;
}
} else {
echo "You need to setup your mysql information";
}
$license="*************";
?>[/PHP]
Copy of adminsm/config.inc.php
[PHP]<?php //00393
// Copyright Surreal-Media - www.Surreal-Media.com -
if(!extension_loaded('ionCube Loader'))
{
$__oc=strtolower(substr(php_uname(),0,3));
$__ln='/ioncube/ioncube_loader_'.
$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win') ?'.dll':'.so');
$__oid=$__id=realpath(ini_get('extension_dir'));
$__here=dirname(__FILE__);
if(strlen($__id)>1&&$__id[1]==':')
{
$__id=str_replace('\\','/',substr($__id,2));
$__here=str_replace('\\','/',substr($__here,2));
}
$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);
while($__i--)
{
if($__rd[$__i]=='/')
{
$__lp=substr($__rd,0,$__i).$__ln;
if(file_exists($__oid.$__lp))
{
$__ln=$__lp;
break;
}
}
}
@dl($__ln);
}
else{
die('The file '.__FILE__." is corrupted.\n");
}
if(function_exists('_il_exec'))
{
return _il_exec();
}
echo('Site error: the file <b>'.__FILE__.'</b> requires the ionCube PHP Loader '.basename($__ln).' to be installed by the site administrator.');exit(199);
?>
4+oV5CZ1k0sAAG4YHtGjBW5GTGO2+uPXoo7HNk5Qny5/6J3SggNXbPPPRE5qy9W60OhUjzcTEh9D
nq8Dps3yDvAHyJsByyCJ41hbHwfT5isHR2T/NkrJ5+C430MZXmljIF7M6liIvLLH1mwMFsUXEBbc
xowk3YEDab5P/ODrgskHm8sh5IOgvPS5a6fnXpbuvSgqy2LYvKnUtYOcKP4DKHB oy6N+2SHJJBg0
qXuu7t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9U48x
qasGaLWJsM1V3M/6IfQ5Lsuutq58ys3qZrzsDCaQIhMwnotraZFUiBMV+lzvggLyX J/MLCKJBFtP
AqzllOcFzvkSCnkSGWUnsAIDUH9AoZ5+AV6bgQ7ayGvV92f8BZ ysyKdwAuDKqa2tEs92tipae+1Y
K7Z4IYIDUJHTM2DJ/n2Sy0Mz8/jV01ZhFnK9cNRdDJrepMJKTgdaysRnO8Fe8289xUzXdQrk0n5e
m57UjVV8SLqG7NwnSENwAQgVJYv2CW8LWM6SG8ucTn8HbuMdom InI+0vYljGISMajX3yTszScmxC
J+fZ8ztFcMLoTLJERBnujlnkwUg08UKv6o3t/oRgwUgFIdOfGrZMxwPhafz59OCoGzR5YZFH2N6I
M0IBrfSxNqcOkIsZFOYfeDMlSVdJdoDfEFD7XMz6qy7YwXBeLs w7ekrN4yzW//CzTUnnaN/OwRUx
wW8Yd47o/gz7JqcSdY6Mi98FRi+oGqseY5YiftrR5I3eaFXtK99okkMDepf WcuuvH5+3bpR4nCpk
e891NOe9N7cVc27gUB8THwW/qggag6Br+Ce5ZVZbPBAXtdhHrmreUccZrUrKrL9D8HLweHVopq Qt
26ABknvWw3a=[/PHP]
If you require any more information to help find the problem I am willing to do so, please either e-mail me or reply on here.
Many thanks for taking your time out to read this topic and post, I look forward to hearing from you.